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 207441

Summary: IllegalStateException: getInputStream invoked in AWT
Product: profiler Reporter: Petr Cyhelsky <cyhelsky>
Component: BaseAssignee: J Bachorik <yardus>
Status: RESOLVED FIXED    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 184513
Bug Depends on:    
Bug Blocks: 206311    
Attachments: stacktrace

Description Petr Cyhelsky 2012-01-18 13:55:10 UTC
Build: NetBeans IDE Dev (Build 20120118-ab16ccd545a5)
VM: OpenJDK 64-Bit Server VM, 20.0-b11, OpenJDK Runtime Environment, 1.6.0_22-b22
OS: Linux

User Comments:
cyhelsky: On profile project




Stacktrace: 
java.lang.IllegalStateException: getInputStream invoked in AWT
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:219)
   at org.netbeans.modules.profiler.stp.NBProfilingSettingsManager.loadSettings(NBProfilingSettingsManager.java:275)
   at org.netbeans.modules.profiler.stp.NBProfilingSettingsManager.access$100(NBProfilingSettingsManager.java:74)
   at org.netbeans.modules.profiler.stp.NBProfilingSettingsManager$1.run(NBProfilingSettingsManager.java:117)
   at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127)
   at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:566)
Comment 1 Petr Cyhelsky 2012-01-18 13:55:12 UTC
Created attachment 115005 [details]
stacktrace
Comment 2 J Bachorik 2012-03-27 10:11:00 UTC
fixed http://hg.netbeans.org/profiler-main/rev/594c017e5d98
Comment 3 Quality Engineering 2012-04-02 15:54:41 UTC
Integrated into 'main-golden', will be available in build *201204021038* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/594c017e5d98
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #207441,#207467: Do not perform IO on EDT