Did you make the jar like this before?

On Nov 27, 2009, at 11:38 AM, Calven Eggert wrote:

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/chill%40global-village.net

This email sent to [email protected]

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________
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