Re: Wonder Integration on Existing XCode project failed
Re: Wonder Integration on Existing XCode project failed
- Subject: Re: Wonder Integration on Existing XCode project failed
- From: Chuck Hill <email@hidden>
- Date: Tue, 5 May 2009 08:09:04 -0700
On May 4, 2009, at 11:51 PM, Lemuel Raganas wrote:
Hi Lists,
My wonder integration seemed to fail on my existing XCode( v3.1.2)
project.
I have 2 frameworks namely:
CoreFramework.framework - contains all my entity classes which I
already changed to subclass ERXGenericRecord and seems to build fine
without errors.
CoreUI.framework - contains all my WOComponents and seems to build
without errors.
CoreAdmin.woa - my application that uses the CoreFramework and
CoreUI. All necessary steps to integrate ProjectWonder are done
Are you certain? It does not work, so you should check your
assumptions. What are the "necessary steps"? It looks like the
EOModel is not getting loaded, if that helps.
Chuck
and compiled just fine except it produces an error page something
like this:
/****** START OF ERROR ******/
Application: CoreAdmin
Error: java.lang.IllegalStateException exception
Reason:
java.lang.IllegalStateException: An Exception occurred while
generating the Exception page 'WOExceptionPage'. This is most likely
due to an error in 'WOExceptionPage' itself or WebObjects
encountered an uncaught exception while creating a Session object.
Below are the logs of the original Exception which occured in
Application, then the later Exception in WOExceptionPage.
Original Exception:
java.lang.IllegalStateException: Unabled to find an
EOClassDescription for objects of class
coreframework.coreaccount.EServerConfig
at
com
.webobjects
.eocontrol
.EOGenericRecord.__setClassDescription(EOGenericRecord.java:98)
at
com.webobjects.eocontrol.EOGenericRecord.<init>(EOGenericRecord.java:
73)
at er.extensions.eof.ERXGenericRecord.<init>(ERXGenericRecord.java:98)
at
coreframework.coreaccount._EServerConfig.<init>(_EServerConfig.java:
17)
at coreframework.coreaccount.EServerConfig.<init>(EServerConfig.java:
21)
at
coreframework
.coreclass.CoreConfiguration.init(CoreConfiguration.java:260)
at
coreframework
.coreclass.CoreConfiguration.<init>(CoreConfiguration.java:217)
at
coreframework
.coreclass.CoreFramework.initEnvironmentVariables(CoreFramework.java:
154)
at coreframework.coreclass.CoreFramework.<init>(CoreFramework.java:42)
at Session.<init>(Session.java:25)
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:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:616)
at
com
.webobjects
.appserver.WOApplication.createSessionForRequest(WOApplication.java:
1965)
at
er
.extensions
.appserver
.ERXApplication.createSessionForRequest(ERXApplication.java:2022)
at
com
.webobjects
.appserver
.WOApplication._initializeSessionInContext(WOApplication.java:2101)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedApplication(WOComponentRequestHandler.java:319)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._handleRequest(WOComponentRequestHandler.java:369)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(WOComponentRequestHandler.java:442)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1678)
at
er
.extensions
.appserver
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1772)
at
er
.extensions
.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1737)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com
.webobjects
.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)
WOExceptionPage Exception:
com.webobjects.foundation.NSForwardException
[java.lang.IllegalStateException] Unabled to find an
EOClassDescription for objects of class
coreframework.coreaccount.EServerConfig:<Session> failed
instantiation. Exception thrown :
java.lang.IllegalStateException: Unabled to find an
EOClassDescription for objects of class
coreframework.coreaccount.EServerConfig: Unabled to find an
EOClassDescription for objects of class
coreframework.coreaccount.EServerConfig
at
com
.webobjects
.foundation
._NSUtilities._explainInstantiationException(_NSUtilities.java:606)
at
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:620)
at
com
.webobjects
.appserver.WOApplication.createSessionForRequest(WOApplication.java:
1965)
at
er
.extensions
.appserver
.ERXApplication.createSessionForRequest(ERXApplication.java:2022)
at
com
.webobjects
.appserver
.WOApplication._initializeSessionInContext(WOApplication.java:2101)
at com.webobjects.appserver.WOContext.session(WOContext.java:359)
at
com.webobjects.appserver.WOContext.componentActionURL(WOContext.java:
1198)
at
com
.webobjects
.appserver
._private
.WOHyperlink._appendComponentActionURLToResponse(WOHyperlink.java:174)
at
com
.webobjects
.appserver
._private.WOHyperlink.appendAttributesToResponse(WOHyperlink.java:210)
at
er
.extensions
.components
._private.ERXHyperlink.appendAttributesToResponse(ERXHyperlink.java:
84)
at
com
.webobjects
.appserver
._private
.WOHTMLDynamicElement
._appendOpenTagToResponse(WOHTMLDynamicElement.java:498)
at
com
.webobjects
.appserver
._private.WOHyperlink._appendOpenTagToResponse(WOHyperlink.java:133)
at
com
.webobjects
.appserver
._private
.WOHTMLDynamicElement.appendToResponse(WOHTMLDynamicElement.java:448)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WOConditional.appendToResponse(WOConditional.java:94)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com
.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1121)
at
com
.webobjects
.appserver
._private
.WOComponentReference.appendToResponse(WOComponentReference.java:135)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com
.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1121)
at
com
.webobjects
.appserver.WOComponent._appendPageToResponse(WOComponent.java:1524)
at
com
.webobjects
.appserver.WOComponent._generateResponseInContext(WOComponent.java:
1493)
at
com
.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:
1488)
at
com
.webobjects
.woextensions.WOExceptionPage.generateResponse(WOExceptionPage.java:
38)
at
com
.webobjects.appserver.WOApplication._handleError(WOApplication.java:
3076)
at
com
.webobjects
.appserver.WOApplication.handleException(WOApplication.java:3226)
at
er
.extensions
.appserver.ERXApplication.handleException(ERXApplication.java:1559)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._handleRequest(WOComponentRequestHandler.java:389)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(WOComponentRequestHandler.java:442)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1678)
at
er
.extensions
.appserver
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1772)
at
er
.extensions
.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1737)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com
.webobjects
.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.IllegalStateException: Unabled to find an
EOClassDescription for objects of class
coreframework.coreaccount.EServerConfig
at
com
.webobjects
.eocontrol
.EOGenericRecord.__setClassDescription(EOGenericRecord.java:98)
at
com.webobjects.eocontrol.EOGenericRecord.<init>(EOGenericRecord.java:
73)
at er.extensions.eof.ERXGenericRecord.<init>(ERXGenericRecord.java:98)
at
coreframework.coreaccount._EServerConfig.<init>(_EServerConfig.java:
17)
at coreframework.coreaccount.EServerConfig.<init>(EServerConfig.java:
21)
at
coreframework
.coreclass.CoreConfiguration.init(CoreConfiguration.java:260)
at
coreframework
.coreclass.CoreConfiguration.<init>(CoreConfiguration.java:217)
at
coreframework
.coreclass.CoreFramework.initEnvironmentVariables(CoreFramework.java:
154)
at coreframework.coreclass.CoreFramework.<init>(CoreFramework.java:42)
at Session.<init>(Session.java:25)
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:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:616)
... 35 more
/****** END OF ERROR *****/
All minimal frameworks needed are already linked to my projects but
I couldn't seem to run my application. By the way, I've been using
XCode 3.1.2 to all of my WOApplications since I migrated to Leopard
and theyre' all fine.
What did I do wrong?
Thanks in advance,
Lemuel Raganas
mailto: 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
Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/
_______________________________________________
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