NullPointerException executing EOModelGroup.defaultGroup()
"Eric Bergerson" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
I have a piece of code that calls EOModelGroup.defaultGroup(). It works fine on my laptop (Windows XP) but fails on my desktop (Win2K). Both are using the same version of WO (5.1.3). The one that is failing has a calling stack trace of something like: ( -> means calls) defaultGroup() -> globalModelGroup -> modelGroupForLoadedBundles -> addModelWithPath -> EOModel.<init> It would appear that the null pointer exception is in the EOModel.<init>. I don't have any loaded bundles. The code, which is working on the laptop, gets the defaultGroup(), so that I can than add the models directly into the group. I must have set something up differently on the two machines, but I can't figure out what it is. I have checked all the environment variables and they all seem to be equivelent. Is there something I am missing? A default possibly? Thanks. Sincerely, Eric Bergerson Objective Technologies, Inc. Email: [email protected] Phone: 718 805 6574