I must have been.... lying to myself. 
Anyway, I downloaded 5.4 Wonder for 5.4.3 WebObjects.

Back to the D2W fun now with the DivaLook!

Thanks
James




On Jan 16, 2010, at 8:05 PM, Mike Schrag wrote:

> 90% odds you've changed your environment and you're lying to yourself.
> 
> NoSuchFieldError is nearly guaranteed to be changing the frameworks that 
> you're running with relative to what they were built against. so that's 
> switching between 5.3 and 5.4 or switching between wonder 5.3 and 5.4. it's 
> certainly possible it's something else, but the odds are you did something 
> weird. did you download wonder recently? did you replace it in your 
> /Library/Frameworks?  did you get the wrong one? is this deployed? did you 
> deploy embedded?
> 
> Line 71 or ERXModel is:
> 
>         public static Object _ERXGlobalModelLock = EOModel._EOGlobalModelLock;
> 
> If that is line 71 for you, you have the wrong version of the framework 
> somewhere.
> 
> On Jan 16, 2010, at 8:51 PM, James Cicenia wrote:
> 
>> Well I didn't change anything in terms of importing frameworks.
>> I have double checked my model against the database. Re did the migrations. 
>> Then the last thing I started
>> to do was to try to "copy in" ERDivaList so that I could modify it.
>> 
>> That was the last thing I remember doing before it breaking. I have since 
>> deleted those components.
>> 
>> doesn't really give me much to go on ... teh ERXModel line 71 is 
>> 
>>      /**
>>       * Sets the default EOEntity class to 
>> com.webobjects.eoaccess.ERXEntity. You can provide your
>>       * own via the property 
>> <code>er.extensions.ERXModel.defaultEOEntityClassName</code> however your 
>> class
>>       * must be in the same package unless you plan on re-implementing eof 
>> itself.
>>       * 
>>       * @see 
>> com.webobjects.eoaccess.EOModel#_addEntityWithPropertyList(java.lang.Object)
>>       */
>>      @Override
>>      public Object _addEntityWithPropertyList(Object propertyList) throws 
>> InstantiationException, IllegalAccessException {
>>      71 ====>        NSMutableDictionary<String, Object> list = 
>> ((NSDictionary<String, Object> )propertyList).mutableClone();
>>              if (list.objectForKey("entityClass") == null) {
>>                      String eoEntityClassName = 
>> ERXProperties.stringForKey("er.extensions.ERXModel.defaultEOEntityClassName");
>>                      if (eoEntityClassName == null) {
>>                              eoEntityClassName = ERXEntity.class.getName();
>>                      }
>>                      list.setObjectForKey(eoEntityClassName, "entityClass" );
>>              }
>>              return super._addEntityWithPropertyList(list);
>>      }
>> 
>> 
>> James
>> 
>> On Jan 16, 2010, at 7:39 PM, Mike Schrag wrote:
>> 
>>> my GUESS is mixing WO 5.3/5.4 with Wonder 5.3/5.4.
>>> 
>>> On Jan 16, 2010, at 8:35 PM, James Cicenia wrote:
>>> 
>>>> I did something and now I can't start my new wonder app:
>>>> I get the following :
>>>> 
>>>> Jan 16 19:33:17 MusicFest[56227] ERROR 
>>>> er.extensions.appserver.ERXApplication  - MusicFest failed to start.
>>>> NoSuchFieldError: _EOGlobalModelLock
>>>>   at com.webobjects.eoaccess.ERXModel.<clinit>(ERXModel.java:71)
>>>>   at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:124)
>>>>      ... skipped 5 stack elements
>>>>   at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223)
>>>>   at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:155)
>>>>   at 
>>>> com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:328)
>>>>   at 
>>>> er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:169)
>>>>   at 
>>>> er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1123)
>>>>   ... skipped 13 stack elements
>>>> Jan 16 19:33:17 MusicFest[56227] WARN  NSLog  - A fatal exception 
>>>> occurred: java.lang.NoSuchFieldError: _EOGlobalModelLock
>>>> [2010-1-16 19:33:17 CST] <main> 
>>>> com.webobjects.foundation.NSForwardException [java.lang.NoSuchFieldError] 
>>>> _EOGlobalModelLock:java.lang.NoSuchFieldError: _EOGlobalModelLock
>>>>    at 
>>>> com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:39)
>>>>    at 
>>>> com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:124)
>>>>    at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223)
>>>>    at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:155)
>>>>    at 
>>>> com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:328)
>>>>    at 
>>>> er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:169)
>>>>    at 
>>>> er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1123)
>>>>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>    at 
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>    at 
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>    at java.lang.reflect.Method.invoke(Method.java:597)
>>>>    at 
>>>> com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
>>>>    at 
>>>> com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
>>>>    at 
>>>> com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
>>>>    at 
>>>> com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546)
>>>>    at com.webobjects.appserver.WOApplication.run(WOApplication.java:1229)
>>>>    at er.extensions.appserver.ERXApplication.run(ERXApplication.java:1236)
>>>>    at com.webobjects.appserver.WOApplication.main(WOApplication.java:548)
>>>>    at er.extensions.appserver.ERXApplication.main(ERXApplication.java:721)
>>>>    at com.applitite.musicfest.Application.main(Application.java:10)
>>>> Caused by: java.lang.NoSuchFieldError: _EOGlobalModelLock
>>>>    at com.webobjects.eoaccess.ERXModel.<clinit>(ERXModel.java:71)
>>>>    at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:124)
>>>>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>    at 
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>    at 
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>    at java.lang.reflect.Method.invoke(Method.java:597)
>>>>    at 
>>>> com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
>>>>    ... 18 more
>>>> 
>>>> 
>>>> But that is it? How, do I find the Field it is looking for?
>>>> Thanks
>>>> 
>>>> 
>>>> - James
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com
>>>> 
>>>> This email sent to [email protected]
>>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com
>> 
>> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to