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 165452 - NullPointerException at java.io.File.<init>
Summary: NullPointerException at java.io.File.<init>
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 23:34 UTC by pepe_pepon
Modified: 2010-09-23 11:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 151386


Attachments
stacktrace (580 bytes, text/plain)
2009-05-18 23:34 UTC, pepe_pepon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pepe_pepon 2009-05-18 23:34:06 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 1.5.0_17-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_17-b04
OS: Windows 2003, 5.2, x86

User Comments:
pepe_pepon: trying to create a rest-ful web service client



Stacktrace: 
java.lang.NullPointerException
        at java.io.File.<init>(File.java:194)
        at org.netbeans.modules.websvc.rest.codegen.ClientStubsGenerator.findBaseUrl(ClientStubsGenerator.java:260)
        at org.netbeans.modules.websvc.rest.codegen.ClientStubsGenerator.generate(ClientStubsGenerator.java:346)
        at org.netbeans.modules.websvc.rest.wizard.ClientStubsIterator$1.run(ClientStubsIterator.java:136)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 pepe_pepon 2009-05-18 23:34:11 UTC
Created attachment 82357 [details]
stacktrace
Comment 2 Denis Anisimov 2010-09-23 11:10:38 UTC
Currently ClientStubsGenerator.findBaseUrl() source code doesn't contain 
reference to File class.