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 95501 - add message throwing exception
Summary: add message throwing exception
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 02:30 UTC by Ritesh Adval
Modified: 2007-02-19 21:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
xsd (1.54 KB, application/octet-stream)
2007-02-14 02:57 UTC, Ritesh Adval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Adval 2007-02-14 02:30:48 UTC
I create a new wsdl and using partner view add message button is throwing
following exception:

java.lang.AssertionError
	at org.netbeans.api.visual.widget.Widget.addChild(Widget.java:194)
	at org.netbeans.api.visual.widget.Widget.addChild(Widget.java:185)
	at
org.netbeans.modules.xml.wsdl.ui.view.grapheditor.widget.MessageWidget.expandWidget(MessageWidget.java:504)
	at
org.netbeans.modules.xml.wsdl.ui.view.grapheditor.widget.ExpanderWidget.setExpanded(ExpanderWidget.java:196)
	at
org.netbeans.modules.xml.wsdl.ui.view.grapheditor.widget.MessageWidget.expandForDragAndDrop(MessageWidget.java:620)
	at
org.netbeans.modules.xml.wsdl.ui.view.grapheditor.widget.MessagesWidget.copyView(MessagesWidget.java:341)
	at
org.netbeans.modules.xml.wsdl.ui.view.grapheditor.widget.MessagesWidget.actionPerformed(MessagesWidget.java:199)
	at
org.netbeans.modules.xml.wsdl.ui.view.grapheditor.widget.ButtonWidget.fireActionPerformed(ButtonWidget.java:185)
	at
org.netbeans.modules.xml.wsdl.ui.view.grapheditor.widget.ButtonWidget.mouseReleased(ButtonWidget.java:224)
	at
org.netbeans.modules.xml.wsdl.ui.view.grapheditor.widget.ButtonAction.mouseReleased(ButtonAction.java:64)
	at
org.netbeans.api.visual.action.WidgetAction$Chain.mouseReleased(WidgetAction.java:768)
	at
org.netbeans.api.visual.widget.SceneComponent$Operator$3.operate(SceneComponent.java:498)
	at
org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:276)
	at
org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:268)
	at
org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:268)
	at
org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:268)
	at
org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:268)
	at
org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:268)
	at
org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:268)
	at
org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:238)
	at
org.netbeans.api.visual.widget.SceneComponent.mouseReleased(SceneComponent.java:133)
	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:1778)
	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 Ritesh Adval 2007-02-14 02:35:46 UTC
the step is :

add one message using dnd
then add message or dnd message palette item both throws this exception.
Comment 2 Ritesh Adval 2007-02-14 02:56:52 UTC
the step is that first import attached xsd in wsdl wizard, then use drag drop
message, then add message to add another message
Comment 3 Ritesh Adval 2007-02-14 02:57:37 UTC
Created attachment 38469 [details]
xsd
Comment 4 Shivanand Kini 2007-02-14 03:25:16 UTC
Fixed this 
Comment 5 jlautz 2007-02-19 21:34:13 UTC
Verified on Windows XP with Gavotte 070217_2 and JDK 1.5.0_09: Add message no
longer throws the exception as described.