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

NPE when trying to open "Open CDI Named Bean"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.0.0.Alpha1
    • 4.0.0.Alpha1
    • cdi
    • None

      Try to open "Open CDI Named Bean" (Ctrl+Alt+Z):

      java.lang.NullPointerException
      	at org.jboss.tools.cdi.ui.wizard.OpenCDINamedBeanDialog$CDINamedBeanLabelProvider.<init>(OpenCDINamedBeanDialog.java:381)
      	at org.jboss.tools.cdi.ui.wizard.OpenCDINamedBeanDialog.<init>(OpenCDINamedBeanDialog.java:85)
      	at org.jboss.tools.cdi.ui.wizard.OpenCDINamedBeanDialog.<init>(OpenCDINamedBeanDialog.java:76)
      	at org.jboss.tools.cdi.ui.actions.OpenCDINamedBeanAction.runWithEvent(OpenCDINamedBeanAction.java:50)
      	at org.jboss.tools.cdi.ui.actions.OpenCDINamedBeanAction.runWithEvent(OpenCDINamedBeanAction.java:89)
      	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
      	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
      	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)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      

      org.jboss.tools.cdi.ui.test.wizard.OpenCDINamedBeanDialogTest should pass too

              alexeykazakov Alexey Kazakov
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: