Re: Yet another newby question on the tutorial
Re: Yet another newby question on the tutorial
- Subject: Re: Yet another newby question on the tutorial
- From: Fabian Peters <email@hidden>
- Date: Mon, 19 Oct 2015 19:18:15 +0200
Hi Barry,
For a short while there was a wrong project name in the build.properties file of H2PlugIn. It was fixed with commit c9eb740 on 2015-10-02. Maybe that's the issue.
Fabian
> Am 19.10.2015 um 16:36 schrieb Barry Starrfield <email@hidden>:
>
> I’m getting back into WO, but struggling with the tutorial. On the RESTful app (https://wiki.wocommunity.org/display/WEB/Your+First+Rest+Project) I’m receiving the following error when it attempts the initial migration: Any advice?
>
> 2015-10-19 17:28:7 IDT] <main> <WOProjectBundle>: Warning - Unable to find project at path /Volumes/Multimedia/WonderSource/WonderSource/Frameworks/PlugIns/H2PlugIn/build/H2PlugIn.framework - Ignoring project.
> [2015-10-19 17:28:7 IDT] <main> java.lang.NullPointerException
> at com.webobjects._ideservices._IDEProjectWOLips.bundlePathURL(_IDEProjectWOLips.java:174)
> at com.webobjects._ideservices._WOProject.bundlePath(_WOProject.java:540)
> at com.webobjects.appserver._private.WOProjectBundle._initBundlePath(WOProjectBundle.java:92)
> at com.webobjects.appserver._private.WODeployedBundle.<init>(WODeployedBundle.java:90)
> at com.webobjects.appserver._private.WOProjectBundle.<init>(WOProjectBundle.java:40)
> at com.webobjects.appserver._private.WODeployedBundle.bundleWithNSBundle(WODeployedBundle.java:746)
> at com.webobjects.appserver.WOResourceManager._bundleWithNSBundle(WOResourceManager.java:186)
> at com.webobjects.appserver.WOResourceManager._locateBundleForFrameworkNamed(WOResourceManager.java:208)
> at com.webobjects.appserver.WOResourceManager._cachedBundleForFrameworkNamed(WOResourceManager.java:233)
> at com.webobjects.appserver.WOResourceManager._initFrameworkProjectBundles(WOResourceManager.java:254)
> at com.webobjects.appserver.WOResourceManager.<init>(WOResourceManager.java:69)
> at er.extensions.appserver.ERXResourceManager.<init>(ERXResourceManager.java:48)
> at er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1115)
> at com.webobjects.appserver.WOApplication.resourceManager(WOApplication.java:1663)
> at er.extensions.foundation.ERXFileUtilities.inputStreamForResourceNamed(ERXFileUtilities.java:627)
> at er.extensions.foundation.ERXFileUtilities.readPropertyListFromFileInFramework(ERXFileUtilities.java:820)
> at er.extensions.appserver.ERXResourceManager._additionalMimeTypes(ERXResourceManager.java:405)
> at er.extensions.appserver.ERXResourceManager.<clinit>(ERXResourceManager.java:46)
> at er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1115)
> at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:841)
> at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:30)
> at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1122)
> at your.app.Application.<init>(Application.java:10)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at java.lang.Class.newInstance(Class.java:442)
> at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
> at er.extensions.appserver.ERXApplication.main(ERXApplication.java:877)
> at your.app.Application.main(Application.java:7)
>
> - Application project found: Will locate resources in '/Volumes/Data/Workspace/RESTfulProject/build/RESTfulProject.woa' rather than '/Volumes/Data/Workspace/RESTfulProject/build/RESTfulProject.woa' .
> [2015-10-19 17:28:7 IDT] <main> Application project found: Will locate resources in '/Volumes/Data/Workspace/RESTfulProject/build/RESTfulProject.woa' rather than '/Volumes/Data/Workspace/RESTfulProject/build/RESTfulProject.woa' .
> - Application project found: Will locate resources in '/Volumes/Data/Workspace/RESTfulProject/build/RESTfulProject.woa' rather than '/Volumes/Data/Workspace/RESTfulProject/build/RESTfulProject.woa' .
> [2015-10-19 17:28:7 IDT] <main> Creating LifebeatThread now with: RESTfulProject -1 localhost/127.0.0.1 1085 30000
> [2015-10-19 17:28:7 IDT] <main> A fatal exception occurred: ERXExtensions have not been initialized. Debugging information can be enabled by adding the JVM argument: '-Der.extensions.appserver.projectBundleLoading=DEBUG'. Please report the classpath and the rest of the bundles to the Wonder mailing list:
> Remaining frameworks: [H2PlugIn]
> Classpath: /Volumes/Data/Workspace/RESTfulProject/build/RESTfulProject.woa/Contents/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERExtensions/build/ERExtensions.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERPrototypes/build/ERPrototypes.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/EOF/ERAttributeExtension/build/ERAttributeExtension.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/JavaWOExtensions/build/JavaWOExtensions.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/WOOgnl/build/WOOgnl.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/PlugIns/H2PlugIn/build/H2PlugIn.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/ERFoundation.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/ERWebObjects.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/Jav
aJDBCAdaptor.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-lang-2.6.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/joda-time-2.3.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/junit-4.10.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/icu4j-3_8_1.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/log4j-1.2.17.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-codec-1.10.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-cli-1.3.1.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-io-2.4.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-lang3-3.4.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-logging-1.2.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/fluent-hc-4.3.6.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/httpclient-4.3.6.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/httpclient-cache-4.3.6.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/httpcore-4.3.3.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/httpmime-4.3.6.jar:/Volumes/Multimedia/WonderSource/WonderSo
urce/Frameworks/Core/ERJars/Libraries/slf4j-log4j12-1.7.12.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/slf4j-api-1.7.12.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/ognl-3.1.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/javassist-3.20.0-GA.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/PlugIns/H2PlugIn/Libraries/h2-1.4.186.jar
> [2015-10-19 17:28:7 IDT] <main> java.lang.RuntimeException: ERXExtensions have not been initialized. Debugging information can be enabled by adding the JVM argument: '-Der.extensions.appserver.projectBundleLoading=DEBUG'. Please report the classpath and the rest of the bundles to the Wonder mailing list:
> Remaining frameworks: [H2PlugIn]
> Classpath: /Volumes/Data/Workspace/RESTfulProject/build/RESTfulProject.woa/Contents/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERExtensions/build/ERExtensions.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERPrototypes/build/ERPrototypes.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/EOF/ERAttributeExtension/build/ERAttributeExtension.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/JavaWOExtensions/build/JavaWOExtensions.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/WOOgnl/build/WOOgnl.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/PlugIns/H2PlugIn/build/H2PlugIn.framework/Resources/Java:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/ERFoundation.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/ERWebObjects.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/Jav
aJDBCAdaptor.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-lang-2.6.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/joda-time-2.3.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/junit-4.10.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/icu4j-3_8_1.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/log4j-1.2.17.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-codec-1.10.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-cli-1.3.1.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-io-2.4.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-lang3-3.4.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/commons-logging-1.2.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/fluent-hc-4.3.6.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/httpclient-4.3.6.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/httpclient-cache-4.3.6.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/httpcore-4.3.3.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/httpmime-4.3.6.jar:/Volumes/Multimedia/WonderSource/WonderSo
urce/Frameworks/Core/ERJars/Libraries/slf4j-log4j12-1.7.12.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/slf4j-api-1.7.12.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/ognl-3.1.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/Core/ERJars/Libraries/javassist-3.20.0-GA.jar:/Volumes/Multimedia/WonderSource/WonderSource/Frameworks/PlugIns/H2PlugIn/Libraries/h2-1.4.186.jar
> at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1168)
> at your.app.Application.<init>(Application.java:10)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at java.lang.Class.newInstance(Class.java:442)
> at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
> at er.extensions.appserver.ERXApplication.main(ERXApplication.java:877)
> at your.app.Application.main(Application.java:7)
>
> APPLICATION SHUTDOWN SEQUENCE COMPLETE
> _______________________________________________
> 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