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 200804082140 (RC1), JDk1.6.0_05, Win Vista If I add my web service with default operation, created and deployed in JavaEE5 web application and dnd its operation just after the operation node become available, I'll get IllegalStateException and web service's node will appear with hourglass. This is definitely timing issue, because if i wait a while longer before dnd, this don't occur. In this decribed case, however, I have to delete web service's node from manager and add it again, since only Delete operation is enabled.Attaching screenshot.
Created attachment 59896 [details] messages.log
Created attachment 59897 [details] screenshot
What's happening here is that when the user first adds the web service, the manager immediately tries to load and compile the wsdl. While that is going one, when the user tries to open the node (before the wsdl is ready), the manager again tries to load and compile the wsdl. Therefore, there are two threads trying to load the wsdl and hence the race condition. The fix is to not initiate the wsdl loading when the ws is first added and only do that when the user opens the node. Fix checked into the trunk: http://hg.netbeans.org/main/rev/8968685a318e
v.