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 Dev (Build 200708210000) VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: -create new WS -add new operation to the WS, return type is a class in your package encapsulating String -Add Operation again -> exception
Created attachment 46974 [details] stacktrace
Build: NetBeans IDE Dev (Build 200708210000) VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: the root cause is that I made a typo in name of package of my class... easiest way to reproduce: -add operation to WS with "not-existing" return type (e.g. "trubka") -try add another WS operation -> exception
Created attachment 46975 [details] stacktrace
AddWsOperationHelper should not send method with unresolved (null) return type to MethodModelSupport.createMethodModel(). Should be easy fix in getExistingMethods() method.
Fixed. Diff: http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/AddWsOperationHelper.java?r1=1.17&r2=1.18