tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Wyraz (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-691) Unclear exceptions for classes within wrong packages
Date Mon, 11 May 2009 12:57:45 GMT
Unclear exceptions for classes within wrong packages
----------------------------------------------------

                 Key: TAP5-691
                 URL: https://issues.apache.org/jira/browse/TAP5-691
             Project: Tapestry 5
          Issue Type: Bug
    Affects Versions: 5.1.0.5
            Reporter: Michael Wyraz


Hi,

since I'm new to tapestry I started with creating a completely new project (without maven)
based on the information provied within the samples. So i created a Page that edits an address.
The address was created within th esame apckes ("pages"). In the result, tapestry tried to
create the address object as service. The problem is that the generated exception is very
wired so that the cause was almost impossible to locate. Example:

13:42:02,541 ERROR Registry:75 - No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
13:42:02,545 ERROR Registry:76 - Operations trace:
13:42:02,546 ERROR Registry:85 - [ 1] Autobuilding instance of class test.pages.AddressDTO
13:42:02,547 ERROR Registry:85 - [ 2] Determining injection value for parameter #1 (org.apache.tapestry5.internal.InternalComponentResources)
13:42:02,548 ERROR Registry:85 - [ 3] Resolving object of type org.apache.tapestry5.internal.InternalComponentResources
using MasterObjectProvider
13:42:02,554 ERROR TestPage1:84 - Render queue error in SetupRender[TestPage1:beaneditform.editor]:
Exception instantiating instance of test.pages.AddressDTO (for component 'TestPage1:beaneditform.editor'):
Error invoking constructor test.pages.AddressDTO(InternalComponentResources) (for service
'BeanModelSource'): No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
org.apache.tapestry5.ioc.internal.util.TapestryException: Exception instantiating instance
of test.pages.AddressDTO (for component 'TestPage1:beaneditform.editor'): Error invoking constructor
test.pages.AddressDTO(InternalComponentResources) (for service 'BeanModelSource'): No service
implements the interface org.apache.tapestry5.internal.InternalComponentResources. [at classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml,
line 7]
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:948)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$400(ComponentPageElementImpl.java:49)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.callback(ComponentPageElementImpl.java:159)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.render(ComponentPageElementImpl.java:189)
	at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:74)
	at org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:121)
	at $PageRenderQueue_1212f7ab15b.render($PageRenderQueue_1212f7ab15b.java)
	at $PageRenderQueue_1212f7ab153.render($PageRenderQueue_1212f7ab153.java)
	at org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37)
	at org.apache.tapestry5.services.TapestryModule$27.renderMarkup(TapestryModule.java:1748)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$26.renderMarkup(TapestryModule.java:1732)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$25.renderMarkup(TapestryModule.java:1714)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$24.renderMarkup(TapestryModule.java:1700)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$23.renderMarkup(TapestryModule.java:1681)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$22.renderMarkup(TapestryModule.java:1662)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at $MarkupRenderer_1212f7ab15a.renderMarkup($MarkupRenderer_1212f7ab15a.java)
	at org.apache.tapestry5.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:64)
	at $PageMarkupRenderer_1212f7ab158.renderPageMarkup($PageMarkupRenderer_1212f7ab158.java)
	at org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:61)
	at $PageResponseRenderer_1212f7ab103.renderPageResponse($PageResponseRenderer_1212f7ab103.java)
	at org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:63)
	at org.apache.tapestry5.services.TapestryModule$33.handle(TapestryModule.java:1943)
	at $PageRenderRequestHandler_1212f7ab104.handle($PageRenderRequestHandler_1212f7ab104.java)
	at $PageRenderRequestHandler_1212f7ab0ef.handle($PageRenderRequestHandler_1212f7ab0ef.java)
	at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48)
	at $ComponentRequestHandler_1212f7ab0f4.handlePageRender($ComponentRequestHandler_1212f7ab0f4.java)
	at org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:45)
	at $Dispatcher_1212f7ab0f6.dispatch($Dispatcher_1212f7ab0f6.java)
	at $Dispatcher_1212f7ab0ed.dispatch($Dispatcher_1212f7ab0ed.java)
	at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:245)
	at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:778)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:767)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81)
	at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at $RequestHandler_1212f7ab0e4.service($RequestHandler_1212f7ab0e4.java)
	at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:197)
	at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
	at $HttpServletRequestHandler_1212f7ab0e6.service($HttpServletRequestHandler_1212f7ab0e6.java)
	at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
	at $HttpServletRequestFilter_1212f7ab0e3.service($HttpServletRequestFilter_1212f7ab0e3.java)
	at $HttpServletRequestHandler_1212f7ab0e6.service($HttpServletRequestHandler_1212f7ab0e6.java)
	at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:726)
	at $HttpServletRequestHandler_1212f7ab0e6.service($HttpServletRequestHandler_1212f7ab0e6.java)
	at $HttpServletRequestHandler_1212f7ab0e1.service($HttpServletRequestHandler_1212f7ab0e1.java)
	at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Exception instantiating
