Hi Howard,
I am not original poster, but according to his email it was (Tapestry 5.2.6),
so Form.java:406 could be this line:
resources.triggerEvent(EventConstants.PREPARE_FOR_RENDER, context, null);


Cezary

On Wed, 26 Jun 2013 08:43:54 -0700 Howard Lewis Ship <hls...@gmail.com> wrote:
What version of Tapestry?  Necessary to figure out what line Form.java:406
actually is.


On Mon, Jun 24, 2013 at 11:42 PM, Christian Köberl <
tapestry.christian.koeb...@gmail.com> wrote:

We have a quite strange behavior on IBM Websphere 8 / IBM Java 6 - we
get a NullPointerException in Form.java:406 (Tapestry 5.2.6).
Here's the corresponding line from Form.java:406:
resources.triggerEvent(EventConstants.PREPARE_FOR_RENDER, context, null);

The NPE first is raised after some parallel users are working with the
application - before that everything works fine. After the first
occurrence, the NPE is raised on *any* Form render on *any* page for
*all* users. We have to restart the application to get it working
again. We can reproduce the error with some load but the first NPE
happens on different pages - so that's no clue.

Happily we found this during our tests on WAS8 (not in production) -
we were migrating from WAS6 (the same version of the application runs
fine on WAS6).

Has anybody an idea what's happening here?

Thx,
Chris

Hers is the full stack trace for one page (looks the same for all pages):

org.apache.tapestry5.internal.services.RenderQueueException: Render
queue error in BeginRender[organization/user/List:form]:
org.apache.tapestry5.ioc.internal.util.TapestryException [at
[...]
org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72)
         ... 118 more
Caused by:
java.lang.NullPointerException
         at
org.apache.tapestry5.corelib.components.Form.beginRender(Form.java:406)
         at
org.apache.tapestry5.corelib.components.Form$MethodAccess_beginRender_13f76df5156.invoke(Form$MethodAccess_beginRender_13f76df5156.java)
         at
org.apache.tapestry5.internal.transform.RenderPhaseMethodWorker$Invoker.invoke(RenderPhaseMethodWorker.java:117)
         at
org.apache.tapestry5.internal.transform.RenderPhaseMethodWorker$RenderPhaseMethodAdvice.advise(RenderPhaseMethodWorker.java:86)
         at
org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
         at
org.apache.tapestry5.corelib.components.Form.beginRender(Form.java)
         at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$BeginRenderPhase.invokeComponent(ComponentPageElementImpl.java:239)
         at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:186)
         ... 120 more

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to