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.
AssertionError while adding a new Assign JavaScript activity to process. Steps to reproduce: 1. run netbeans with enabled assertion (option -J-ea) 2. create a new Bpel Module 3. try to drop JavaScript Activity from pallete to diagram See AssertionError: java.lang.AssertionError at org.netbeans.modules.xml.xdm.nodes.CData.stripCDataMarkers(CData.java:69) at org.netbeans.modules.xml.xdm.nodes.CData.<init>(CData.java:63) at org.netbeans.modules.xml.xdm.nodes.Document.createCDATASection(Document.java:432) at org.netbeans.modules.bpel.model.impl.AssignImpl.createEmptyJavaScript(AssignImpl.java:237) at org.netbeans.modules.bpel.model.impl.AssignImpl.<init>(AssignImpl.java:61) at org.netbeans.modules.bpel.model.impl.BpelBuilderImpl.createJavaScript(BpelBuilderImpl.java:197) at org.netbeans.modules.bpel.design.DnDHandler.getPaletteItem(DnDHandler.java:562) at org.netbeans.modules.bpel.design.DnDHandler.getBpelEntity(DnDHandler.java:371) at org.netbeans.modules.bpel.design.DnDHandler.dragEnter(DnDHandler.java:224) at java.awt.dnd.DropTarget.dragEnter(DropTarget.java:341) at sun.awt.dnd.SunDropTargetContextPeer.processEnterMessage(SunDropTargetContextPeer.java:295) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEnterEvent(SunDropTargetContextPeer.java:759) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:727) at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30) at java.awt.Component.dispatchEventImpl(Component.java:4358) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301) at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4090) at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4028) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3890) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
The original problem is in xdm module http://www.netbeans.org/issues/show_bug.cgi?id=163223 The 163223 was fixed in trunk but the fix is not in soa-dev65. I did the temporary fix - http://hg.netbeans.org/soa-dev65/rev/f01b00115a53 This temporary fix can be removed as only the fix for the 163223 will be in soa-dev65 branch.
fixed by Vitaly.
Fixed in gfesbv21. http://hg.netbeans.org/gfesbv21/rev/9e104da7c19a
After starting NetBeans with the -J-ea option, the Java Script activity successfully drops onto the project diagram without generating the Assertion error. This issue is verified with the SOA Build of 4/26/09, included with the NetBeans IDE 6.5.1 (Build 200904151427).