instance of test.pages.AddressDTO (for component 'TestPage1:beaneditform.editor'): Error invoking
constructor test.pages.AddressDTO(InternalComponentResources) (for service 'BeanModelSource'):
No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
[at classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml, line 7]
	at org.apache.tapestry5.corelib.components.BeanEditor.doPrepare(BeanEditor.java:203)
	at org.apache.tapestry5.corelib.components.BeanEditor$Prepare.execute(BeanEditor.java:51)
	at org.apache.tapestry5.corelib.components.BeanEditor$Prepare.execute(BeanEditor.java:45)
	at org.apache.tapestry5.corelib.internal.FormSupportImpl.storeAndExecute(FormSupportImpl.java:103)
	at org.apache.tapestry5.corelib.components.BeanEditor.setupRender(BeanEditor.java:166)
	at org.apache.tapestry5.corelib.components.BeanEditor.setupRender(BeanEditor.java)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.invokeComponent(ComponentPageElementImpl.java:184)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.run(ComponentPageElementImpl.java:164)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:933)
	... 71 more
Caused by: java.lang.RuntimeException: Error invoking constructor test.pages.AddressDTO(InternalComponentResources)
(for service 'BeanModelSource'): No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
	at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76)
	at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$4.invoke(ServiceResourcesImpl.java:161)
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)
	at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
	at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
	at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.autobuild(ServiceResourcesImpl.java:145)
	at org.apache.tapestry5.internal.beaneditor.BeanModelImpl.newInstance(BeanModelImpl.java:72)
	at org.apache.tapestry5.corelib.components.BeanEditor.doPrepare(BeanEditor.java:196)
	... 79 more
Caused by: org.apache.tapestry5.ioc.internal.OperationException: No service implements the
interface org.apache.tapestry5.internal.InternalComponentResources.
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
	at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
	at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
	at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:41)
	at $MasterObjectProvider_1212f7ab0bd.provide($MasterObjectProvider_1212f7ab0bd.java)
	at org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:696)
	at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:49)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateInjection(InternalUtils.java:209)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.access$000(InternalUtils.java:43)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils$2.invoke(InternalUtils.java:256)
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)
	at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
	at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:260)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersForConstructor(InternalUtils.java:227)
	at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:56)
	... 86 more
Caused by: java.lang.RuntimeException: No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
	at org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.java:560)
	at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocatorImpl.java:44)
	at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invoke(MasterObjectProviderImpl.java:56)
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)
	... 101 more
13:42:02,563 ERROR RequestExceptionHandler:62 - Processing of request failed with uncaught
exception: Render queue error in SetupRender[TestPage1:beaneditform.editor]: Exception instantiating
instance of test.pages.AddressDTO (for component 'TestPage1:beaneditform.editor'): Error invoking
constructor test.pages.AddressDTO(InternalComponentResources) (for service 'BeanModelSource'):
No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
org.apache.tapestry5.internal.services.RenderQueueException: Render queue error in SetupRender[TestPage1:beaneditform.editor]:
Exception instantiating instance of test.pages.AddressDTO (for component 'TestPage1:beaneditform.editor'):
Error invoking constructor test.pages.AddressDTO(InternalComponentResources) (for service
'BeanModelSource'): No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
[at classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml, line 7]
	at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:86)
	at org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:121)
	at $PageRenderQueue_1212f7ab15b.render($PageRenderQueue_1212f7ab15b.java)
	at $PageRenderQueue_1212f7ab153.render($PageRenderQueue_1212f7ab153.java)
	at org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37)
	at org.apache.tapestry5.services.TapestryModule$27.renderMarkup(TapestryModule.java:1748)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$26.renderMarkup(TapestryModule.java:1732)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$25.renderMarkup(TapestryModule.java:1714)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$24.renderMarkup(TapestryModule.java:1700)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$23.renderMarkup(TapestryModule.java:1681)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at org.apache.tapestry5.services.TapestryModule$22.renderMarkup(TapestryModule.java:1662)
	at $MarkupRenderer_1212f7ab15d.renderMarkup($MarkupRenderer_1212f7ab15d.java)
	at $MarkupRenderer_1212f7ab15a.renderMarkup($MarkupRenderer_1212f7ab15a.java)
	at org.apache.tapestry5.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:64)
	at $PageMarkupRenderer_1212f7ab158.renderPageMarkup($PageMarkupRenderer_1212f7ab158.java)
	at org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:61)
	at $PageResponseRenderer_1212f7ab103.renderPageResponse($PageResponseRenderer_1212f7ab103.java)
	at org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:63)
	at org.apache.tapestry5.services.TapestryModule$33.handle(TapestryModule.java:1943)
	at $PageRenderRequestHandler_1212f7ab104.handle($PageRenderRequestHandler_1212f7ab104.java)
	at $PageRenderRequestHandler_1212f7ab0ef.handle($PageRenderRequestHandler_1212f7ab0ef.java)
	at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48)
	at $ComponentRequestHandler_1212f7ab0f4.handlePageRender($ComponentRequestHandler_1212f7ab0f4.java)
	at org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:45)
	at $Dispatcher_1212f7ab0f6.dispatch($Dispatcher_1212f7ab0f6.java)
	at $Dispatcher_1212f7ab0ed.dispatch($Dispatcher_1212f7ab0ed.java)
	at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:245)
	at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:778)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:767)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81)
	at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
	at $RequestHandler_1212f7ab0ee.service($RequestHandler_1212f7ab0ee.java)
	at $RequestHandler_1212f7ab0e4.service($RequestHandler_1212f7ab0e4.java)
	at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:197)
	at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
	at $HttpServletRequestHandler_1212f7ab0e6.service($HttpServletRequestHandler_1212f7ab0e6.java)
	at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
	at $HttpServletRequestFilter_1212f7ab0e3.service($HttpServletRequestFilter_1212f7ab0e3.java)
	at $HttpServletRequestHandler_1212f7ab0e6.service($HttpServletRequestHandler_1212f7ab0e6.java)
	at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:726)
	at $HttpServletRequestHandler_1212f7ab0e6.service($HttpServletRequestHandler_1212f7ab0e6.java)
	at $HttpServletRequestHandler_1212f7ab0e1.service($HttpServletRequestHandler_1212f7ab0e1.java)
	at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Exception instantiating
