RE: NSBundle run error

From: Clark, Igor (Igor.Clar..strazeneca.com)
Date: Thu Jul 08 2004 - 10:04:40 EDT

  • Next message: Sako!: "Re: NSBundle run error"

    No, I don't think it is the OS, as I've just got it running by removing the
    framework from the project, cleaning, re-adding, cleaning, re-building.
    Works fine now. But thanks for taking the time to reply.

    I can't upgrade to SP4 because this is a centrally-managed OS situation, the
    IT guys do everything in big batches 'cos it's a massive company so you get
    what you get. But I'm happy as it's working OK.

    cheers,
    Igor

    -----Original Message-----
    From: Sako! [mailto:webobject..tcc.datos.de]
    Sent: 08 July 2004 14:48
    To: Clark, Igor; woproject-dev
    Subject: Re: NSBundle run error

    hiya,
    long time ago MS published SP4.
    i use the Eclipse 2.13 / WOLips 1.0.7.50 / Win2K SP4.
    and it never crashed.
    its your OS. not Eclipse.
    peace
    Sako.

    ----- Original Message -----
    From: "Clark, Igor" <Igor.Clar..strazeneca.com>
    To: "woproject-dev" <woproject-de..bjectstyle.org>
    Sent: Thursday, July 08, 2004 3:22 PM
    Subject: NSBundle run error

    > 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(WOProper
    > 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(NSBundle.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.java: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 : Thu Jul 08 2004 - 10:06:31 EDT