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 207455

Summary: SettingsPanel.BUNDLED_RUNTIME_VERSION computed in EQ
Product: projects Reporter: Tomas Hurka <thurka>
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 184527
Bug Depends on:    
Bug Blocks: 206311    
Attachments: stacktrace

Description Tomas Hurka 2012-01-18 14:50:30 UTC
Build: NetBeans IDE Dev (Build 20120118-ab16ccd545a5)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02-402, Java(TM) SE Runtime Environment, 1.6.0_29-b11-402-10M3610
OS: Mac OS X

Stacktrace: 
java.lang.IllegalStateException: getInputStream invoked in AWT
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:219)
   at org.openide.filesystems.FileUtil.isArchiveFile(FileUtil.java:2054)
   at org.openide.filesystems.FileUtil.isArchiveFile(FileUtil.java:2111)
   at org.openide.filesystems.FileUtil.urlForArchiveOrDir(FileUtil.java:2129)
   at org.netbeans.modules.maven.options.MavenSettings.getCommandLineMavenVersion(MavenSettings.java:319)
   at org.netbeans.modules.maven.options.SettingsPanel.<clinit>(SettingsPanel.java:89)
Comment 1 Tomas Hurka 2012-01-18 14:50:32 UTC
Created attachment 115019 [details]
stacktrace
Comment 2 Jesse Glick 2012-01-19 23:15:11 UTC
Only involves a limited number of files inside the NB installation, comparable to class loading. Not worth the trouble and risk of making asynch.