Re: problem with wonder
Re: problem with wonder
- Subject: Re: problem with wonder
- From: Chuck Hill <email@hidden>
- Date: Tue, 15 Jun 2010 07:37:33 -0700
ClassNotFoundException: Agency
Are your EO classes in packages? They should be and the package needs
to be in the EOModel too.
Chuck
On Jun 15, 2010, at 3:24 AM, Cros Laurent wrote:
Hi guys,
When I try to launch my wonder project under eclispse, I have the
folowong errors, it’s like wonder cannot load my eomodel
[2010-6-15 12:22:9 CEST] <main> Initialized :
er.extensions.ERXExtensions
- Can't get path when run as jar: JavaDTWGeneration - Properties
- Can't get path when run as jar: JavaDTWGeneration - Properties.lcros
- Can't get path when run as jar: JavaDirectToWeb - Properties
- Can't get path when run as jar: JavaDirectToWeb - Properties.lcros
- Can't get path when run as jar: JavaEOProject - Properties
- Can't get path when run as jar: JavaEOProject - Properties.lcros
- Can't get path when run as jar: JavaWOJSPServlet - Properties
- Can't get path when run as jar: JavaWOJSPServlet - Properties.lcros
- Can't get path when run as jar: JavaJDBCAdaptor - Properties
- Can't get path when run as jar: JavaJDBCAdaptor - Properties.lcros
- Can't get path when run as jar: JavaXML - Properties
- Can't get path when run as jar: JavaXML - Properties.lcros
- Can't get path when run as jar: JavaEOControl - Properties
- Can't get path when run as jar: JavaEOControl - Properties.lcros
- Can't get path when run as jar: JavaEOAccess - Properties
- Can't get path when run as jar: JavaEOAccess - Properties.lcros
- Can't get path when run as jar: JavaWebObjects - Properties
- Can't get path when run as jar: JavaWebObjects - Properties.lcros
- Can't get path when run as jar: JavaFoundation - Properties
- Can't get path when run as jar: JavaFoundation - Properties.lcros
- Can't get path when run as jar: JavaWOExtensions - Properties
- Can't get path when run as jar: JavaWOExtensions - Properties.lcros
- Can't get path when run as jar: ERExtensions - Properties
- Can't get path when run as jar: ERExtensions - Properties.lcros
juin 15 12:22:10 N/A[N/A] INFO org.apache.log4j.Logger - Updated
the logging configuration with the current system properties.
juin 15 12:22:10 N/A[N/A] DEBUG org.apache.log4j.Logger -
log4j.loggerFactory: null
juin 15 12:22:10 N/A[N/A] DEBUG org.apache.log4j.Logger - Factory:
null
juin 15 12:22:10 N/A[N/A] INFO org.apache.log4j.Logger - Updated
the logging configuration with the current system properties.
juin 15 12:22:10 N/A[N/A] DEBUG org.apache.log4j.Logger -
log4j.loggerFactory: null
juin 15 12:22:10 N/A[N/A] DEBUG org.apache.log4j.Logger - Factory:
null
juin 15 12:22:10 N/A[N/A] WARN NSLog - Failed to load file:///J:
\JcommopsWS\jcommops-ptf-mvn\build\jcommops-ptf-mvn.woa/Contents/
Info.plist. Treating as empty.
com.webobjects.foundation.NSForwardException
[java.io.FileNotFoundException] \System\Library\DTDs
\PropertyList.dtd (Le chemin d'accès spécifié est
introuvable):java.io.FileNotFoundException: \System\Library\DTDs
\PropertyList.dtd (Le chemin d'accès spécifié est introuvable)
juin 15 12:22:10 N/A[N/A] DEBUG NSLog - WebObjects version = 5.4.3
juin 15 12:22:10 MainBundle[N/A] DEBUG NSLog - Created adaptor of
class WODefaultAdaptor on port 2000 and address CLS-LCROS/
10.1.254.34 with WOWorkerThread minimum of 16 and maximum of 256
juin 15 12:22:10 MainBundle[2000] DEBUG
com.webobjects._ideservices._PBXProjectWatcher - Installed
NSProjectSearchPath fix
juin 15 12:22:10 MainBundle[2000] DEBUG
com.webobjects._ideservices._PBXProjectWatcher - Found
NSProjectSearchPath: ("..", "../..")
juin 15 12:22:10 MainBundle[2000] DEBUG
com.webobjects._ideservices._PBXProjectWatcher.Files -
openProjectsAppropriateForFile /J:/JcommopsWS/jcommops-ptf-mvn/build/
jcommops-ptf-mvn.woa: ()
juin 15 12:22:10 MainBundle[2000] DEBUG
com.webobjects._ideservices._PBXProjectWatcher.Files -
openProjectsAppropriateForFile /J:/JcommopsWS/jcommops-ptf-mvn/build/
jcommops-ptf-mvn.woa: ()
juin 15 12:22:10 MainBundle[2000] WARN NSLog - Application project
found: Will locate resources in 'J:\JcommopsWS\jcommops-ptf-mvn\build
\jcommops-ptf-mvn.woa' rather than '/J:/JcommopsWS/jcommops-ptf-mvn/
build/jcommops-ptf-mvn.woa' .
juin 15 12:22:10 MainBundle[2000] DEBUG
com.webobjects._ideservices._PBXProjectWatcher.Files -
openProjectsAppropriateForFile /J:/JcommopsWS/jcommops-ptf-mvn/build/
jcommops-ptf-mvn.woa: ()
juin 15 12:22:10 MainBundle[2000] WARN NSLog - Application project
found: Will locate resources in 'J:\JcommopsWS\jcommops-ptf-mvn\build
\jcommops-ptf-mvn.woa' rather than '/J:/JcommopsWS/jcommops-ptf-mvn/
build/jcommops-ptf-mvn.woa' .
juin 15 12:22:10 MainBundle[2000] DEBUG NSLog - Creating
LifebeatThread now with: MainBundle 2000 CLS-LCROS/10.1.254.34 1085
30000
juin 15 12:22:11 MainBundle[2000] INFO org.apache.log4j.Logger -
Updated the logging configuration with the current system properties.
juin 15 12:22:11 MainBundle[2000] DEBUG org.apache.log4j.Logger -
log4j.loggerFactory: er.extensions.logging.ERXLogger$Factory
juin 15 12:22:11 MainBundle[2000] DEBUG org.apache.log4j.Logger -
Factory: null
juin 15 12:22:11 MainBundle[2000] DEBUG NSLog - Finished
initialization after launch: ERXExtensions
juin 15 12:22:11 MainBundle[2000] DEBUG NSLog -
D2WWebAssistantEnabled=true
juin 15 12:22:11 MainBundle[2000] DEBUG NSLog -
D2WTraceRuleFiringEnabled=false
juin 15 12:22:11 MainBundle[2000] DEBUG NSLog -
D2WTraceRuleModificationsEnabled=false
juin 15 12:22:11 MainBundle[2000] WARN NSLog - ** DirectToWeb
could not find user.d2wmodel file. One will be created if you try
to save changes.
juin 15 12:22:11 MainBundle[2000] DEBUG NSLog - DirectToWeb merged
d2wmodel file from jar:file:///C:\Documents and Settings\lcros
\.m2\repository\com\webobjects\JavaDirectToWeb
\5.4.3\JavaDirectToWeb-5.4.3.jar!/Resources/d2w.d2wmodel
juin 15 12:22:12 MainBundle[2000] DEBUG NSLog - DirectToWeb found
client configuration information in jar:file:///C:\Documents and
Settings\lcros\.m2\repository\com\webobjects\JavaDirectToWeb
\5.4.3\JavaDirectToWeb-5.4.3.jar!/Resources/
d2wclientConfiguration.plist
juin 15 12:22:12 MainBundle[2000] WARN NSLog - ** DirectToWeb
could not find user.d2wmodel file. One will be created if you try
to save changes.
juin 15 12:22:12 MainBundle[2000] WARN NSLog - DirectToWeb using
default user.d2wmodel file.
juin 15 12:22:12 MainBundle[2000] DEBUG NSLog -
juin 15 12:22:12 MainBundle[2000] WARN NSLog - Your application is
not running on a supported development platform. AutoLaunch will not
work.
Your application's URL is:
http://10.1.254.34:2000/cgi-bin/WebObjects/MainBundle.woa
juin 15 12:22:12 MainBundle[2000] DEBUG NSLog - DirectToWeb
WebAssistant launch line: appletviewer http://localhost:2000/cgi-bin/WebObjects/MainBundle.woa/wa/D2WActions/openWebAssistant
juin 15 12:22:12 MainBundle[2000] DEBUG NSLog - Waiting for
requests...
juin 15 12:22:19 MainBundle[2000] DEBUG
org.jcommops.googleEarth.ptf.DirectAction - PtfComponentAction
juin 15 12:22:30 MainBundle[2000] ERROR
er.extensions.eof.ERXEntityClassDescription - Error registering
model: jcommops
ClassNotFoundException: Agency
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at er.extensions.eof.ERXEntityClassDescription
$Factory.registerDescriptionForEntity(ERXEntityClassDescription.java:
580)
at er.extensions.eof.ERXEntityClassDescription
$
Factory
.registerDescriptionForEntitiesInModel
(ERXEntityClassDescription.java:534)
at er.extensions.eof.ERXEntityClassDescription
$Factory.modelWasAdded(ERXEntityClassDescription.java:343)
... skipped 8 stack elements
at er.extensions.eof.ERXModelGroup.addModel(ERXModelGroup.java:445)
at
er
.extensions.eof.ERXModelGroup.addModelWithPathURL(ERXModelGroup.java:
537)
at
er
.extensions
.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:271)
at
er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:145)
... 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
com
.webobjects
.eoaccess
.EOModelGroup.modelGroupForObjectStoreCoordinator(EOModelGroup.java:
797)
... skipped 10 stack elements
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._objectForPropertyList(EOKeyValueUnarchiver.java:192)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:
275)
at
com.webobjects.appserver.WODisplayGroup.<init>(WODisplayGroup.java:
2533)
at
com
.webobjects
.appserver
.WODisplayGroup.decodeWithKeyValueUnarchiver(WODisplayGroup.java:2522)
... skipped 4 stack elements
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._objectForPropertyList(EOKeyValueUnarchiver.java:192)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._dictionaryForPropertyList(EOKeyValueUnarchiver.java:239)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:258)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:
275)
... skipped 2 stack elements
at com.webobjects.appserver.WOComponent.<init>(WOComponent.java:241)
at
org
.jcommops
.googleEarth.ptf.components.PtfComponent.<init>(PtfComponent.java:425)
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
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:614)
... skipped 2 stack elements
at
com
.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:
2332)
at com.webobjects.appserver.WOAction.pageWithName(WOAction.java:125)
at
org
.jcommops
.googleEarth.ptf.DirectAction.PtfComponentAction(DirectAction.java:39)
... skipped 4 stack elements
at
com
.webobjects
.appserver.WODirectAction.performActionNamed(WODirectAction.java:144)
at
er
.extensions
.appserver.ERXDirectAction.performActionNamed(ERXDirectAction.java:
385)
... skipped 9 stack elements
juin 15 12:22:30 MainBundle[2000] ERROR
er.extensions.appserver.ERXApplication - Exception caught: null
Extra info: {
"Bundles" = {
"ERExtensions" = "";
"JavaWebObjects" = "5.4.3";
"JavaWOExtensions" = "";
"JavaJDBCAdaptor" = "5.4.3";
"JavaEOProject" = "5.4";
"JavaXML" = "5.4.2";
"JavaEOAccess" = "5.4.3";
"JavaEOControl" = "5.4.2";
"JavaFoundation" = "5.4.3";
"JavaWOJSPServlet" = "5.4.2";
"MainBundle" = "";
"JavaDirectToWeb" = "5.4.3";
"JavaDTWGeneration" = "5.4";
};
"Headers" = {
"x-forwarded-for" = "10.1.254.34";
"cache-control" = "max-age=0";
"accept-encoding" = "gzip,deflate,sdch";
"cookie" =
"__utmz=263318924.1274877205.1.1.utmcsr=(direct)|utmccn=(direct)|
utmcmd=(none);
__utma=263318924.1495810412.1274877205.1275298182.1275316175.11";
"user-agent" = "Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70
Safari/533.4";
"accept-charset" = "ISO-8859-1,utf-8;q=0.7,*;q=0.3";
"accept" = "application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
"host" = "10.1.254.34:2000";
"via" = "1.1 proxy:8080 (squid/2.5.STABLE14)";
"accept-language" = "en-US,en;q=0.8";
"connection" = "keep-alive";
};
"PreviousPageList" = ();
"Session" = "<org.jcommops.googleEarth.ptf.Session
sessionID=qzgQ3jlbr5aDknRO4JL1Hw timeOut(sec)=3600.0
terminating=false _wasTimedOut=false contextArray=null
contextPageInfos=null languages=null componentState=null
currentContextID=0 distributionEnabled=false
cookieRendezVousEnabled=false URLRendezVousEnabled=true>";
"URL" = "/cgi-bin/WebObjects/jcommops-ptf.woa/wa/PtfComponent?
code=7900233&prog=Argo";
}
ClassNotFoundException: Agency
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at er.extensions.eof.ERXEntityClassDescription
$Factory.registerDescriptionForEntity(ERXEntityClassDescription.java:
580)
at er.extensions.eof.ERXEntityClassDescription
$
Factory
.registerDescriptionForEntitiesInModel
(ERXEntityClassDescription.java:534)
at er.extensions.eof.ERXEntityClassDescription
$Factory.modelWasAdded(ERXEntityClassDescription.java:343)
... skipped 8 stack elements
at er.extensions.eof.ERXModelGroup.addModel(ERXModelGroup.java:445)
at
er
.extensions.eof.ERXModelGroup.addModelWithPathURL(ERXModelGroup.java:
537)
at
er
.extensions
.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:271)
at
er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:145)
... 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
com
.webobjects
.eoaccess
.EOModelGroup.modelGroupForObjectStoreCoordinator(EOModelGroup.java:
797)
... skipped 10 stack elements
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._objectForPropertyList(EOKeyValueUnarchiver.java:192)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:
275)
at
com.webobjects.appserver.WODisplayGroup.<init>(WODisplayGroup.java:
2533)
at
com
.webobjects
.appserver
.WODisplayGroup.decodeWithKeyValueUnarchiver(WODisplayGroup.java:2522)
... skipped 4 stack elements
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._objectForPropertyList(EOKeyValueUnarchiver.java:192)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._dictionaryForPropertyList(EOKeyValueUnarchiver.java:239)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver
._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:258)
at
com
.webobjects
.eocontrol
.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:
275)
... skipped 2 stack elements
at com.webobjects.appserver.WOComponent.<init>(WOComponent.java:241)
at
org
.jcommops
.googleEarth.ptf.components.PtfComponent.<init>(PtfComponent.java:425)
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
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:614)
... skipped 2 stack elements
at
com
.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:
2332)
at com.webobjects.appserver.WOAction.pageWithName(WOAction.java:125)
at
org
.jcommops
.googleEarth.ptf.DirectAction.PtfComponentAction(DirectAction.java:39)
... skipped 4 stack elements
at
com
.webobjects
.appserver.WODirectAction.performActionNamed(WODirectAction.java:144)
at
er
.extensions
.appserver.ERXDirectAction.performActionNamed(ERXDirectAction.java:
385)
... skipped 9 stack elements
juin 15 12:22:30 MainBundle[2000] WARN NSLog - WOExceptionParser -
exception collecting backtrace data java.lang.NullPointerException -
Empty backtrace.
[2010-6-15 12:22:30 CEST] <WorkerThread0>
java.lang.NullPointerException
at
com
.webobjects
.woextensions
.WOExceptionParser._ignoredPackages(WOExceptionParser.java:63)
at
com
.webobjects
.woextensions
.WOExceptionParser._parseException(WOExceptionParser.java:105)
at
com
.webobjects
.woextensions.WOExceptionParser.<init>(WOExceptionParser.java:44)
at
com
.webobjects
.woextensions.WOExceptionPage.setException(WOExceptionPage.java:33)
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
.woextensions
.KeyValueCodingProtectedAccessor
.setMethodValue(KeyValueCodingProtectedAccessor.java:34)
at com.webobjects.foundation.NSKeyValueCoding
$_MethodBinding.setValueInObject(NSKeyValueCoding.java:1150)
at com.webobjects.foundation.NSKeyValueCoding
$DefaultImplementation.takeValueForKey(NSKeyValueCoding.java:1354)
at
com
.webobjects.appserver.WOComponent.takeValueForKey(WOComponent.java:
1748)
at
com
.webobjects.appserver.WOApplication._handleError(WOApplication.java:
3093)
at
com
.webobjects
.appserver.WOApplication.handleException(WOApplication.java:3245)
at
er
.extensions
.appserver.ERXApplication.handleException(ERXApplication.java:1706)
at
er
.extensions
.appserver
.ERXApplication.handleActionRequestError(ERXApplication.java:1639)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:
271)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
at
er
.extensions
.appserver
.ERXDirectActionRequestHandler
.handleRequest(ERXDirectActionRequestHandler.java:124)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at
er
.extensions
.appserver
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1920)
at
er
.extensions
.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1885)
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:619)
If someone have an idea of what happens ….
Thanks,
Laurent Cros
Software engineer
Société CLS
8-10rue Hermès, Parc technologique du canal
31560 Ramonville Saint-Agne France
Tel. +33 5 61 393 701
Fax +33 5 61 394 750
<image001.gif>
_______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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