Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3737

NullPointerException for kaleo nodes when do some changes

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.2, 3.2 M1
    • 3.2 M1
    • Kaleo Designer
    • None

    Description

      1.new module project then new kaleo workflow
      2.drag and drop fork node
      3.in the wizard, click “Restore default value”
      4.click finish
      But it couldn't reproduce stable.

      Error log:
      java.lang.NullPointerException
      at com.liferay.ide.kaleo.ui.diagram.NewNodeAddActionHandler.run(NewNodeAddActionHandler.java:103)
      at org.eclipse.sapphire.ui.SapphireActionHandler.execute(SapphireActionHandler.java:95)
      at org.eclipse.sapphire.ui.swt.gef.commands.CreateNodeCommand.execute(CreateNodeCommand.java:57)
      at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:228)
      at org.eclipse.sapphire.ui.swt.gef.dnd.SapphireTemplateTransferDropTargetListener.handleDrop(SapphireTemplateTransferDropTargetListener.java:50)
      at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:183)
      at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:219)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:216)
      at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:91)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      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.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:472)
      at org.eclipse.swt.dnd.DropTarget.Drop_64(DropTarget.java:406)
      at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:270)
      at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
      at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
      at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:378)
      at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:304)
      at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:173)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      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:150)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      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(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

      Attachments

        Activity

          People

            charles.wu Charles Wu (Inactive)
            ying.xu Ying Xu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 30 weeks, 5 days ago

              Packages

                Version Package
                3.2 M1