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.
tried to re-configure some of the BC’s extensibility element’s attributes using WSDL editor, and there is NPE: (this happens for both new WSDL generated from the wsdl wiz and existing wsdl as well) java.lang.NullPointerException at org.netbeans.modules.xml.xdm.nodes.Element.getAttributeNode (Element.java:181) at org.netbeans.modules.xml.xdm.nodes.Element.getAttribute (Element.java:165) at org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.getAttribute (AbstractDocumentComponent.java:79) at org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLNamedElementNode.valueChang ed(WSDLNamedElementNode.java:150) at org.netbeans.modules.xml.xam.ComponentEvent$EventType$1.fireEvent (ComponentEvent.java:51) at org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireCompleteEventSet (AbstractModel.java:427) at org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireEvents (AbstractModel.java:389) at org.netbeans.modules.xml.xam.AbstractModel.endTransaction (AbstractModel.java:292) at org.netbeans.modules.xml.xam.AbstractModel.endTransaction (AbstractModel.java:284) at org.netbeans.modules.xml.wsdl.ui.commands.XMLAttributePropertyAdapter.setValue (XMLAttributePropertyAdapter.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.openide.nodes.PropertySupport$Reflection.setValue (PropertySupport.java:293) at org.openide.explorer.propertysheet.NodePropertyModel.setValue (NodePropertyModel.java:88) at org.openide.explorer.propertysheet.PropUtils.noDlgUpdateProp (PropUtils.java:565) at org.openide.explorer.propertysheet.PropUtils.updateProp (PropUtils.java:533) at org.openide.explorer.propertysheet.PropUtils.updateProp (PropUtils.java:639) at org.openide.explorer.propertysheet.SheetCellEditor.stopCellEditing (SheetCellEditor.java:350) at org.openide.explorer.propertysheet.SheetCellEditor.actionPerformed (SheetCellEditor.java:217) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197) at org.openide.explorer.propertysheet.ComboInplaceEditor.fireActionEvent (ComboInplaceEditor.java:191) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561) at org.openide.explorer.propertysheet.ComboInplaceEditor.setSelectedItem (ComboInplaceEditor.java:171) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597) at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased (BasicComboPopup.java:808) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:232) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent (BasicComboPopup.java:476) 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) nb551 + entpack used: both 01/11/2007 and 01/17/2007 – built from all source.
This is a bug from the ui. moving it to wsdltools.
Fixed, check for null.
I cannot verify this fix based on the information provided. Would the reporter (jfu) please verify this fix, or provide a WSDL file that produced the problem.
Cannot reproduce this NPE on on Windows XP with EP Gavotte 070220_4 and JDK 1.5.0_10.