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.

Bug 137942 - NPE when Call ws op in Appclient
Summary: NPE when Call ws op in Appclient
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-06-23 10:26 UTC by Jaroslav Pospisil
Modified: 2008-10-02 15:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (70.62 KB, text/plain)
2008-06-23 10:27 UTC, Jaroslav Pospisil
Details
screenshot (132.07 KB, image/png)
2008-06-23 10:29 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2008-06-23 10:26:24 UTC
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
Comment 1 Jaroslav Pospisil 2008-06-23 10:27:23 UTC
Created attachment 63241 [details]
messages.log
Comment 2 Jaroslav Pospisil 2008-06-23 10:29:06 UTC
Created attachment 63242 [details]
screenshot
Comment 3 Jaroslav Pospisil 2008-06-23 14:11:13 UTC
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.
Comment 4 Roderico Cruz 2008-06-24 00:55:09 UTC
Jarek, Are you able to reproduce this every time you have a clean user dir? I am unable to reproduce at all.
Comment 5 Jaroslav Pospisil 2008-06-24 08:06:36 UTC
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.
Comment 6 Jaroslav Pospisil 2008-06-24 10:02:41 UTC
Safely reproducible on first try in 200806240008.
Comment 7 Milan Kuchtiak 2008-06-24 14:30:22 UTC
Fixed.
There was likely a threading problem.

Diff:
http://hg.netbeans.org/main?cmd=changeset;node=68c318987be3
Comment 8 Jaroslav Pospisil 2008-10-02 15:36:32 UTC
v.