Re: createPrototypeCache NullPointerException
Re: createPrototypeCache NullPointerException
- Subject: Re: createPrototypeCache NullPointerException
- From: Fabian Peters <email@hidden>
- Date: Mon, 29 Jul 2013 22:00:55 +0200
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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden