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 168560 - NullPointerException at java.io.File.<init>
Summary: NullPointerException at java.io.File.<init>
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 15:56 UTC by Martin Schovanek
Modified: 2009-09-18 22:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 153694


Attachments
stacktrace (2.22 KB, text/plain)
2009-07-14 15:56 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2009-07-14 15:56:31 UTC
Build: NetBeans IDE Dev (Build 200907130200)
VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304
OS: Mac OS X, 10.5.7, i386

User Comments:
mschovanek: Opening a Web Project.



Stacktrace: 
java.lang.NullPointerException<br/>
        at java.io.File.<init>(File.java:194)<br/>
        at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.getToolClasspathEntries(Hk2JavaEEPlatformImpl.java:220)<br/>
        at org.netbeans.modules.j2ee.deployment.devmodules.api.J2eePlatform.getToolClasspathEntries(J2eePlatform.java:312)<br/>
        at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.setNewServerInstanceValue(WebProjectProperties.java:920)<br/>
        at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.access$500(WebProjectProperties.java:122)<br/>
        at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties$5.run(WebProjectProperties.java:843)<br/>
Comment 1 Martin Schovanek 2009-07-14 15:56:36 UTC
Created attachment 84729 [details]
stacktrace
Comment 2 Vince Kraemer 2009-09-16 19:13:28 UTC
easy to fix... but the root cause of this is tricky to catch...
Comment 3 Vince Kraemer 2009-09-17 23:57:38 UTC
http://hg.netbeans.org/web-main/rev/b65b669468d4
Comment 4 Quality Engineering 2009-09-18 22:23:28 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b65b669468d4
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #168560: preventable NPE