users@glassfish.java.net

NullPointerException in EntityManagerWrapper

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Jun 2010 10:27:26 PDT

With GlassFish 3, we sometimes get a [i]NullPointerException[/i] at
  [i]com.sun.enterprise.container.common.impl.EntityManagerWrapper.createNamedQuery(EntityManagerWrapper.java:539)[/i]
or [i]com.sun.enterprise.container.common.impl.EntityManagerWrapper.find(EntityManagerWrapper.java:314).[/i]

Looking at the source of the [i]EntityManagerWrapper[/i] class, we find in both cases access to [i]callFlowAgent.isEnabled()[/i] in the method's [i]finally[/i]-block.

Does anyone have a hint what can be the reason for this?
[Message sent by forum member 'jens0310']

http://forums.java.net/jive/thread.jspa?messageID=475562