Thanks Fabian, I'm currently looking at both files, trying to compare them. The thing is that the Maven configuration file includes a lot more jars in the classpath that our previous configuration (like JavaWOJSPServlet and stuff like that) so I guess I will try to exclude a few things I don't need and see if it changes anything. Martin > Subject: Re: createPrototypeCache NullPointerException > From: lists.fab...@e-lumo.com > Date: Mon, 29 Jul 2013 22:00:55 +0200 > CC: syrinx2...@msn.com > To: webobjects-dev@lists.apple.com > > Hi Martin, > > Have you compared the classpath files of the ant- vs maven-built apps? If > you're deploying on unix: "YourApp.woa/Contents/UNIX/UNIXClassPath.txt" > > Fabian > > Am 29.07.2013 um 21:20 schrieb Martin B: > > > Hi everybody, > > > > I have a few Wonder applications that were deployed with Maven recently > > which seem to be crashing randomly. Some are of these applications are > > completely new, but others have been running for years (deployed with ANT) > > without such problem. The stacktrace looks like this: > > > > 21951 [main] WARN NSLog - A fatal exception occurred: null > > [2013-7-29 14:59:28 EDT] <main> java.lang.NullPointerException > > at > > com.webobjects.eoaccess.EOModel.createPrototypeCache(EOModel.java:631) > > at > > com.webobjects.eoaccess.EOModel.prototypeAttributeNamed(EOModel.java:699) > > at > > com.webobjects.eoaccess.ERXModel.prototypeAttributeNamed(ERXModel.java:315) > > at com.webobjects.eoaccess.EOAttribute.<init>(EOAttribute.java:367) > > at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:816) > > at com.webobjects.eoaccess.EOEntity.attributeNamed(EOEntity.java:789) > > at > > com.webobjects.eoaccess.EOEntity.primaryKeyAttributes(EOEntity.java:1315) > > at > > er.rest.ERXEORestDelegate.__hasNumericPrimaryKeys(ERXEORestDelegate.java:33) > > at > > er.rest.routes.ERXRouteRequestHandler.addDefaultRoutes(ERXRouteRequestHandler.java:542) > > at > > er.rest.routes.ERXRouteRequestHandler.addDefaultRoutes(ERXRouteRequestHandler.java:519) > > at com.oaciq.pfco.serveur.Application.initREST(Application.java:34) > > at com.oaciq.pfco.serveur.Application.<init>(Application.java:26) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > > at java.lang.Class.newInstance0(Class.java:355) > > at java.lang.Class.newInstance(Class.java:308) > > at com.webobjects.appserver.WOApplication.main(WOApplication.java:547) > > at er.extensions.appserver.ERXApplication.main(ERXApplication.java:821) > > at com.oaciq.pfco.serveur.Application.main(Application.java:21) > > > > I have tried many different things but I cannot find a solution. This is > > driving me NUTS! Hints anyone? > > > > Thank you. > > > > Martin > > > > _______________________________________________ > > Do not post admin requests to the list. They will be ignored. > > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com > > > > This email sent to lists.fab...@e-lumo.com >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com