1 Reply Latest reply on Sep 14, 2007 11:18 AM by d-rock

    NPE in ManagedEntityManagerFactory.getNonTxEntityManager

      Hi,
      This bug

      http://jira.jboss.com/jira/browse/EJBTHREE-665

      Has been open for a while. I checked the source:

      http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/ejb3/src/main/org/jboss/ejb3/entity/ManagedEntityManagerFactory.java?r1=61136&r2=61993

      and it looks like William fixed this back in April. Any idea when we might see something released with the fix other than building from SVN?

      Thanks,

      Derek

        • 1. Re: NPE in ManagedEntityManagerFactory.getNonTxEntityManager

          Well, I hate to reply to my own post but you can work around this simply by enlisting a transaction. Of course, if you use more than one persistence unit (I do) you have to then change to XA data sources, but it's not completely dead in the water. It would be nice to get a new release of the current SVN code since it's all there.

          Thanks,

          Derek