Re: Interface file not loaded (solved)
Re: Interface file not loaded (solved)
- Subject: Re: Interface file not loaded (solved)
- From: "Cheong Hee (Gmail)" <email@hidden>
- Date: Tue, 13 Sep 2011 18:20:14 +0800
Hi Q
Looks like you are right.. apparently, there is a string value defined as
"final static" instead of "static final". This caught me off guard as the
code was previously working, and I checked that it is still in jre 1.5.x.
Two apps sharing this same framewrok works now. Thanks for very prompt and
save my days of wild guesses!
Cheers
Cheong Hee
----- Original Message -----
From: "Q" <email@hidden>
To: "Cheong Hee (Gmail)" <email@hidden>
Cc: "WebObjects Dev" <email@hidden>
Sent: Tuesday, September 13, 2011 6:03 PM
Subject: Re: Interface file not loaded
Looks like it's having trouble firing the static initialisers in
IBusinessUnitKeyValueParameters. The class bytecode isn't missing, the JVM
can't initialise it.
There should be another exception to go with that one that shows why the
class failed to load.
On 13/09/2011, at 6:37 PM, Cheong Hee (Gmail) wrote:
Hi
I have this interface file called IBusinessUnitKeyValueParameters.java
that contains some static constant string values. The file is not being
loaded though I have other files in the same framework loaded with no
issue. I am running out of steam and appreciate if someone could shed
some light.
That is WO5.4.3, Eclipse 3.6 WOLips 3.6.70242
The error message is as the following:
2011-9-13 16:13:3 SGT] <main> A fatal exception occurred:
IBusinessUnitKeyValueParameters
[2011-9-13 16:13:3 SGT] <main> java.lang.NoClassDefFoundError:
IBusinessUnitKeyValueParameters
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:350)
at
com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:334)
at
com.webobjects.eoaccess.EOModel._setEntityForEntityNameClassName(EOModel.java:1302)
at
com.webobjects.eoaccess.EOModel._addFakeEntityWithPropertyList(EOModel.java:1340)
at
com.webobjects.eoaccess.EOModel._initWithTableOfContentsPropertyListPathURL(EOModel.java:1144)
at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:841)
at
com.webobjects.eoaccess.EOModelGroup.addModelWithPathURL(EOModelGroup.java:443)
at
com.webobjects.eoaccess.EOModelGroup.modelGroupForLoadedBundles(EOModelGroup.java:712)
at
com.webobjects.eoaccess.EOModelGroup.globalModelGroup(EOModelGroup.java:306)
at
com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:333)
at
com.rhino.util.RSUserDefaults.setConnectionDictionaryForModels(RSUserDefaults.java:362)
at
com.rhino.util.RSUserDefaults.parseSystemProperties(RSUserDefaults.java:271)
at
com.rhino.util.RSUserDefaults.parseSystemProperties(RSUserDefaults.java:216)
at
com.rhino.app.mainxtension.RSXApplication.initialization(RSXApplication.java:89)
at
com.rhino.app.mainxtension.RSXApplication.<init>(RSXApplication.java:78)
at com.rhino.app.teamconnect.Application.<init>(Application.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at com.rhino.app.teamconnect.Application.main(Application.java:40)
The code where the exception occurred at line 362 in RSUserDefaults :
EOModel lastModel =
(EOModel)EOModelGroup.defaultGroup().models().lastObject();
Cheers
Cheong Hee
_______________________________________________
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