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

NPE during eclipse startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.3.0.CR1
    • 3.2.1.CR1
    • server
    • None

      I get this error whenever I start up eclipse

      What steps will reproduce the problem?
      1. Start eclipse
      2.
      3.

      Versions:

      JMX Console: 1.2.0.v20120526-0204-H835-CR1
      Project Examples: 1.2.1.v20120526-0515-H675-CR1
      JBoss Runtime Initializer: 1.3.0.v20120131-1005-H550-Beta1
      JBoss Runtime AS Detector: 1.3.0.v20120526-0503-H740-CR1
      Jboss RuntimeDetection: 1.3.0.v20120526-0503-H740-CR1
      JBoss Maven Project Examples: 1.3.0.v20120526-0648-H641-Final
      JBossAS Tools: 2.3.0.v20120526-0215-H1341-CR1
      JBossAS Tools Server/Compression Integration: 2.3.0.v20120526-0215-H1341-CR1
      JBossAS Tools Server/JMX Integration: 2.3.0.v20120526-0215-H1341-CR1
      JBossAS Tools Server/Remote Systems Integration: 2.3.0.v20120526-0215-H1341-CR1
      JBOSS Archives Tools: 3.2.1.v20120526-0206-H925-CR1

      – Error Details –
      Date: Wed May 30 12:12:45 PDT 2012
      Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface".
      Severity: Error
      Product: Eclipse 1.5.0.20120131-1544 (org.eclipse.epp.package.jee.product)
      Plugin: org.eclipse.jface
      Session Data:
      eclipse.buildId=I20120518-2145
      java.version=1.7.0_04
      java.vendor=Oracle Corporation
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_CA
      Framework arguments: -product org.eclipse.epp.package.jee.product
      Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

      Exception Stack Trace:
      java.lang.NullPointerException
      at org.jboss.ide.eclipse.as.core.util.ServerUtil.isJBoss7(ServerUtil.java:108)
      at org.jboss.ide.eclipse.as.core.util.ServerUtil.isJBoss7(ServerUtil.java:104)
      at org.jboss.ide.eclipse.as.ui.views.server.extensions.ShowInWebManagementActionProvider.accepts(ShowInWebManagementActionProvider.java:35)
      at org.jboss.ide.eclipse.as.ui.views.server.extensions.AbstractOpenBrowserServerAction$OpenBrowserAction.accept(AbstractOpenBrowserServerAction.java:98)
      at org.eclipse.wst.server.ui.internal.view.servers.AbstractServerAction.selectionChanged(AbstractServerAction.java:85)
      at org.eclipse.ui.actions.SelectionProviderAction.selectionChanged(SelectionProviderAction.java:143)
      at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
      at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
      at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1725)
      at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1139)
      at org.eclipse.ui.navigator.CommonViewer.setSelection(CommonViewer.java:377)
      at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:394)
      at org.eclipse.mylyn.internal.context.ui.FocusedViewerManager.initializeViewerSelection(FocusedViewerManager.java:454)
      at org.eclipse.mylyn.internal.context.ui.ContextUiPlugin.lazyStart(ContextUiPlugin.java:264)
      at org.eclipse.mylyn.internal.context.ui.ContextUiPlugin.initLazyStart(ContextUiPlugin.java:225)
      at org.eclipse.mylyn.internal.context.ui.ContextUiPlugin.access$0(ContextUiPlugin.java:221)
      at org.eclipse.mylyn.internal.context.ui.ContextUiPlugin$ContextActivationListener.contextChanged(ContextUiPlugin.java:85)
      at org.eclipse.mylyn.internal.context.core.InteractionContextManager$1.run(InteractionContextManager.java:174)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.mylyn.internal.context.core.InteractionContextManager.activateContext(InteractionContextManager.java:165)
      at org.eclipse.mylyn.internal.context.tasks.ui.TaskActivityMonitor$2.taskActivated(TaskActivityMonitor.java:75)
      at org.eclipse.mylyn.internal.tasks.core.TaskActivityManager.activateTask(TaskActivityManager.java:479)
      at org.eclipse.mylyn.internal.tasks.ui.commands.ActivateTaskHandler.execute(ActivateTaskHandler.java:30)
      at org.eclipse.mylyn.internal.tasks.ui.commands.AbstractTaskHandler.process(AbstractTaskHandler.java:80)
      at org.eclipse.mylyn.internal.tasks.ui.commands.AbstractTaskHandler.process(AbstractTaskHandler.java:64)
      at org.eclipse.mylyn.internal.tasks.ui.commands.AbstractTaskHandler.execute(AbstractTaskHandler.java:46)
      at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
      at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
      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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:229)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:210)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
      at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
      at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommandInContext(LegacyHandlerService.java:544)
      at org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.executeCommand(TasksUiInternal.java:1228)
      at org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.activateTaskThroughCommand(TasksUiInternal.java:1274)
      at org.eclipse.mylyn.internal.tasks.ui.views.TaskListCellModifier.toggleTaskActivation(TaskListCellModifier.java:130)
      at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView$11.mouseUp(TaskListView.java:895)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1021)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:915)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
      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)

              manderse@redhat.com Max Andersen
              gnl_jira George Lindholm (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: