[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-3618) jPDL designer loses changes and cannot edit file anymore

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Feb 2 05:46:44 EST 2009


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

Max Rydahl Andersen updated JBIDE-3618:
---------------------------------------

        Fix Version/s: 3.0.0.GA
    Affects Version/s: 3.0.0.CR2
                           (was: LATER)
             Assignee: Koen Aers


Koen - something we can at least guard against in GA ? 

i.e. have the editor warn the user about the error ?

> jPDL designer loses changes and cannot edit file anymore
> --------------------------------------------------------
>
>                 Key: JBIDE-3618
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3618
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jbpm
>    Affects Versions: 3.0.0.CR2
>         Environment: Windows xp 32-bit
>            Reporter: Hedley Proctor
>            Assignee: Koen Aers
>             Fix For: 3.0.0.GA
>
>
> I've created a number of workflows using the Eclipse jPDL designer. Yesterday I created a fourth workflow by copying a previous one. After about an hours work, I had added another 10 states to the workflow. I saved it and shutdown Eclipse. Now I have opened Eclipse and none of the changes to the workflow have been saved. The Eclipse local history shows the last file version available as 17:22 yesterday, whereas in fact I worked until about 18:30.
> Also, the file that remains is corrupt. It has transitions into and out of a state that doesn't exist. When I try to delete the transition in, in is deleted from the file, but it still remains on the graphical view. The Eclipse log shows a DOM parsing error:
> org.w3c.dom.DOMException:
> at org.eclipse.wst.xml.core.internal.document.NodeContainer.removeChild(NodeContainer.java:371)
> at org.jbpm.gd.common.xml.XmlAdapter.removeElement(Unknown Source)
> at org.jbpm.gd.common.xml.XmlAdapter.removeElement(Unknown Source)
> at org.jbpm.gd.jpdl.xml.StartStateDomAdapter.doPropertyChange(Unknown Source)
> at org.jbpm.gd.common.xml.XmlAdapter.propertyChange(Unknown Source)
> at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> at org.jbpm.gd.common.model.AbstractSemanticElement.firePropertyChange(Unknown Source)
> at org.jbpm.gd.jpdl.model.AbstractNode.removeTransition(Unknown Source)
> at org.jbpm.gd.jpdl.command.EdgeDeleteCommand.execute(Unknown Source)
> at org.eclipse.gef.commands.CompoundCommand.execute(CompoundCommand.java:107)
> at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:149)
> at org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(WorkbenchPartAction.java:76)
> at org.eclipse.gef.ui.actions.DeleteAction.run(DeleteAction.java:125)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> 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:508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> Eclipse version: 3.3.2 M20080221-1800
> jPDL designer version: 3.1.3 SP2

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

        



More information about the jbosstools-issues mailing list