are you using the latest project wonder?
On Aug 28, 2010, at 6:16 PM, Ricardo Parada wrote:
> Hi,
>
> I tried the bundle less builds in WOLips 3.6 but I seem to get an error when launching the application.
>
> I'm using Eclipse 3.6.0 carbon and WOLips 3.6.6142.
>
> I right click on the Application.java and select Debug As : WOApplication. Then in the console I see the error below during launch. It seems like it's not finding the Properties file even though it's there in my app's Resources folder. Any ideas?
> If I select back the "Generate bundles" check box in Preferences : WOLips : Build and rebuild everything then it launches fine.
>
> Thanks in advance
>
>
> [2010-8-28 17:13:2 EDT] <main> Initialized : er.extensions.ERXExtensions
> [2010-8-28 17:13:4 EDT] <main> A fatal exception occurred: null
> [2010-8-28 17:13:4 EDT] <main> java.lang.ExceptionInInitializerError
> at com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116)
> at com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317)
> at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743)
> at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779)
> at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:22)
> at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:943)
> at com.mpv.webcomponents.MPVWOApplication.<init>(MPVWOApplication.java:38)
> at com.mpv.webapp.phynance.Application.<init>(Application.java:62)
> 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:726)
> at com.mpv.webapp.phynance.Application.main(Application.java:42)
> Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file can't be read. Did you run as a Java Application instead of a WOApplication in WOLips?
> Please post your deployment configuration in the Wonder mailing list.
> at er.extensions.appserver.ERXApplication$Loader.collectMainProps(ERXApplication.java:645)
> at er.extensions.appserver.ERXApplication$Loader.bundleDidLoad(ERXApplication.java:542)
> 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.langreflect.Method.invoke(Method.java:597)
> at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
> at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
> at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
> at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:562)
> at com.webobjects.foundation.NSBundle.postNotification(NSBundle.java:1819)
> at com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.java:490)
> at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:2109)
> ... 17 more
>
This archive was generated by hypermail 2.0.0 : Sat Aug 28 2010 - 22:25:31 UTC