On Sep 27, 2006, at 9:47 AM, David Hansen wrote: > We are getting some really odd behavior in production with Resin's > CMP.
> > Intermittently, resin begins throwing NPE's in its Amber code Thanks, I've added it as http://bugs.caucho.com/view.php?id=1380 > ( why > Resin is using Amber for 2.x beans is another question, but I'll save > that for another time ). Because one persistence engine is easier to maintain than two. The differences are relatively minor, with the exception of the syntax of the inputs. -- Scott > For example: > > [09:01:47.850] null > [09:01:47.850] java.lang.NullPointerException > [09:01:47.850] at com.caucho.amber.manager.AmberConnection.parseQuery > (AmberConnection.java:1286) > [09:01:47.850] at > com.caucho.amber.manager.AmberConnection.prepareQuery > (AmberConnection.java:1268) > [09:01:47.850] at > com.caucho.amber.manager.AmberConnection.prepareQuery > (AmberConnection.java:1235) > [09:01:47.850] at > _ejb.InternalUserPermissionHome.InternalUserPermissionBean__EJB > $LocalHome.findByUser(InternalUserPermissionBean__EJB.java:390) > [09:01:47.850] at delegates.security.PermissionsDelegate.canYou > (PermissionsDelegate.java:21) > > it appears to happen exclusively with finders. We have verified that > we are NOT passing nulls into any of the finders when this occurs. > > Looking at the code, it looks like an internal AmberPersistenceUnit > object is for some reason null. > > Any help on this would be appreciated, thanks. > > - Dave > > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest