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.
This issue was reported manually by terje7601. It already has 2 duplicates Build: NetBeans IDE Dev (Build 201408200001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26 OS: Windows 7 User Comments: terje7601: To reproduce, on a fresh install: 1) open a Maven JAX-RS project 2) right-click "RESTful Web Services" -> "Test RESTful Web Services" 3) choose "Locally Generated Test Client [...]" -> "OK" an Error dialog pops up: "The target server has not been set or has been removed. Please, fix the server problem first." 4) click "OK" the Exception dialog pops up GUEST: Develop a Rest WebService for WebLogic 12c and then try to use "Test eb Service " option from the context menu raises this exception Stacktrace: java.lang.NullPointerException at org.netbeans.modules.websvc.rest.spi.MiscUtilities.getContextRootURL(MiscUtilities.java:307) at org.netbeans.modules.maven.jaxws.MavenProjectRestSupport.getBaseURL(MavenProjectRestSupport.java:117) at org.netbeans.modules.websvc.rest.support.Utils.generateLocalTester(Utils.java:396) at org.netbeans.modules.websvc.rest.support.Utils.testRestWebService(Utils.java:223) at org.netbeans.modules.websvc.rest.nodes.TestRestServicesAction.performAction(TestRestServicesAction.java:77) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586)
Created attachment 148793 [details] stacktrace
Fixed by https://hg.netbeans.org/web-main/rev/477cc632c169