[
https://issues.apache.org/jira/browse/TAP5-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649870#action_12649870
]
Howard M. Lewis Ship commented on TAP5-376:
-------------------------------------------
Nope. The Registry is the "reality" in which the Tapestry application works.
If the "reality" is broken, all bets are off. It is expected that any service
that can be injected is resolvable and usable.
What would you do? Put some kind of try { } block around every service method
invocation? How do you recover from these things? Its not possible, it's a
program not a programmer.
> org.apache.tapestry5.internal.services.RenderQueueException
> -----------------------------------------------------------
>
> Key: TAP5-376
> URL: https://issues.apache.org/jira/browse/TAP5-376
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-ioc
> Affects Versions: 5.0.15, 5.0.16
> Reporter: Toby
> Assignee: Howard M. Lewis Ship
> Priority: Critical
>
> When going to /servicestatus this leads to:
> Render queue error in BeginRender[core/ServiceStatus:grid.pager]: Exception
> constructing service 'ValueEncoderSource': Error invoking service builder
> method
> org.apache.tapestry5.services.TapestryModule.buildValueEncoderSource(Map) (at
> TapestryModule.java:1619) (for service 'ValueEncoderSource'): Error invoking
> service contribution method
> org.apache.tapestry5.hibernate.HibernateModule.contributeValueEncoderSource(MappedConfiguration,
> HibernateSessionSource, Session, TypeCoercer, PropertyAccess, LoggerSource):
> Exception constructing service 'HibernateSessionSource': Error invoking
> service builder method
> org.apache.tapestry5.hibernate.HibernateModule.build(Logger, List,
> RegistryShutdownHub) (at HibernateModule.java:117) (for service
> 'HibernateSessionSource'): No identifier specified for entity:
> tm.framework.entities.EmailAddress
> activeComponents
> * core/ServiceStatus (class
> org.apache.tapestry5.corelib.pages.ServiceStatus)
> * core/ServiceStatus:grid (class
> org.apache.tapestry5.corelib.components.Grid)
> classpath:org/apache/tapestry5/corelib/pages/ServiceStatus.tml,
> line 30, column 45
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]