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 207839 - IllegalStateException: getInputStream invoked in AWT
Summary: IllegalStateException: getInputStream invoked in AWT
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 206311
  Show dependency tree
 
Reported: 2012-01-27 14:46 UTC by Petr Cyhelsky
Modified: 2012-04-23 09:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184841


Attachments
stacktrace (8.38 KB, text/plain)
2012-01-27 14:47 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-01-27 14:46:51 UTC
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)
Comment 1 Petr Cyhelsky 2012-01-27 14:47:06 UTC
Created attachment 115318 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-04-16 13:04:15 UTC
Increasing priority to P2 - after discussion with performance team and based on the goal for NB 7.2 (performance improvements) especially for remote filesystems.
Comment 3 Tomas Zezula 2012-04-20 09:02:57 UTC
The editor.codetemplates calls javac from EDT.
Comment 4 Dusan Balek 2012-04-20 18:12:29 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/ea7e20796c91
Comment 5 Quality Engineering 2012-04-23 09:58:25 UTC
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.