Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.1.0.CR2
    • Fix Version/s: 3.1.0.CR2
    • Component/s: drools
    • Labels:
      None

      Description

      1)

      java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
      at java.util.ArrayList.RangeCheck(Unknown Source)
      at java.util.ArrayList.get(Unknown Source)
      at org.drools.eclipse.flow.ruleflow.editor.RuleFlowModelEditor.refreshPalette(RuleFlowModelEditor.java:106)
      at org.drools.eclipse.flow.ruleflow.editor.RuleFlowModelEditor.setInput(RuleFlowModelEditor.java:94)
      at org.eclipse.gef.ui.parts.GraphicalEditor.init(GraphicalEditor.java:318)
      at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:644)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
      at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
      at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
      at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
      at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:361)
      at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:168)
      at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
      at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
      at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
      at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
      at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:373)
      at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:526)
      at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)

      2)

      java.lang.IllegalArgumentException: A RuleFlowProcess cannot have more than one start node!
      at org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer.validateAddNode(RuleFlowProcess.java:65)
      at org.drools.workflow.core.impl.NodeContainerImpl.addNode(NodeContainerImpl.java:26)
      at org.drools.workflow.core.impl.WorkflowProcessImpl.addNode(WorkflowProcessImpl.java:62)
      at org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper.internalAddElement(RuleFlowProcessWrapper.java:50)
      at org.drools.eclipse.flow.common.editor.core.ProcessWrapper.addElement(ProcessWrapper.java:142)
      at org.drools.eclipse.flow.common.editor.core.command.AddElementCommand.execute(AddElementCommand.java:33)
      at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:170)
      at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:399)
      at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:411)
      at org.eclipse.gef.tools.CreationTool.performCreation(CreationTool.java:254)
      at org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTool.java:178)
      at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java:1064)
      at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:263)
      at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(DomainEventDispatcher.java:374)
      at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(LightweightSystem.java:538)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:207)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

      3)

      java.io.FileNotFoundException: /icons/defaultrulegroup.gif
      at org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler.findBundleEntry(Handler.java:44)
      at org.eclipse.osgi.framework.internal.core.BundleResourceHandler.openConnection(BundleResourceHandler.java:175)
      at java.net.URL.openConnection(Unknown Source)
      at org.eclipse.core.runtime.internal.adaptor.URLConverterImpl.toFileURL(URLConverterImpl.java:32)
      at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.java:206)
      at org.eclipse.jface.resource.URLImageDescriptor.getFilePath(URLImageDescriptor.java:137)
      at org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:157)
      at org.eclipse.jface.resource.ImageDescriptor.createResource(ImageDescriptor.java:165)
      at org.eclipse.jface.resource.DeviceResourceManager.allocate(DeviceResourceManager.java:56)
      at org.eclipse.jface.resource.AbstractResourceManager.create(AbstractResourceManager.java:88)
      at org.eclipse.jface.resource.ResourceManager.createImageWithDefault(ResourceManager.java:192)
      at org.eclipse.jface.resource.ImageRegistry.get(ImageRegistry.java:212)
      at org.drools.eclipse.core.ui.DroolsLabelProvider.getImage(DroolsLabelProvider.java:31)
      at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getImage(WrappedViewerLabelProvider.java:117)
      at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:165)
      at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:145)
      at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:932)
      at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:102)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.runtime.Platform.run(Platform.java:888)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1012)
      at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:481)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.runtime.Platform.run(Platform.java:888)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2111)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                KrisVerlaenen Kris Verlaenen
                Reporter:
                vyemialyanchyk Vitali Yemialyanchyk
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: