WO apps don't start after rebuild
---------------------------------
Key: WOL-1050
URL: http://issues.objectstyle.org/jira/browse/WOL-1050
Project: WOProject/WOLips
Issue Type: Bug
Environment: wolips r5881, eclipse 3.5 brach
Reporter: Timo Höpfner
Priority: Blocker
Pure WO app (w/o Wonder) starts, but thinks it's name is "MainBundle" instead the name I gave to it.
Wonder apps fail to start with an obscure NPE during bundle loading. Example for AjaxExample at the bottom.
I guess it's the Info.plist generation changed in r5879.
Going back to r5876 and doing a full rebuild fixes the problem.
--- snip ---
[2009-08-05 12:00:30 CEST] <main> Initialized : er.extensions.ERXExtensions
0 [main] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties.
61 [main] DEBUG NSLog - WOMaxIOBufferSize=8196
61 [main] DEBUG NSLog - WOWorkerThreadCountMin=16
62 [main] DEBUG NSLog - WOSocketMonitorSleepTime=50
62 [main] DEBUG NSLog - WODirectConnectEnabled=false
62 [main] DEBUG NSLog - WOIncludeCommentsInResponse=false
62 [main] DEBUG NSLog - WOWorkerThreadCount=8
62 [main] DEBUG NSLog - WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
62 [main] DEBUG NSLog - WOHost=localhost
62 [main] DEBUG NSLog - WOIDE=WOLips
62 [main] DEBUG NSLog - WODebuggingEnabled=true
62 [main] DEBUG NSLog - WOListenQueueSize=128
62 [main] DEBUG NSLog - WOMissingResourceSearchEnabled=true
62 [main] DEBUG NSLog - WOApplicationClassName=Application
62 [main] DEBUG NSLog - WOSessionStoreClassName=WOServerSessionStore
62 [main] DEBUG NSLog - WOContextClassName=WOContext
62 [main] DEBUG NSLog - WOCachingEnabled=false
62 [main] DEBUG NSLog - WOAcceptMalformedCookies=false
62 [main] DEBUG NSLog - NSProjectSearchPath=(..,../..,/Users/th/Wonder/Frameworks/Core/ERExtensions,/Users/th/Wonder/Frameworks/Core/ERJars,/Users/th/Wonder/Frameworks/Core/JavaWOExtensions,/Users/th/Wonder/Frameworks/Ajax/Ajax,/Users/th/Wonder/Frameworks/EOAdaptors/JavaMemoryAdaptor,/Users/th/Wonder/Frameworks/Core/ERPrototypes)
62 [main] DEBUG NSLog - WOMonitorEnabled=false
65 [main] DEBUG NSLog - WOAllowRapidTurnaround=true
65 [main] DEBUG NSLog - WOGenerateWSDL=true
65 [main] DEBUG NSLog - WOWorkerThreadCountMax=256
65 [main] DEBUG NSLog - WOAllowsConcurrentRequestHandling=false
66 [main] DEBUG NSLog - WOAdaptor=WODefaultAdaptor
66 [main] DEBUG NSLog - WOSessionTimeOut=3600
66 [main] DEBUG NSLog - WOMaxSocketIdleTime=180000
66 [main] DEBUG NSLog - WODefaultUndoStackLimit=10
66 [main] DEBUG NSLog - WOAutoOpenClientApplication=true
66 [main] DEBUG NSLog - WOAutoOpenInBrowser=true
66 [main] DEBUG NSLog - WOApplicationBaseURL=/WebObjects
66 [main] DEBUG NSLog - WOMaxHeaders=200
66 [main] DEBUG NSLog - WOLifebeatEnabled=true
66 [main] DEBUG NSLog - WOAllowsCacheControlHeader=true
66 [main] DEBUG NSLog - WOSMTPHost=smtp
66 [main] DEBUG NSLog - WOFrameworksBaseURL=/WebObjects/Frameworks
66 [main] DEBUG NSLog - WOAdditionalAdaptors=()
67 [main] DEBUG NSLog - WOStatisticsStoreSessionMax=50
67 [main] DEBUG NSLog - WOLifebeatDestinationPort=1085
67 [main] DEBUG NSLog - WOPort=-1
67 [main] DEBUG NSLog - WOLifebeatInterval=30
67 [main] DEBUG NSLog - WOSocketCacheSize=100
67 [main] DEBUG NSLog - WOUserDirectory=/Users/th/Wonder/Examples/Ajax/AjaxExample/build/AjaxExample.woa
67 [main] DEBUG NSLog - WODisplayExceptionPages=true
67 [main] DEBUG NSLog - ------------------------
98 [main] DEBUG NSLog - Created adaptor of class WODefaultAdaptor on port 49666 and address localhost/127.0.0.1 with WOWorkerThread minimum of 16 and maximum of 256
119 [main] DEBUG NSLog - NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle. Ignoring optional configuration file.
Installed NSProjectSearchPath fix
178 [main] WARN NSLog - <WOResourceManager> Unable to initialize AppProjectBundle for reason:java.lang.NullPointerException
[2009-08-05 12:00:31 CEST] <main> java.lang.NullPointerException
at com.webobjects._ideservices._IDEProjectPB.bundlePath(_IDEProjectPB.java:337)
at com.webobjects._ideservices._WOProject.bundlePath(_WOProject.java:585)
at com.webobjects.appserver._private.WOProjectBundle._initBundlePath(WOProjectBundle.java:69)
at com.webobjects.appserver._private.WODeployedBundle.<init>(WODeployedBundle.java:63)
at com.webobjects.appserver._private.WOProjectBundle.<init>(WOProjectBundle.java:27)
at com.webobjects.appserver._private.WOProjectBundle.bundleWithPath(WOProjectBundle.java:222)
at com.webobjects.appserver._private.WOProjectBundle._projectsInDirectory(WOProjectBundle.java:253)
at com.webobjects.appserver._private.WOProjectBundle._WOAllProjects(WOProjectBundle.java:399)
at com.webobjects.appserver._private.WOProjectBundle.projectBundleForProject(WOProjectBundle.java:434)
at com.webobjects.appserver._private.WODeployedBundle.projectBundle(WODeployedBundle.java:693)
at com.webobjects.appserver.WOResourceManager._initAppBundle(WOResourceManager.java:88)
at com.webobjects.appserver.WOResourceManager.<init>(WOResourceManager.java:34)
at er.extensions.appserver.ERXResourceManager.<init>(ERXResourceManager.java:43)
at er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:837)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:608)
at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:23)
at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:844)
at Application.<init>(Application.java:19)
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.appserver.WOApplication.main(WOApplication.java:323)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:632)
at Application.main(Application.java:15)
185 [main] WARN NSLog - <WOApplication>: Cannot be initialized.null
185 [main] WARN NSLog - A fatal exception occurred: null: <WOApplication>: Cannot be initialized.
[2009-08-05 12:00:31 CEST] <main> com.webobjects.foundation.NSForwardException for java.lang.NullPointerException
at com.webobjects._ideservices._IDEProjectPB.bundlePath(_IDEProjectPB.java:337)
at com.webobjects._ideservices._WOProject.bundlePath(_WOProject.java:585)
at com.webobjects.appserver._private.WOProjectBundle._initBundlePath(WOProjectBundle.java:69)
at com.webobjects.appserver._private.WODeployedBundle.<init>(WODeployedBundle.java:63)
at com.webobjects.appserver._private.WOProjectBundle.<init>(WOProjectBundle.java:27)
at com.webobjects.appserver._private.WOProjectBundle.bundleWithPath(WOProjectBundle.java:222)
at com.webobjects.appserver._private.WOProjectBundle._projectsInDirectory(WOProjectBundle.java:253)
at com.webobjects.appserver._private.WOProjectBundle._WOAllProjects(WOProjectBundle.java:399)
at com.webobjects.appserver._private.WOProjectBundle.projectBundleForProject(WOProjectBundle.java:434)
at com.webobjects.appserver._private.WODeployedBundle.projectBundle(WODeployedBundle.java:693)
at com.webobjects.appserver.WOResourceManager._initAppBundle(WOResourceManager.java:88)
at com.webobjects.appserver.WOResourceManager.<init>(WOResourceManager.java:34)
at er.extensions.appserver.ERXResourceManager.<init>(ERXResourceManager.java:43)
at er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:837)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:608)
at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:23)
at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:844)
at Application.<init>(Application.java:19)
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.appserver.WOApplication.main(WOApplication.java:323)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:632)
at Application.main(Application.java:15)
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Wed Aug 05 2009 - 07:05:39 EDT