Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
4.0
-
None
-
None
-
tap4b7
Description
Hi,
When I use parameters defined by annotations, and right after application startup I open several browser windows at the same time, the error message below may raise.
It seems to be some synchronization problem...
BR,
Norbi
location: Annotation @org.apache.tapestry.annotations.Parameter(cache=true, defaultValue=, required=true, name=, aliases=) of public abstract java.lang.Object com.mypackage.TestComponent.getResultPage()
Stack Trace:
org.apache.tapestry.spec.ComponentSpecification.addParameterByName(ComponentSpecification.java:245)
org.apache.tapestry.spec.ComponentSpecification.addParameter(ComponentSpecification.java:227)
org.apache.tapestry.annotations.ParameterAnnotationWorker.performEnhancement(ParameterAnnotationWorker.java:68)
org.apache.tapestry.annotations.AnnotationEnhancementWorker.performMethodEnhancement(AnnotationEnhancementWorker.java:125)
org.apache.tapestry.annotations.AnnotationEnhancementWorker.performMethodEnhancement(AnnotationEnhancementWorker.java:108)
org.apache.tapestry.annotations.AnnotationEnhancementWorker.performEnhancement(AnnotationEnhancementWorker.java:68)
$EnhancementWorker_106b5fe1720.performEnhancement($EnhancementWorker_106b5fe1720.java)
$EnhancementWorker_106b5fe1722.performEnhancement($EnhancementWorker_106b5fe1722.java)
$EnhancementWorker_106b5fe1702.performEnhancement($EnhancementWorker_106b5fe1702.java)
org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:79)
$ComponentConstructorFactory_106b5fe16ed.getComponentConstructor($ComponentConstructorFactory_106b5fe16ed.java)
org.apache.tapestry.pageload.PageLoader.instantiateComponent(PageLoader.java:562)
org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:432)
org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:452)
org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:452)
org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:639)
$IPageLoader_106b5fe16de.loadPage($IPageLoader_106b5fe16de.java)
$IPageLoader_106b5fe16df.loadPage($IPageLoader_106b5fe16df.java)
org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:118)
$IPageSource_106b5fe1647.getPage($IPageSource_106b5fe1647.java)
org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:265)
org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:248)
org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:609)
org.apache.tapestry.engine.HomeService.service(HomeService.java:63)
$IEngineService_106b5fe16c8.service($IEngineService_106b5fe16c8.java)
org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:65)
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:248)
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)
$WebRequestServicer_106b5fe16b0.service($WebRequestServicer_106b5fe16b0.java)
$WebRequestServicer_106b5fe16ac.service($WebRequestServicer_106b5fe16ac.java)
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:56)
$ServletRequestServicer_106b5fe1696.service($ServletRequestServicer_106b5fe1696.java)
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
$ServletRequestServicerFilter_106b5fe1692.service($ServletRequestServicerFilter_106b5fe1692.java)
$ServletRequestServicer_106b5fe1698.service($ServletRequestServicer_106b5fe1698.java)
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
$ServletRequestServicerFilter_106b5fe1690.service($ServletRequestServicerFilter_106b5fe1690.java)
$ServletRequestServicer_106b5fe1698.service($ServletRequestServicer_106b5fe1698.java)
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
$ServletRequestServicerFilter_106b5fe1694.service($ServletRequestServicerFilter_106b5fe1694.java)
$ServletRequestServicer_106b5fe1698.service($ServletRequestServicer_106b5fe1698.java)
$ServletRequestServicer_106b5fe167b.service($ServletRequestServicer_106b5fe167b.java)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:141)
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
com.mypackage.Servlet.service(WsbServlet.java:82)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Unknown Source)
Attachments
Issue Links
- duplicates
-
TAPESTRY-696 Race condition during page loading can cause anomoylous exceptions related to annotations
- Closed