Re: Adding WOLips framework = exception at startup
Re: Adding WOLips framework = exception at startup
- Subject: Re: Adding WOLips framework = exception at startup
- From: Pascal Robert <email@hidden>
- Date: Mon, 19 Sep 2011 14:24:20 -0400
Le 2011-09-19 à 13:30, Ramsey Gurley a écrit :
> I'm using the WOLips framework on 3.7 without issues. Admittedly, I've had to add a small fix to get the C2O stuff working:
>
> http://issues.objectstyle.org/jira/browse/WOL-1209
>
> But it's nothing that would affect class loading.
Do you have the WOLips framework in your workspace by any chance? I just tried that (adding WOLips in my workspace) and it works.
So the problem is appearing when the WOLips framework is the build one (the .framework) with WOLips 3.7 and you launch the app within Eclipse. If you launch the app by the build .woa, it works, if you use Eclipse 3.6/WOLips 3.6, it works, if you use 3.7 with the WOLips framework, it works.
> Ramsey
>
> On Sep 19, 2011, at 10:07 AM, Chuck Hill wrote:
>
>> Maybe there is something in WOLips that is not compatible with 3.7. An exception thrown during class loading / static initialization could cause this.
>>
>> Q?
>>
>>
>> On 2011-09-19, at 9:46 AM, Pascal Robert wrote:
>>
>>>
>>> Le 2011-09-19 à 12:42, Pascal Robert a écrit :
>>>
>>>>
>>>> Le 2011-09-19 à 12:18, Pascal Robert a écrit :
>>>>
>>>>>
>>>>> Le 2011-09-19 à 12:14, David Holt a écrit :
>>>>>
>>>>>> Hi Pascal,
>>>>>>
>>>>>> I just went through a similar dance for hours on Friday with the Ajax framework. It turned out to be my Wonder frameworks being slightly out of date. I thought I had double and triple checked, but it actually required a quadruple check to get it to work :-)
>>>>>
>>>>> This is why I took the frameworks from two days ago. Sometimes, I have this problem (might be any frameworks) when I built Wonder from source, but it get fixed by using the latest build from webobjects.mdimension.com. But this time, it didn't work :-/
>>>>
>>>> Hum, it works fine with WOLips 3.6. The problem only appears when running 3.7.
>>>
>>> I confirm. I created a D2W project in WOLips 3.6, didn't get the problem. Imported the exact same project in 3.7, I get the exception
>>>
>>>>>> David
>>>>>>
>>>>>>
>>>>>> On 2011-09-18, at 8:02 PM, Pascal Robert wrote:
>>>>>>
>>>>>>> I have a strange problem, where starting any app that include the WOLips framework generates this. If I remove WOLips from the classpath, everything works fine. Wonder was from July, so I updated my frameworks from the build off Jenkins and I get the same problem.
>>>>>>>
>>>>>>> [2011-9-18 22:54:59 EDT] <main> A fatal exception occurred: ERXExtensions have not been initialized. Please report the classpath and the rest of the bundles to the Wonder mailing list:
>>>>>>> Remaining frameworks: [WOLips]
>>>>>>> Classpath: /Users/probert/Workspaces/Bidon/TestApp/bin:/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar:/Library/Frameworks/WOLips.framework/Resources/Java/WOLips.jar:/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/System/Library/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar:/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/System/Library/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar:/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/System/Library/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar:/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/System/Library/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar:/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/System/Library/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar:/System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/System/Library/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/Library/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5-sources.jar:/Library/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5.jar:/Library/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar:/Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar:/Library/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2-sources.jar:/Library/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2.jar:/Library/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar:/Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.16.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar:/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar:/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl53.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl54.jar
>>>>>>> [2011-9-18 22:54:59 EDT] <main> java.lang.RuntimeException: ERXExtensions have not been initialized. Please report the classpath and the rest of the bundles to the Wonder mailing list:
>>>>>>> Remaining frameworks: [WOLips]
>>>>>>> Classpath: /Users/probert/Workspaces/Bidon/TestApp/bin:/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar:/Library/Frameworks/WOLips.framework/Resources/Java/WOLips.jar:/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/System/Library/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar:/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/System/Library/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar:/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/System/Library/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar:/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/System/Library/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar:/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/System/Library/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar:/System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/System/Library/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/Library/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5-sources.jar:/Library/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5.jar:/Library/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar:/Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar:/Library/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2-sources.jar:/Library/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2.jar:/Library/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar:/Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.16.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar:/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar:/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl53.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl54.jar
>>>>>>> at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1056)
>>>>>>> at your.app.Application.<init>(Application.java:10)
>>>>>>> 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:513)
>>>>>>> at java.lang.Class.newInstance0(Class.java:355)
>>>>>>> at java.lang.Class.newInstance(Class.java:308)
>>>>>>> at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
>>>>>>> at er.extensions.appserver.ERXApplication.main(ERXApplication.java:820)
>>>>>>> at your.app.Application.main(Application.java:7)
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>> _______________________________________________
>>> 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
>>
>> --
>> Chuck Hill Senior Consultant / VP Development
>>
>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific 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
>
_______________________________________________
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