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 232711

Summary: java.io.FileNotFoundException: /var/folders/46/zjq4yb7j4ml8gr6bkkfl94gm0000gn/T/mavenproject2
Product: projects Reporter: Milos Kleint <mkleint>
Component: AntAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 202149
Attachments: stacktrace

Description Milos Kleint 2013-07-15 13:48:49 UTC
Build: NetBeans IDE Dev (Build 20130715-c8dcbf77e24a)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b12
OS: Mac OS X

User Comments:
mkleint: empty project license text field




Stacktrace: 
java.io.FileNotFoundException: /var/folders/46/zjq4yb7j4ml8gr6bkkfl94gm0000gn/T/mavenproject2
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getInputStream(FolderObj.java:627)
   at org.openide.filesystems.FileObject.asBytes(FileObject.java:703)
   at org.openide.filesystems.FileObject.asText(FileObject.java:730)
   at org.openide.filesystems.FileObject.asText(FileObject.java:742)
   at org.netbeans.spi.project.support.ant.ui.LicenseHeadersPanel.setTextToProjectLicense(LicenseHeadersPanel.java:389)
   at org.netbeans.spi.project.support.ant.ui.LicenseHeadersPanel.access$300(LicenseHeadersPanel.java:64)
Comment 1 Milos Kleint 2013-07-15 13:48:51 UTC
Created attachment 137126 [details]
stacktrace
Comment 2 Jaroslav Havlin 2013-07-16 07:56:14 UTC
Reassigning. Thanks, Milos :-)
Comment 3 Milos Kleint 2013-07-17 10:47:56 UTC
http://hg.netbeans.org/core-main/rev/d30248afd818
Comment 4 Quality Engineering 2013-07-18 02:38:21 UTC
Integrated into 'main-silver', will be available in build *201307172300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d30248afd818
User: Milos Kleint <mkleint@netbeans.org>
Log: #232711 only consider data FileObjects, handle empty path