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 203037 - [71cat] NullPointerException at java.io.File.<init>
Summary: [71cat] NullPointerException at java.io.File.<init>
Status: RESOLVED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 11:45 UTC by Cheloveche
Modified: 2011-11-09 17:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181454


Attachments
stacktrace (4.22 KB, text/plain)
2011-10-04 11:46 UTC, Cheloveche
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cheloveche 2011-10-04 11:45:56 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows Vista

User Comments:
GUEST: Changing the default class for a project.

Cheloveche: Create new Javafx project. Add preloader. Add main class. Edit both a bit. Right-click project name in package tree window, look at settings, select "Show deprecation", close settings window.




Stacktrace: 
java.lang.NullPointerException
   at java.io.File.<init>(File.java:251)
   at org.netbeans.modules.javafx2.project.JFXProjectProperties.updatePreloaderDependencies(JFXProjectProperties.java:882)
   at org.netbeans.modules.javafx2.project.JFXProjectProperties.access$500(JFXProjectProperties.java:104)
   at org.netbeans.modules.javafx2.project.JFXProjectProperties$8.run(JFXProjectProperties.java:1149)
   at org.netbeans.modules.javafx2.project.JFXProjectProperties$8.run(JFXProjectProperties.java:1099)
   at org.openide.util.Mutex.writeAccess(Mutex.java:436)
Comment 1 Cheloveche 2011-10-04 11:46:00 UTC
Created attachment 111450 [details]
stacktrace
Comment 2 Petr Somol 2011-11-09 17:22:37 UTC
org.netbeans.modules.javafx2.project.JFXProjectProperties.updatePreloaderDependencies() has been completely rewritten in 
http://hg.netbeans.org/jet-main/rev/e42a1654c224
http://hg.netbeans.org/jet-main/rev/d52f4deea7d0
I could not reproduce this exception with the new code, so closing.