Re: "There is already a unique instance for Bundle named 'JavaFoundation'."
Re: "There is already a unique instance for Bundle named 'JavaFoundation'."
- Subject: Re: "There is already a unique instance for Bundle named 'JavaFoundation'."
- From: Chuck Hill <email@hidden>
- Date: Fri, 1 Jul 2005 19:50:40 -0700
bundlePath:'/Library/Java/Extensions/JavaFoundation.jar'
It does not belong in that directory. Get it out.
On Jul 1, 2005, at 7:42 PM, Nathan Hampton wrote:
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
(WOProperties.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
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.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
(DelegatingMethodAccessorImpl.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
(NSBundle.java:487)
at com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath
(NSBundle.java: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:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden