"There is already a unique instance for Bundle named 'JavaFoundation'."
"There is already a unique instance for Bundle named 'JavaFoundation'."
- Subject: "There is already a unique instance for Bundle named 'JavaFoundation'."
- From: Nathan Hampton <email@hidden>
- Date: Fri, 1 Jul 2005 19:42:28 -0700
I'm trying to test an application on my development machine, but every
time I try to run, I get this in the run log:
[2005-07-01 19:09:20 PDT] <main> java.lang.ExceptionInInitializerError
at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOP
roperties.java:179)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:
5049)
at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:551)
at Application.<init>(Application.java:91)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
AccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
structorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
at Application.main(Application.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.i[2005-07-01 19:09:20 PDT]
<main> A fatal exception occurred: null
nvoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
Caused by: java.lang.IllegalStateException:
<com.webobjects.foundation.NSBundle> warning: There is already a
unique instance for Bundle named 'JavaFoundation'. Use
NSBundle.bundleForName(JavaFoundation) to access it:
<com.webobjects.foundation.NSBundle name:'JavaFoundation'
bundlePath:'/Library/Java/Extensions/JavaFoundation.jar'
packages:'("com.webobjects.foundation",
"com.webobjects.foundation.xml")' 209 classes >
at
com.webobjects.foundation.NSBundle.CreateBundleWithPath(NSBundle.java:
825)
at
com.webobjects.foundation.NSBundle._bundleWithPathShouldCreateIsJar(NSB
undle.java:487)
at
com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.ja
va:742)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:365)
... 17 more
JobTracking has exited with status 1.
Does anyone know how to fix this? I've already tried making sure I
have only one copy of JavaFoundation.jar in my classpath, unless the
build process adds more I don't know about.
Thanks!
--Nathan
(WO 5.2; OS X 10.3; Xcode 1.1)
_______________________________________________
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