Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12578

Runtime FrameworkEvent ERROR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha2
    • 4.0.0.Alpha1
    • runtime-detection
    • None
    • Hide

      I don't know if with these steps it is 100% reproducible, but I hope they will help:

      EXEC: open fresh workspace in Eclipse Juno with JBT 4.0.0 Alpha1 installed
      EXEC: create new 7.1.1 runtime
      EXEC: create dynamic web project with 7.1.1 targeted runtime
      EXEC: restart eclipse (maybe more restarts are need to reproduce it)
      FAIL: there is error in error log:

      org.osgi.framework.BundleException: Exception in org.jboss.tools.runtime.ui.RuntimeUIActivator.stop() of bundle org.jboss.tools.runtime.ui.
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:791)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
      	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
      	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
      	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:693)
      	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      Caused by: java.lang.NullPointerException
      	at org.jboss.tools.runtime.ui.RuntimeUIActivator.saveRuntimePreferences(RuntimeUIActivator.java:281)
      	at org.jboss.tools.runtime.ui.RuntimeUIActivator.stop(RuntimeUIActivator.java:141)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
      	... 19 more
      Root exception:
      java.lang.NullPointerException
      	at org.jboss.tools.runtime.ui.RuntimeUIActivator.saveRuntimePreferences(RuntimeUIActivator.java:281)
      	at org.jboss.tools.runtime.ui.RuntimeUIActivator.stop(RuntimeUIActivator.java:141)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
      	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
      	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
      	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:693)
      	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      
      Show
      I don't know if with these steps it is 100% reproducible, but I hope they will help: EXEC: open fresh workspace in Eclipse Juno with JBT 4.0.0 Alpha1 installed EXEC: create new 7.1.1 runtime EXEC: create dynamic web project with 7.1.1 targeted runtime EXEC: restart eclipse (maybe more restarts are need to reproduce it) FAIL: there is error in error log: org.osgi.framework.BundleException: Exception in org.jboss.tools.runtime.ui.RuntimeUIActivator.stop() of bundle org.jboss.tools.runtime.ui. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:791) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:693) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) Caused by: java.lang.NullPointerException at org.jboss.tools.runtime.ui.RuntimeUIActivator.saveRuntimePreferences(RuntimeUIActivator.java:281) at org.jboss.tools.runtime.ui.RuntimeUIActivator.stop(RuntimeUIActivator.java:141) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) ... 19 more Root exception: java.lang.NullPointerException at org.jboss.tools.runtime.ui.RuntimeUIActivator.saveRuntimePreferences(RuntimeUIActivator.java:281) at org.jboss.tools.runtime.ui.RuntimeUIActivator.stop(RuntimeUIActivator.java:141) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:693) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

          jjankovi Jaroslav Jankovič (Inactive)
          jjankovi Jaroslav Jankovič (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved: