cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Larson" <Tdlar...@ci.canton.oh.us>
Subject Re: [BUG] : java.util.EmptyStackException on EnvironmentStack
Date Fri, 31 Jan 2003 13:59:49 GMT
I have this problem as well.  Has anyone found an approved fix for this?
Once I get the EmptyStackException, Cocoon is dead in the water.
It has to be restarted to get it working again.

Tim

>>>> amir@cti2.com 12/31/02 07:56AM >>>
>Hi,
>
>I'm using cocoon 2.0.4, and after calling a request that causes 
>an exception, sometimes I get an EmptyStackException from the
>environment stack.
>
>I traced this behavior, and found out that, the environment
>stack is sometimes not initialized, when the request is 
>just starting to process, meaning, on the first call to
>CocoonComponentManager#enterEnvironment, environmentStack.get()
>returns an empty EnvironmentStack with offset = 1.
>
>I think resetting the thread's EnvironmentStack on entry
>(CocoonServlet#service) will solve this, but I'm not sure if
>that is the right solution. (I'm not fluent with the behavior
>of this part of the system)
>
>Please help me solve this.
>
>
>Thanks,
>
>Amir Rosen
>CTI Squared
>amir@cti2.com 
>+972-9-9605200 (258)



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message