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 124508 - NPE when creating ws client nodes
Summary: NPE when creating ws client nodes
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: RANDOM, TEST
Depends on:
Blocks:
 
Reported: 2007-12-29 14:08 UTC by Lukas Jungmann
Modified: 2008-09-17 21:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (65.04 KB, image/png)
2007-12-29 14:11 UTC, Lukas Jungmann
Details
IDE log (59.28 KB, text/plain)
2007-12-29 14:11 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2007-12-29 14:08:47 UTC
Following exceptions is being thrown while IDE is creating new websvc client:

      java.lang.NullPointerException
	at org.openide.filesystems.FileObject.getFileObject(FileObject.java:658)
	at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsClientNode.getLocalWsdl(JaxWsClientNode.java:452)
	at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsClientNode.getWsdlModeler(JaxWsClientNode.java:424)
	at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsClientNode.<init>(JaxWsClientNode.java:126)
	at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsClientNode.<init>(JaxWsClientNode.java:112)
	at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsClientRootChildren.createNodes(JaxWsClientRootChildren.java:97)
	at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsClientRootChildren.createNodes(JaxWsClientRootChildren.java:55)
	at org.openide.nodes.Children$Keys$KE.nodes(Children.java:2250)
...
Comment 1 Lukas Jungmann 2007-12-29 14:10:30 UTC
This issue appears randomly (till now builds 200712281200, 200712271200 and 200712211200 were affected) and only on Solaris
Comment 2 Lukas Jungmann 2007-12-29 14:11:05 UTC
Created attachment 54560 [details]
screenshot
Comment 3 Lukas Jungmann 2007-12-29 14:11:34 UTC
Created attachment 54561 [details]
IDE log
Comment 4 Lukas Jungmann 2008-01-02 19:32:55 UTC
I've just reproduced this also on WinXP when running tests on my box
Comment 5 Lukas Jungmann 2008-01-02 22:39:18 UTC
it looks like timing issue - under some circumstances IDE tries to create the node for the client before wsdl file is
fully downloaded
Comment 6 Milan Kuchtiak 2008-03-28 10:08:20 UTC
Fixed.

Diff:
http://hg.netbeans.org/main?cmd=changeset;node=9f38d3be1476
Comment 7 Lukas Jungmann 2008-09-17 21:53:33 UTC
v.