yes, I have been here before. :-)
This time around though I have no spaces in my paths. I solved this issue this
morning (it’s alway amazing how seeing on it clears the mind) by creating a new
group like so:
EOModelGroup modelGroup = new EOModelGroup();
EOModelGroup.setDefaultGroup(modelGroup);
And then continue as usual adding my models to the group.
> On Apr 13, 2015, at 5:37 PM, Chuck Hill <[email protected]> wrote:
>
> See bottom of
> https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation+on+Windows?src=search
>
> <https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation+on+Windows?src=search>
>
> Looks like you have been here before :-)
> http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg01049.html
> <http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg01049.html>
>
>
> On 2015-04-13, 9:04 AM, "Calven Eggert" wrote:
>
> Getting error when executing this line in a java app from the terminal.
> (works fine in Eclipse)
>
> EOModelGroup modelGroup = ERXModelGroup.defaultGroup();
>
> 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.UHN.CancerRegistry.DailyImport.<init>(DailyImport.java:2257)
> at com.UHN.CancerRegistry.DailyImport.main(DailyImport.java:204)
>
> Is there additional setup I need to do in the java app?
>
> Calven
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected]
> <mailto:[email protected]>)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com
> <https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com>
>
> This email sent to [email protected] <mailto:[email protected]>
Calven
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]