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.

Bug 163331 - AssertionError while adding a new Assign JavaScript activity to process
Summary: AssertionError while adding a new Assign JavaScript activity to process
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vitaly Bychkov
URL:
Keywords:
Depends on: 163223
Blocks:
  Show dependency tree
 
Reported: 2009-04-22 05:33 UTC by Vitaly Bychkov
Modified: 2009-04-30 19:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Bychkov 2009-04-22 05:33:46 UTC
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)
Comment 1 Vitaly Bychkov 2009-04-22 05:58:52 UTC
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.
Comment 2 Vladimir Yaroslavskiy 2009-04-22 07:50:33 UTC
fixed by Vitaly.
Comment 3 Vitaly Bychkov 2009-04-22 08:02:11 UTC
Fixed in gfesbv21.
http://hg.netbeans.org/gfesbv21/rev/9e104da7c19a
Comment 4 terrybraun 2009-04-30 19:35:29 UTC
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).