Hi all,

In my final attempts to move my Tiger WO stuff to Snow Leopard I have one last 
visible hurdle.  I have a java application that does some batch stuff to a 
database and this runs via crontab on a daily basis.  I've created my new java 
application in eclipse and linked in all the libraries and it runs fine, 
although I'm still using the deprecated EOModelGroup.addModelWithPath call.

When I create my jar, via Export Runnable JAR file, and run it from the 
terminal, it barfs on the call EOModelGroup.defaultGroup() with:

java.lang.IllegalArgumentException: Attempt to insert null into an 
com.webobjects.foundation.NSMutableArray.
        at 
com.webobjects.foundation.NSMutableArray.addObject(NSMutableArray.java:239)
        at 
com.webobjects.eoaccess.EOModelGroup.modelGroupForLoadedBundles(EOModelGroup.java:700)
        at 
com.webobjects.eoaccess.EOModelGroup.globalModelGroup(EOModelGroup.java:306)
        at 
com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:333)
        at com.blah.blah.blah<init>(DailyImport.java:748)
        at com.blah.blah.blah.main(DailyImport.java:127)

Can someone please explain to me how I should properly create the JAR file? 
(I'm sure you'll have a note about the deprecated call I'm using above.)

Thank you. :-)

Calven


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to