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

BPMN to jBPM export broken - NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.2.1.CR2
    • 3.2.0.CR1
    • bpm
    • None

      Steps:
      1. Create project
      2. Create default empty bpmn diagram, save
      3. Export -> BPMN to jPDL

      java.lang.NullPointerException
      at org.jboss.tools.jbpm.convert.bpmnto.wizard.ProjectFilter.hasBPMNResources(BPMNResourcesChoicePage.java:148)
      at org.jboss.tools.jbpm.convert.bpmnto.wizard.ProjectFilter.hasBPMNResources(BPMNResourcesChoicePage.java:153)
      at org.jboss.tools.jbpm.convert.bpmnto.wizard.ProjectFilter.hasBPMNResources(BPMNResourcesChoicePage.java:153)
      at org.jboss.tools.jbpm.convert.bpmnto.wizard.ProjectFilter.select(BPMNResourcesChoicePage.java:135)
      at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51)
      at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:900)
      at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:601)
      at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:801)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:778)
      at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644)
      at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:749)
      at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1492)
      at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:833)
      at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1476)
      at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422)
      at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
      at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383)
      at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1469)
      at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
      at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1664)
      at org.jboss.tools.jbpm.convert.bpmnto.wizard.BPMNResourcesChoicePage.initializePage(BPMNResourcesChoicePage.java:72)
      at org.jboss.tools.jbpm.convert.bpmnto.wizard.AbstractConvertWizardPage.createControl(AbstractConvertWizardPage.java:45)
      at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
      at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:734)
      at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1162)
      at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1221)
      at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1218)
      at org.eclipse.jface.wizard.WizardDialog$6.run(WizardDialog.java:1207)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1205)
      at org.eclipse.ui.internal.dialogs.ImportExportPage.treeDoubleClicked(ImportExportPage.java:234)
      at org.eclipse.ui.internal.dialogs.ExportPage$2.doubleClick(ExportPage.java:71)
      at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:824)
      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.StructuredViewer.fireDoubleClick(StructuredViewer.java:822)
      at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1421)
      at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1225)
      at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
      at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
      at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      at org.eclipse.jface.window.Window.open(Window.java:801)
      at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:98)
      at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274)
      at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
      at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
      at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
      at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
      at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
      at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:116)
      at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
      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$5.handleEvent(ActionContributionItem.java:411)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      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:369)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

        1. PolicyPricingProcess.bpmn
          4 kB
        2. PolicyPricingProcess.bpmn_diagram
          16 kB
        3. JBIDE-8288.patch
          2 kB
        4. JBIDE-8288.patch
          2 kB

              Grid.Qian Feng Qian (Inactive)
              jpeterka_jira Jiri Peterka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: