org.apache.catalina.util.ParameterMap.put exception

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

org.apache.catalina.util.ParameterMap.put exception

cristi-2
Hello all

I receive the following exception in a non deterministic manner.
The reader should understand that the exception is not thrown due to my
direct action on a ParameterMap instance.
Is there any possibility of knowing what to do in this case ?

----- BEGIN EXCEPTION -----

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

java.lang.IllegalStateException: Cannot find message associated with key
'parameterMap.locked'
        at org.apache.catalina.util.ParameterMap.put(ParameterMap.java:212)
        at
org.apache.coyote.tomcat4.CoyoteRequest.getParameterMap(CoyoteRequest.java:937)
        at
org.apache.coyote.tomcat4.CoyoteRequestFacade.getParameterMap(CoyoteRequestFacade.java:193)
        at
org.apache.catalina.core.ApplicationHttpRequest.setRequest(ApplicationHttpRequest.java:525)
        at
org.apache.catalina.core.ApplicationHttpRequest.(ApplicationHttpRequest.java:125)
        at
org.apache.catalina.core.ApplicationDispatcher.wrapRequest(ApplicationDispatcher.java:921)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:414)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
        at mypackage.Hello.showResult(Hello.java:167)
        at mypackage.Hello.doGet(Hello.java:194)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

.....
.....
.....

----- END EXCEPTION -----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: org.apache.catalina.util.ParameterMap.put exception

Foo Shyn

----- Original Message -----
From: "cristi" <[hidden email]>
To: "Tomcat Users List" <[hidden email]>
Sent: Thursday, July 14, 2005 5:01 PM
Subject: org.apache.catalina.util.ParameterMap.put exception


> Hello all
>
> I receive the following exception in a non deterministic manner.
> The reader should understand that the exception is not thrown due to my
> direct action on a ParameterMap instance.
> Is there any possibility of knowing what to do in this case ?
>
> ----- BEGIN EXCEPTION -----
>
> HTTP Status 500 -
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> java.lang.IllegalStateException: Cannot find message associated with key
> 'parameterMap.locked'
> at org.apache.catalina.util.ParameterMap.put(ParameterMap.java:212)
> at
>
org.apache.coyote.tomcat4.CoyoteRequest.getParameterMap(CoyoteRequest.java:9
37)
> at
>
org.apache.coyote.tomcat4.CoyoteRequestFacade.getParameterMap(CoyoteRequestF
acade.java:193)
> at
>
org.apache.catalina.core.ApplicationHttpRequest.setRequest(ApplicationHttpRe
quest.java:525)
> at
>
org.apache.catalina.core.ApplicationHttpRequest.(ApplicationHttpRequest.java
:125)
> at
>
org.apache.catalina.core.ApplicationDispatcher.wrapRequest(ApplicationDispat
cher.java:921)
> at
>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:414)
> at
>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
> at mypackage.Hello.showResult(Hello.java:167)
> at mypackage.Hello.doGet(Hello.java:194)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)

>
> .....
> .....
> .....
>
> ----- END EXCEPTION -----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


Are u trying to redirect the user to another page from Hello?? Probably u
can try using response.sendRedirect instead to redirect the user?

Hope this help.

F.S.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: org.apache.catalina.util.ParameterMap.put exception

cristi-2
>
>
> Are u trying to redirect the user to another page from Hello?? Probably u
> can try using response.sendRedirect instead to redirect the user?
>

Yes. Hello is a servlet. The last action in my servlet is to call
RequestDispatcher.forward() to a jsp which is creating the HTML page.

Do you have any reason to belive that response.sendRedirect should
work ? I do not modify the reponse object before calling
RequestDispatcher.forward().

Thx
Cristi

> Hope this help.
>
> F.S.
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]