Report about missing required parameter is broken
-------------------------------------------------

                 Key: TAPESTRY-2284
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2284
             Project: Tapestry
          Issue Type: Bug
          Components: Core Components
    Affects Versions: 5.0.12
            Reporter: Igor Drobiazko


If a required component parameter is missing you get the following exception 
instead of the error report:

HTTP ERROR: 500

Can't overwrite cause

RequestURI=/app/start
Caused by:

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_118c6880d0d.service($RequestHandler_118c6880d0d.java)
        at 
org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
        at $RequestHandler_118c6880d0d.service($RequestHandler_118c6880d0d.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_118c6880d0d.service($RequestHandler_118c6880d0d.java)
        at $RequestHandler_118c6880d04.service($RequestHandler_118c6880d04.java)
        at 
org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:924)
        at 
org.apache.tapestry.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at 
$HttpServletRequestFilter_118c6880d03.service($HttpServletRequestFilter_118c6880d03.java)
        at 
$HttpServletRequestHandler_118c6880d05.service($HttpServletRequestHandler_118c6880d05.java)
        at 
$HttpServletRequestHandler_118c6880d02.service($HttpServletRequestHandler_118c6880d02.java)
        at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:168)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)


-- 
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]

Reply via email to