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 6.0 Beta 1 (Build 200709041200) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05 OS: Linux, 2.6.20-16-generic, i386 User Comments: -create new ear with ejb and web modules -create new ws client in ejb module -create new servlet in web module -call ws operation (use the ws client from ejb module) from the servlet =>NPE
Created attachment 48165 [details] stacktrace
I was able to reproduce. For some reason, the EJB jar file is not added to class path - that's why the exception.
This is similar to issue 112777.
Fixed. Diffs: http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/JaxWsUtils.java?r1=1.26&r2=1.27 http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/jaxws/actions/JaxWsCodeGenerator.java?r1=1.24&r2=1.25 http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/jaxws/nodes/OperationEditorDrop.java?r1=1.4&r2=1.5