RE: NSBundle run error

From: Clark, Igor (Igor.Clar..strazeneca.com)
Date: Tue Jul 13 2004 - 08:23:39 EDT

  • Next message: Fabian Peters: "Re: Incremental builder is copying the CVS directory for components"

    Thanks Ulrich - I did try that and it didn't work, but when I removed the
    frameworks etc and then added them back in and did a full rebuild, it did
    work. Don't really know why, but I don't really mind why, now that it works
    ;-)

    Cheers,
    Igor

    -----Original Message-----
    From: Ulrich Köster [mailto:ulric..bjectstyle.org]
    Sent: 10 July 2004 15:52
    To: woproject-dev
    Subject: Re: NSBundle run error

    Hi Clark,

    try a full rebuild.

    Ulrich

    Am 08.07.2004 um 15:22 schrieb Clark, Igor:

    > Hi folks
    >
    > Eclipse 2.13 / WOLips 1.0.7.50 / Win2K SP3 crashed and wouldn't
    > respond. I
    > killed it, rebooted the computer, and now whenever I try to run the
    > same
    > application I get the following error immediately upon startup, even
    > though
    > I've done a full clean build on the project and all the frameworks:
    >
    > [2004-07-08 14:20:04 BST] <main> A fatal exception occurred: null
    > [2004-07-08 14:20:04 BST] <main> java.lang.ExceptionInInitializerError
    > at
    > com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOP
    > roper
    > ties.java:180)
    > at
    > com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:
    > 5002)
    > at
    > com.webobjects.appserver.WOApplication.<init>(WOApplication.java:483)
    > at net.astrazeneca.rd.saerec.Application.<init>(Application.java:51)
    > 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:296)
    > at net.astrazeneca.rd.saerec.Application.main(Application.java:16)
    > Caused by: java.lang.IllegalStateException:
    > <com.webobjects.foundation.NSBundle> warning: There is already a unique
    > instance for Framework named 'AZEOModelSupport'. Use
    > NSBundle.bundleForName(AZEOModelSupport) to access it:
    > <com.webobjects.foundation.NSBundle name:'AZEOModelSupport'
    > bundlePath:'C:
    > \eclipse\workspace\AZEOModelSupport\AZEOModelSupport.framework
    > ' packages:'()' 0 classes >
    > at
    > com.webobjects.foundation.NSBundle.LookupOrCreateBundleWithPath(NSBundl
    > e.jav
    > a:665)
    > at
    > com.webobjects.foundation.NSBundle._bundleWithPath(NSBundle.java:398)
    > at
    > com.webobjects.foundation.NSBundle.bundleWithPath(NSBundle.java:390)
    > at
    > com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.ja
    > va:59
    > 6)
    > at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:307)
    > ... 12 more
    >
    > Any ideas please?
    >
    > Thank you,
    > Igor



    This archive was generated by hypermail 2.0.0 : Tue Jul 13 2004 - 08:24:41 EDT