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 82648 - Drag/drop nodes in WSDL editor results in assertion errors in model
Summary: Drag/drop nodes in WSDL editor results in assertion errors in model
Status: VERIFIED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nathan Fiedler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-14 21:13 UTC by kiran_bhumana
Modified: 2006-09-20 17:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
wsdl file (2.95 KB, application/octet-stream)
2006-08-14 21:14 UTC, kiran_bhumana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kiran_bhumana 2006-08-14 21:13:53 UTC
refer attached wsdl, if i move nodes around, by drag and drop, soap:body into
callbackbinding node, it throws exceptions like the following. 

java.lang.AssertionError
	at
org.netbeans.modules.xml.wsdl.model.impl.ChildComponentUpdateVisitor.visit(ChildComponentUpdateVisitor.java:108)
	at org.netbeans.modules.xml.wsdl.model.impl.ServiceImpl.accept(ServiceImpl.java:57)
	at
org.netbeans.modules.xml.wsdl.model.impl.ChildComponentUpdateVisitor.update(ChildComponentUpdateVisitor.java:53)
	at
org.netbeans.modules.xml.wsdl.model.impl.ChildComponentUpdateVisitor.update(ChildComponentUpdateVisitor.java:30)
	at
org.netbeans.modules.xml.xam.dom.AbstractDocumentModel.addChildComponent(AbstractDocumentModel.java:283)
	at
org.netbeans.modules.xml.wsdl.ui.netbeans.module.ComponentPasteType$PasteTypeImpl.paste(ComponentPasteType.java:197)
	at
org.openide.explorer.view.DragDropUtilities.performPaste(DragDropUtilities.java:260)
	at org.openide.explorer.view.TreeViewDropSupport.drop(TreeViewDropSupport.java:734)
	at java.awt.dnd.DropTarget.drop(DropTarget.java:430)
	at
sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
	at
sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.java:53)
	at
sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)
	at
sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)
	at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
	at java.awt.Component.dispatchEventImpl(Component.java:3826)
	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.processDropTargetEvent(Container.java:3963)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3817)
	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)
Comment 1 kiran_bhumana 2006-08-14 21:14:22 UTC
Created attachment 32893 [details]
wsdl file
Comment 2 Ritesh Adval 2006-09-13 03:20:47 UTC
Assigning to Nathan.
Comment 3 Nathan Fiedler 2006-09-14 01:00:45 UTC
I cannot reproduce this. Kiran, please provide specific steps to reproduce the
error. In fact, you really ought to provide the build number, JDK version, and
OS version as well.
Comment 4 jlautz 2006-09-20 16:36:01 UTC
Verified on Windows XP and Build NB 20060919000 with JDK 1.5.0_07, but scenario
is too vague to be certain that all cases are covered.

Sent email to reporter to request confirmation of verification or clarification
of scenario.
Comment 5 jlautz 2006-09-20 17:55:31 UTC
Verified by reporter that the scenario is covered.