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.
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)
the step is : add one message using dnd then add message or dnd message palette item both throws this exception.
the step is that first import attached xsd in wsdl wizard, then use drag drop message, then add message to add another message
Created attachment 38469 [details] xsd
Fixed this
Verified on Windows XP with Gavotte 070217_2 and JDK 1.5.0_09: Add message no longer throws the exception as described.