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

NPE while creating new Camel test case, happened once

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 11.6.0
    • Wizards
    • None

      I got NPE Error in Eclipse IDE while creating new Camel test case. But popped out once and did not happen again.

      From installation details:
      Red Hat Red Hat Fuse Tooling for Eclipse 11.6.0.v20200312-1430 org.jboss.tools.fuse.transformation.feature, so you can aim the version.

      eclipse.buildId=4.15.0.I20200305-0155
      java.version=11.0.6
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -data file:/home/odockal/eclipse-workspace-JBT415/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
      
      org.eclipse.jface
      Error
      Fri Apr 17 10:29:47 CEST 2020
      Problems occurred when invoking code from plug-in: "org.eclipse.jface".
      
      java.lang.NullPointerException
      	at org.fusesource.ide.branding.wizards.NewCamelTestWizardPageOne.init(NewCamelTestWizardPageOne.java:951)
      	at org.fusesource.ide.branding.wizards.NewCamelTestWizard.addPages(NewCamelTestWizard.java:79)
      	at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:119)
      	at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:98)
      	at org.eclipse.ui.internal.dialogs.NewWizardSelectionPage.advanceToNextPageOrFinish(NewWizardSelectionPage.java:73)
      	at org.eclipse.ui.internal.dialogs.NewWizardNewPage.lambda$0(NewWizardNewPage.java:342)
      	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:782)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
      	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:779)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1526)
      	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1210)
      	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:251)
      	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)
      	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:308)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5687)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4955)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4448)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
      	at org.eclipse.jface.window.Window.open(Window.java:799)
      	at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:260)
      	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:280)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:318)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:252)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
      	at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:389)
      	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:142)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:579)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:413)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5687)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4955)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4448)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:658)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
      
      
      

              Unassigned Unassigned
              odockal@redhat.com Ondrej Dockal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: