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

Fix NPE CamelVirtualFolder.getAncestorDirectChildOfProject

XMLWordPrintable

      detected while launching RedDeer UI tests from integration-stack-tests, there are tons of this stack

      java.lang.NullPointerException
      	at org.fusesource.ide.project.providers.CamelVirtualFolder.getAncestorDirectChildOfProject(CamelVirtualFolder.java:141)
      	at org.fusesource.ide.project.providers.CamelVirtualFolder.getAncestorDirectChildOfProject(CamelVirtualFolder.java:145)
      	at org.fusesource.ide.project.providers.CamelVirtualFolder.getAncestorDirectChildOfProject(CamelVirtualFolder.java:145)
      	at org.fusesource.ide.project.providers.CamelVirtualFolder.access$0(CamelVirtualFolder.java:140)
      	at org.fusesource.ide.project.providers.CamelVirtualFolder$DeltaPrinter.visit(CamelVirtualFolder.java:116)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:64)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
      	at org.fusesource.ide.project.providers.CamelVirtualFolder$CamelVirtualFolderListener.resourceChanged(CamelVirtualFolder.java:87)
      	at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:299)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:289)
      	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:152)
      	at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:374)
      	at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1469)
      	at org.eclipse.core.internal.resources.Project.create(Project.java:307)
      	at org.eclipse.core.internal.resources.Project.create(Project.java:247)
      	at org.eclipse.core.internal.resources.Project.create(Project.java:242)
      	at org.fusesource.ide.projecttemplates.util.BasicProjectCreator.create(BasicProjectCreator.java:57)
      	at org.fusesource.ide.projecttemplates.wizards.FuseIntegrationProjectCreatorRunnable.run(FuseIntegrationProjectCreatorRunnable.java:96)
      	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
      	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:992)
      	at org.fusesource.ide.projecttemplates.wizards.FuseIntegrationProjectWizard.performFinish(FuseIntegrationProjectWizard.java:78)
      	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:789)
      	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:423)
      	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:622)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4431)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802)
      	at org.jboss.reddeer.core.handler.WidgetHandler$5.run(WidgetHandler.java:396)
      	at org.jboss.reddeer.core.util.Display$VoidResultRunnable.run(Display.java:197)
      	at org.jboss.reddeer.core.util.Display$VoidResultRunnable.run(Display.java:1)
      	at org.jboss.reddeer.core.util.Display$ErrorHandlingRunnable.run(Display.java:163)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4216)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3823)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
      	at org.eclipse.jface.window.Window.open(Window.java:794)
      	at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:269)
      	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      	at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:350)
      	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:151)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4431)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802)
      	at org.jboss.reddeer.core.handler.MenuHandler$6.run(MenuHandler.java:138)
      	at org.jboss.reddeer.core.util.Display$VoidResultRunnable.run(Display.java:197)
      	at org.jboss.reddeer.core.util.Display$VoidResultRunnable.run(Display.java:1)
      	at org.jboss.reddeer.core.util.Display$ErrorHandlingRunnable.run(Display.java:163)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4216)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3823)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1133)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:684)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      	at org.jboss.reddeer.eclipse.core.UITestApplication.start(UITestApplication.java:57)
      	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:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      

              apupier@redhat.com Aurélien Pupier
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: