[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-7076) Flow Editor - "Undo" did not complete normally.

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Thu Sep 30 02:48:39 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vlado Pakan closed JBIDE-7076.
------------------------------



Verified on JBT 3.2.0.v20100929-2012-H96-Beta1.

> Flow Editor - "Undo" did not complete normally.
> -----------------------------------------------
>
>                 Key: JBIDE-7076
>                 URL: https://jira.jboss.org/browse/JBIDE-7076
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: drools
>    Affects Versions: 3.2.0.M2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Kris Verlaenen
>            Priority: Critical
>             Fix For: 3.2.0.Beta1
>
>
> 1) Open some persistent.xml with Flow Editor;
> 2) make some random changes: add "Start Event", "End Event", "Rule"
> 3) Ctrl-S - I saw the editor rewrite content of my test persistent.xml;
> 4) press Ctrl-Z - undo - get exception:
> "Undo" did not complete normally.  Please see the log for more information.
> java.lang.NullPointerException
> 	at org.drools.eclipse.flow.ruleflow.core.StateBasedNodeWrapper.setPropertyValue(StateBasedNodeWrapper.java:76)
> 	at org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper.setPropertyValue(RuleSetNodeWrapper.java:87)
> 	at org.eclipse.gef.ui.properties.SetValueCommand.undo(SetValueCommand.java:96)
> 	at org.eclipse.gef.commands.CompoundCommand.undo(CompoundCommand.java:173)
> 	at org.eclipse.gef.commands.ForwardUndoCompoundCommand.undo(ForwardUndoCompoundCommand.java:52)
> 	at org.eclipse.gef.commands.CommandStack.undo(CommandStack.java:393)
> 	at org.eclipse.gef.ui.actions.UndoAction.run(UndoAction.java:94)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:230)
> 	at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
> 	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.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
> 	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
> 	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
> 	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
> 	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
> 	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
> 	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
> 	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
> 	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
> 	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4268)
> 	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
> 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4160)
> 	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
> 	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> 	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
> 	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(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:619)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list