tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Henry (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-2316) Issue with Tomcat 6.0.16 (I think?)
Date Sun, 30 Mar 2008 17:11:24 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583462#action_12583462
] 

Julien Henry commented on TAPESTRY-2316:
----------------------------------------

Hi,

I also have this error (java.lang.IllegalStateException: Can't overwrite cause) but not only
with Tomcat. I also have it with Jetty. 

I'm under Windows (XP) and I think it could be related to template reloading. Perhaps a problem
with file locks under Windows?

Regards

> Issue with Tomcat 6.0.16 (I think?)
> -----------------------------------
>
>                 Key: TAPESTRY-2316
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2316
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.11
>         Environment: Tomcat 6.0.16, Java 1.6.0_03, windows vista 64bit.
>            Reporter: Ernest Monklitch
>             Fix For: 5.0.12
>
>
> I have no idea what might be causing this, but I have developed a new page that obviously
does something very wrong. Thats my fault, but T5 just dies like the stack trace below shows.
No real exception is reported etc. and the error 500 is displayed.
> This code snippet throws the exception. (TapestryModule:535) Thus even if the if clause
evaluates as true, the next line generates the exception, atleast in tomcat version I use.
> if (ex.getCause() == null)
>                         ex.initCause(requestGlobals.getClassLoaderException());
> Perhaps the solution would be to wrap this code with an another trycatch block. However
if this fails I have no Idea what can be done in that last catch. Nicer exception page could
be shown atleast.
> 30.3.2008 19:18:13 org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet default threw exception
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.tapestry.services.TapestryModule$2.service(TapestryModule.java:535)
> 	at $RequestHandler_11900797768.service($RequestHandler_11900797768.java)
> 	at org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
> 	at $RequestHandler_11900797768.service($RequestHandler_11900797768.java)
> 	at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
> 	at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:84)
> 	at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
> 	at org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
> 	at $RequestHandler_11900797768.service($RequestHandler_11900797768.java)
> 	at $RequestHandler_1190079775e.service($RequestHandler_1190079775e.java)
> 	at org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:924)
> 	at org.apache.tapestry.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:43)
> 	at $HttpServletRequestHandler_1190079775f.service($HttpServletRequestHandler_1190079775f.java)
> 	at org.apache.tapestry.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
> 	at $HttpServletRequestFilter_1190079775d.service($HttpServletRequestFilter_1190079775d.java)
> 	at $HttpServletRequestHandler_1190079775f.service($HttpServletRequestHandler_1190079775f.java)
> 	at $HttpServletRequestHandler_1190079775b.service($HttpServletRequestHandler_1190079775b.java)
> 	at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:168)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
> 	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
> 	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
> 	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
> 	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
> 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
> 	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)

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message