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.
Build: NetBeans IDE Dev (Build 20120125-2ee091eab541) VM: OpenJDK 64-Bit Server VM, 20.0-b11, OpenJDK Runtime Environment, 1.6.0_22-b22 OS: Linux Stacktrace: java.lang.IllegalStateException: getInputStream invoked in AWT at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:226) at org.netbeans.modules.parsing.api.Source.createSnapshot(Source.java:313) at org.netbeans.modules.java.source.parsing.SourceFileObject.getContent(SourceFileObject.java:407) at org.netbeans.modules.java.source.parsing.SourceFileObject.getCharContent(SourceFileObject.java:167) at org.netbeans.modules.java.source.parsing.SourceFileObject.getCharContent(SourceFileObject.java:88) at com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:756)
Created attachment 115318 [details] stacktrace
Increasing priority to P2 - after discussion with performance team and based on the goal for NB 7.2 (performance improvements) especially for remote filesystems.
The editor.codetemplates calls javac from EDT.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/ea7e20796c91
Integrated into 'main-golden', will be available in build *201204230400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ea7e20796c91 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #207839: IllegalStateException: getInputStream invoked in AWT - fixed.