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 200806230002,JDK1.6.0_05,Win Vista 1)start IDE with clean userdir 2)Create new web application and web service with operation in it 3)Deploy web app 4)Create new Application client 5)Add ws client on deployed web service to applicationclient 6)In Appclient's Main class Call web service operation. NPE is displayed and added code is underlined as errors. Attaching screenshot and messages.log
Created attachment 63241 [details] messages.log
Created attachment 63242 [details] screenshot
Issue is reproducible only with clean userdir and only first time I Call ws operation. If I remove generated code from Main.java and Call ws op again, code is generated successfully.
Jarek, Are you able to reproduce this every time you have a clean user dir? I am unable to reproduce at all.
I was able to reproduce the issue twice with clean userdir only. It was however unreproducible on Milan's Ubuntu and I was unable to reproduce it since I replaced org-netbeans-modules-websvc-core.jar with Milan's debug version of the jar (synchronization or timing issue possibility), so I set RANDOM keyword.I'll try latest trunk daily version of IDE and if I'll be unable to reproduce the issue at least once again,I will close it.
Safely reproducible on first try in 200806240008.
Fixed. There was likely a threading problem. Diff: http://hg.netbeans.org/main?cmd=changeset;node=68c318987be3
v.