• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Framework import [Solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework import [Solved]


  • Subject: Re: Framework import [Solved]
  • From: Logi Helgu <email@hidden>
  • Date: Tue, 10 Oct 2006 13:01:59 +0000
  • Thread-topic: Framework import [Solved]

Extensive cleaning( and restarting Eclipse ) finally solved this( must have
been cached somewhere and leading to the duplicate import ).

Thanx Hörður :)


On 10/9/06 8:12 PM, "Hordur Thordarson" <email@hidden> wrote:

> Is the framework included by any other frameworks ?
>
> Your problem is exactly what I see when I forget to change my
> classpath between debugging and deployment settings, such that my
> frameworks end up being included more than once in the classpath.
>
> Hörður Þ.
> Lausn hugbúnaður ehf
> Tel. +354-534-5005 / +354-699-1068
> Web: http://www.lausn.is
>
>
>
> On 9.10.2006, at 16:52, Logi Helgu wrote:
>
>>
>> Tried that earlier but no luck :(
>>
>> Before I included the framework by adding in in the configuration
>> for "WO
>> Frameworks".  Removing in from there didn't to nothing for me,
>> cleaned( and
>> even reststarted ) but still the NSBundle excpetion.  And the
>> framework is
>> not in the "Libraries" tab.
>>
>>
>> On 10/9/06 4:13 PM, "Hordur Thordarson" <email@hidden> wrote:
>>
>>> Hi Logi,
>>>
>>> Remove the framework from the Libraries tab in Java Build Path.  It
>>> must only be in either Libraries or Projects, not both.
>>>
>>> Rgds,
>>>
>>> Hörður Þ.
>>> Lausn hugbúnaður ehf
>>> Tel. +354-534-5005 / +354-699-1068
>>> Web: http://www.lausn.is
>>>
>>>
>>>
>>> On 9.10.2006, at 15:31, Logi Helgu wrote:
>>>
>>>> Added the framework to my project via the "Java Build Path" -
>>>> "Projects"
>>>> since this seems the only way to enable "Open Declaration" on my
>>>> framework
>>>> classes in Eclipse( this might be where I'm getting things wrong
>>>> since I've
>>>> added a Framework here but not another project ).
>>>>
>>>> Trying to lunch this leads to:
>>>>
>>>> ...<main> A fatal exception occurred: null
>>>> ...<main> java.lang.ExceptionInInitializerError
>>>>     at
>>>> com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys
>>>> (WOProper
>>>> ties.java:187)
>>>>     at
>>>> com.webobjects.appserver.WOApplication._initWOApp
>>>> (WOApplication.java:5081)
>>>>     at com.webobjects.appserver.WOApplication.<init>
>>>> (WOApplication.java:551)
>>>>     at Application.<init>(Application.java:25)
>>>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0
>>>> (Native Method)
>>>>     at
>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance
>>>> (NativeConstructorAcces
>>>> sorImpl.java:39)
>>>>     at
>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance
>>>> (DelegatingConstruc
>>>> torAccessorImpl.java:27)
>>>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:
>>>> 494)
>>>>     at java.lang.Class.newInstance0(Class.java:350)
>>>>     at java.lang.Class.newInstance(Class.java:303)
>>>>     at com.webobjects.appserver.WOApplication.main
>>>> (WOApplication.java:323)
>>>>     at Application.main(Application.java:22)
>>>> Caused by: java.lang.IllegalStateException:
>>>> <com.webobjects.foundation.NSBundle> warning: There is already a
>>>> unique
>>>> instance for Bundle named 'MyFramework'.  Use
>>>> NSBundle.bundleForName(MyFramework) to access it...
>>>>
>>>> Any ideas on this or the right way to enable "Open Declaration" into
>>>> framework classes?
>>>>
>>>>     With well-being and veneration,
>>>>     Logi Helgu
>>>>
>>>>
>>>>
>>>>
>>>> Fyrirvari á tölvupósti / e-mail disclaimer
>>>> <a href="http://www.us.is/page/fyrirvari";>http://www.us.is/page/
>>>> fyrirvari</a>
>>>>
>>>
>>>  _______________________________________________
>>> 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
>>
>>
>>     Með vegsemd og virðingu,
>>
>>     Logi Helgu
>>     Umferðarstofa
>>
>>
>>
>>
>> Fyrirvari á tölvupósti / e-mail disclaimer
>> <a href="http://www.us.is/page/fyrirvari";>http://www.us.is/page/
>> fyrirvari</a>
>


    Með vegsemd og virðingu,

    Logi Helgu
    Umferðarstofa




Fyrirvari á tölvupósti / e-mail disclaimer
<a href="http://www.us.is/page/fyrirvari";>http://www.us.is/page/fyrirvari</a>
 _______________________________________________
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

References: 
 >Re: Framework import (From: Hordur Thordarson <email@hidden>)

  • Prev by Date: Job opportunity on the Gold Coast (Australia).
  • Next by Date: Re: modifying the save method for WO Display Group
  • Previous by thread: Re: Framework import
  • Next by thread: TextDisplayFormatter.java - any updates? where can gnu.regexp be found?
  • Index(es):
    • Date
    • Thread