This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - create a BPEL diagram - add a Flow to the diagram - add several Empty activities to the Flow activity so that each Empty is in different branch - switch to source - delete an Empty activity - switch back to diagram. Try to delete the remaining activities. When deleting the last one an exception will be thrown. Try adding activities in source - diagram will be out of sync. Exception stack trace: java.lang.AssertionError at org.netbeans.modules.xml.xdm.XDMModel$6.update(XDMModel.java:553) at org.netbeans.modules.xml.xdm.XDMModel.mutate(XDMModel.java:331) at org.netbeans.modules.xml.xdm.XDMModel.mutate(XDMModel.java:283) at org.netbeans.modules.xml.xdm.XDMModel.remove(XDMModel.java:557) at org.netbeans.modules.xml.xdm.xam.XDMAccess.removeChild(XDMAccess.java:188) at org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.removeChild(AbstractDocumentComponent.java:412) at org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.removeChildQuietly(AbstractDocumentComponent.java:250) at org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.removeChildQuietly(AbstractDocumentComponent.java:43) at org.netbeans.modules.xml.xam.AbstractComponent._removeChildQuietly(AbstractComponent.java:114) at org.netbeans.modules.xml.xam.AbstractComponent.removeChild(AbstractComponent.java:340) at org.netbeans.modules.bpel.model.impl.BpelContainerImpl.removeChild(BpelContainerImpl.java:675) at org.netbeans.modules.bpel.model.impl.BpelContainerImpl.remove(BpelContainerImpl.java:122) at org.netbeans.modules.bpel.properties.nodes.actions.DeleteAction.performAction(DeleteAction.java:66) at org.netbeans.modules.bpel.properties.nodes.actions.BpelNodeAction$1.call(BpelNodeAction.java:61) at org.netbeans.modules.bpel.model.impl.BpelModelImpl.invoke(BpelModelImpl.java:160) at org.netbeans.modules.bpel.properties.nodes.actions.BpelNodeAction.performAction(BpelNodeAction.java:59) at org.netbeans.modules.bpel.properties.nodes.actions.DeleteAction.performAction(DeleteAction.java:53) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:255) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:94) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:90) at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:244) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
This is XML team issue actually. I will monitor the state for this issue.
I did a fresh build (using release55_beta2 binaries) and cannot reproduce this exception. Note that the stack line number at XDMModel.java:553 is off from release55_beta2 version (1.2.2.34).
Verified with build from 06.08.25