Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 200519 - [70cat] NullPointerException at java.util.Hashtable.put
[70cat] NullPointerException at java.util.Hashtable.put
Status: RESOLVED FIXED
Product: webservices
Classification: Unclassified
Component: Code
7.1
All All
: P3 (vote)
: 7.1
Assigned To: Denis Anisimov
issues@webservices
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-29 13:20 UTC by muellermi
Modified: 2011-08-10 21:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (4.29 KB, text/plain)
2011-07-29 13:20 UTC, muellermi
Details
stacktrace (4.29 KB, text/plain)
2011-07-29 13:29 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2011-07-29 13:20:48 UTC
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)
Comment 1 muellermi 2011-07-29 13:20:52 UTC
Created attachment 109696 [details]
stacktrace
Comment 2 muellermi 2011-07-29 13:29:28 UTC
Created attachment 109697 [details]
stacktrace

again and again... still annoying
Comment 3 Denis Anisimov 2011-08-08 07:43:56 UTC
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.
Comment 4 Denis Anisimov 2011-08-08 07:48:31 UTC
web-main#fe4ea5d60c8c
Comment 5 Quality Engineering 2011-08-10 21:34:13 UTC
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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo