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 181734 - java.io.FileNotFoundException: MasterFileObject[/tmp/mavenproject2@7ca1a9:1d35c2d,valid=true]/src/com/mycompany/mavenproject2/icon32.png (No such file or directory)
Summary: java.io.FileNotFoundException: MasterFileObject[/tmp/mavenproject2@7ca1a9:1d3...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 18:26 UTC by Jesse Glick
Modified: 2010-03-10 23:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166179


Attachments
stacktrace (5.66 KB, text/plain)
2010-03-09 18:26 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-03-09 18:26:51 UTC
Build: NetBeans IDE Dev (Build 100309-18fc8c4cd30f)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Linux

User Comments:
jglick: Specifying an icon for a Primary Panel in New Options Panel.




Stacktrace: 
java.io.FileNotFoundException: MasterFileObject[/tmp/mavenproject2@7ca1a9:1d35c2d,valid=true]/src/com/mycompany/mavenproject2/icon32.png (No such file or directory)
   at java.io.FileOutputStream.open(FileOutputStream.java:0)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
   at org.netbeans.modules.apisupport.project.ui.wizard.options.OptionsPanel0.copyFile(OptionsPanel0.java:508)
   at org.netbeans.modules.apisupport.project.ui.wizard.options.OptionsPanel0.iconButtonActionPerformed(OptionsPanel0.java:494)
   at org.netbeans.modules.apisupport.project.ui.wizard.options.OptionsPanel0.access$300(OptionsPanel0.java:73)
Comment 1 Jesse Glick 2010-03-09 18:26:57 UTC
Created attachment 94949 [details]
stacktrace
Comment 2 Jesse Glick 2010-03-09 19:23:45 UTC
Code (from msauer) was long broken, but change of toString for MasterFileObject made problem visible.

core-main #0a4661dc45df
Comment 3 Quality Engineering 2010-03-10 23:12:53 UTC
Integrated into 'main-golden', will be available in build *201003110200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0a4661dc45df
User: Jesse Glick <jglick@netbeans.org>
Log: #181734: rewriting how icon handling works.