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.
Summary: | NullPointerException at org.netbeans.modules.websvc.manager.ui.TestWebServiceMethodDlg.getRuntimeClassLoader | ||
---|---|---|---|
Product: | webservices | Reporter: | brettryan <brettryan> |
Component: | Manager | Assignee: | Denis Anisimov <ads> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brettryan |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 177579 |
Attachments: |
stacktrace
stacktrace Stacktrace of web-service test |
Description
brettryan
2011-03-15 08:03:28 UTC
Created attachment 107005 [details]
stacktrace
Created attachment 107007 [details]
stacktrace
Trying to test webservice method.
NPE in that case is not original problem. Please check the issue again. The reason of the NPE should be the IOException which is consequence of the impossibility to copy file to the temporary file. If you are able to reproduce this issue please press "<Previous" in the exception error dialog and attach the IOException to the issue if any. Created attachment 107012 [details] Stacktrace of web-service test It appears that NetBeans is getting confused with a serviceName containing a path. My service is declared as @WebService(serviceName = "services/Items", name = "services/Items", targetNamespace = "http://rps.johnsands.com.au/") public class ItemsImpl implements ItemsSEI { With a mapping defined in web.xml as <servlet-mapping> <servlet-name>ItemsWS</servlet-name> <url-pattern>/services/Items</url-pattern> </servlet-mapping> and an endpoint mapping in sun-jaxws.xml as: <endpoint implementation="com.johnsands.rps.services.ItemsImpl" name="services/Items" url-pattern="/services/Items"/> The JAR file NB is looking for does exist as: /Users/bryan/.netbeans/6.9/config/WebServices/Items/jaxws/services/Items.jar Thank you very much. This is exactly what I've asked! changeset: 192949:e140ce59f437 Integrated into 'main-golden', will be available in build *201104290000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e140ce59f437 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#196710 - NullPointerException at org.netbeans.modules.websvc.manager.ui.TestWebServiceMethodDlg.getRuntimeClassLoader |