Hi, after updating JRebel from 5.6.2 to 5.6.3, my application won't launch any more in Eclipse 3.8:
> 2014-09-12 10:30:34 JRebel: ERROR Failed to start a plugin > org.zeroturnaround.javarebel.webobjects.WebObjectsPlugin in > sun.misc.Launcher$AppClassLoader@43be2d65: java.lang.NullPointerException > at > org.zeroturnaround.javarebel.webobjects.WebObjectsPlugin.preinit(WebObjectsPlugin.java:28) > at com.zeroturnaround.javarebel.uB.a(JRebel:397) > at com.zeroturnaround.javarebel.uB.a(JRebel:497) > at com.zeroturnaround.javarebel.yL.e(JRebel:141) > at com.zeroturnaround.javarebel.yL.g(JRebel:162) > at com.zeroturnaround.javarebel.yL.a(JRebel:102) > at com.zeroturnaround.javarebel.yC.loadReloadableClass(JRebel:313) > at > com.zeroturnaround.javarebel.SDKIntegrationImpl.findReloadableClass(JRebel:85) > at com.zeroturnaround.javarebel.yU.findReloadableClass(JRebel:16) > at java.net.URLClassLoader.findClass(URLClassLoader.java) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) The JRebel support suggested adding -Drebel.wo.optimize=true to the VM arguments, which works but gets me only to: > Sep 12 11:12:02 N/A[N/A] WARN NSLog - A fatal exception occurred: > org.zeroturnaround.javarebel.webobjects.WebObjectsPlugin.isEnabled()Z > [2014-9-12 11:12:2 MESZ] <main> java.lang.NoSuchMethodError: > org.zeroturnaround.javarebel.webobjects.WebObjectsPlugin.isEnabled()Z > at er.wojrebel.WOJRebel.<clinit>(WOJRebel.java:23) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:171) > at > com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:350) > at com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:334) > at com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:2410) > at com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:719) > at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:376) > 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:30) > at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1097) The failing code snippet is: if (ReloaderFactory.getInstance().isReloadEnabled() && WebObjectsPlugin.isEnabled()) { new WOJRebelSupport(); } JRebel support answered: > This something what's throwing the errors seems bit dated, to say the least, > as the plugin (3rd party contribution, to be noted) doesn't have such method. Does anyone else have similar problems? Maik
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com