instance of test.pages.AddressDTO (for component 'TestPage1:beaneditform.editor'): Error invoking
constructor test.pages.AddressDTO(InternalComponentResources) (for service 'BeanModelSource'):
No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
[at classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml, line 7]
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:948)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$400(ComponentPageElementImpl.java:49)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.callback(ComponentPageElementImpl.java:159)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.render(ComponentPageElementImpl.java:189)
	at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:74)
	... 67 more
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Exception instantiating
instance of test.pages.AddressDTO (for component 'TestPage1:beaneditform.editor'): Error invoking
constructor test.pages.AddressDTO(InternalComponentResources) (for service 'BeanModelSource'):
No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
[at classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml, line 7]
	at org.apache.tapestry5.corelib.components.BeanEditor.doPrepare(BeanEditor.java:203)
	at org.apache.tapestry5.corelib.components.BeanEditor$Prepare.execute(BeanEditor.java:51)
	at org.apache.tapestry5.corelib.components.BeanEditor$Prepare.execute(BeanEditor.java:45)
	at org.apache.tapestry5.corelib.internal.FormSupportImpl.storeAndExecute(FormSupportImpl.java:103)
	at org.apache.tapestry5.corelib.components.BeanEditor.setupRender(BeanEditor.java:166)
	at org.apache.tapestry5.corelib.components.BeanEditor.setupRender(BeanEditor.java)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.invokeComponent(ComponentPageElementImpl.java:184)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.run(ComponentPageElementImpl.java:164)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:933)
	... 71 more
Caused by: java.lang.RuntimeException: Error invoking constructor test.pages.AddressDTO(InternalComponentResources)
(for service 'BeanModelSource'): No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
	at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76)
	at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$4.invoke(ServiceResourcesImpl.java:161)
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)
	at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
	at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
	at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.autobuild(ServiceResourcesImpl.java:145)
	at org.apache.tapestry5.internal.beaneditor.BeanModelImpl.newInstance(BeanModelImpl.java:72)
	at org.apache.tapestry5.corelib.components.BeanEditor.doPrepare(BeanEditor.java:196)
	... 79 more
Caused by: org.apache.tapestry5.ioc.internal.OperationException: No service implements the
interface org.apache.tapestry5.internal.InternalComponentResources.
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
	at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
	at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
	at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:41)
	at $MasterObjectProvider_1212f7ab0bd.provide($MasterObjectProvider_1212f7ab0bd.java)
	at org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:696)
	at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:49)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateInjection(InternalUtils.java:209)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.access$000(InternalUtils.java:43)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils$2.invoke(InternalUtils.java:256)
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)
	at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
	at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:260)
	at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersForConstructor(InternalUtils.java:227)
	at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:56)
	... 86 more
Caused by: java.lang.RuntimeException: No service implements the interface org.apache.tapestry5.internal.InternalComponentResources.
	at org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.java:560)
	at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocatorImpl.java:44)
	at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invoke(MasterObjectProviderImpl.java:56)
	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)
	... 101 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message