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 245807 - NullPointerException: The serverInstanceId parameter cannot be null
Summary: NullPointerException: The serverInstanceId parameter cannot be null
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-18 16:40 UTC by MackSix
Modified: 2016-07-07 09:54 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207033


Attachments
stacktrace (2.71 KB, text/plain)
2014-07-18 16:40 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2014-07-18 16:40:43 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1921-on-20140717)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 7

User Comments:
farnulfo: Open old netbeans project

MackSix: Created Maven Calculator Service sample project and tried to Clean & Build. This happened.




Stacktrace: 
java.lang.NullPointerException: The serverInstanceId parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.getServerInstance(Deployment.java:632)
   at org.netbeans.modules.maven.jaxws.nodes.JaxWsNode.getServerContextInfo(JaxWsNode.java:786)
   at org.netbeans.modules.maven.jaxws.nodes.JaxWsNode.getWebServiceURL(JaxWsNode.java:357)
   at org.netbeans.modules.maven.jaxws.nodes.JaxWsNode.getWsdlURL(JaxWsNode.java:369)
   at org.netbeans.modules.maven.jaxws.nodes.JaxWsNode$4.run(JaxWsNode.java:516)
Comment 1 MackSix 2014-07-18 16:40:45 UTC
Created attachment 148143 [details]
stacktrace
Comment 2 MackSix 2014-07-18 16:42:31 UTC
This is probably caused because no server was selected, but there is no other indication or warning about this when I try to Clean & Build.
Comment 3 MackSix 2014-07-18 16:44:07 UTC
Actually this is caused because I had no server added to NetBeans besides the fact the now server was selected.
Comment 4 Martin Balin 2016-07-07 09:54:16 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss