Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1328

NPE: Loading Local Fabric data

XMLWordPrintable

      1. start JBoss Fuse 6.1.0.GA
      2. create a fabric
      3. connect to the fabric
      4. in Fabric8 Explorer expand Local Fabric node and select Containers
      5. select Local Fabric node

      The following error occures only with JBoss Fuse 6.1.0.GA (JBoss Fuse 6.2.0.ER3 is ok). See steps to reproduce.

      eclipse.buildId=unknown
      java.version=1.7.0_79
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/jbds-8.1.0.GA_jbdsis-8.0.2.ER1/resources/pluginCustomization.ini
      Command-line arguments:  -data /home/tsedmik/workspaceooo -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/jbds-8.1.0.GA_jbdsis-8.0.2.ER1/resources/pluginCustomization.ini
      
      org.eclipse.core.jobs
      Error
      Mon May 11 14:20:25 CEST 2015
      An internal error occurred during: "Loading Local Fabric data...".
      
      java.lang.NullPointerException
      	at org.fusesource.ide.fabric8.ui.navigator.Fabric.getProfileStatuses(Fabric.java:579)
      	at org.fusesource.ide.fabric8.ui.navigator.properties.FabricStatusTabSection.getProfileStatuses(FabricStatusTabSection.java:219)
      	at org.fusesource.ide.fabric8.ui.navigator.properties.FabricStatusTabSection$2.run(FabricStatusTabSection.java:106)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      
      eclipse.buildId=unknown
      java.version=1.7.0_79
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/jbds-8.1.0.GA_jbdsis-8.0.2.ER1/resources/pluginCustomization.ini
      Command-line arguments:  -data /home/tsedmik/workspaceooo -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/jbds-8.1.0.GA_jbdsis-8.0.2.ER1/resources/pluginCustomization.ini
      
      org.eclipse.ui
      Error
      Mon May 11 14:24:39 CEST 2015
      Unhandled event loop exception
      
      org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
      	at org.eclipse.swt.SWT.error(SWT.java:4441)
      	at org.eclipse.swt.SWT.error(SWT.java:4356)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:139)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	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:606)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      Caused by: java.lang.NullPointerException
      	at org.fusesource.ide.fabric8.ui.navigator.Fabric.getProfileStatuses(Fabric.java:579)
      	at org.fusesource.ide.fabric8.ui.navigator.properties.FabricStatusTabSection.getProfileStatuses(FabricStatusTabSection.java:219)
      	at org.fusesource.ide.fabric8.ui.navigator.properties.FabricStatusTabSection.updateData(FabricStatusTabSection.java:215)
      	at org.fusesource.ide.fabric8.ui.navigator.properties.FabricStatusTabSection$5.run(FabricStatusTabSection.java:204)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
      	... 24 more
      

              lheinema@redhat.com Lars Heinemann
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: