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.
Build: NetBeans IDE Dev (Build 201107280600) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows XP User Comments: muellermi: trying to refresh a web service reference GUEST: tried to refresh WebService Reference muellermi: right click on web service reference Stacktrace: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:432) at java.beans.FeatureDescriptor.setValue(FeatureDescriptor.java:194) at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsClientNode.refreshService(JaxWsClientNode.java:359) at org.netbeans.modules.websvc.core.jaxws.actions.JaxWsRefreshAction.performAction(JaxWsRefreshAction.java:77) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586) at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
Created attachment 109696 [details] stacktrace
Created attachment 109697 [details] stacktrace again and again... still annoying
This is the new functionality available in dev version only. So this is not 7.0 version. It is the consequence of usage Hashtable for pair storage with get/setValue accessor methods. As result setValue() doesn't allow to set null as value for pair. And there is no "remove" method. So code should be somehow rewritten to clear value without null value set.
web-main#fe4ea5d60c8c
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/fe4ea5d60c8c User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#200519 - [70cat] NullPointerException at java.util.Hashtable.put