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 204087

Summary: [71cat] IllegalStateException: BaseDocument.insertString not in EDT: offset=0, text=int ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; /
Product: editor Reporter: mhmdchebbi
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182211
Attachments: stacktrace

Description mhmdchebbi 2011-10-21 23:58:07 UTC
Build: NetBeans IDE Dev (Build 201110200600)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Linux

User Comments:
mhmdchebbi: happen when opening a java application project.




Stacktrace: 
java.lang.IllegalStateException: BaseDocument.insertString not in EDT: offset=0, text=int ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // comment\nint ident = 1; // co
   at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:731)
   at org.netbeans.modules.java.editor.JavaEditorWarmUpTask.run(JavaEditorWarmUpTask.java:199)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 1 mhmdchebbi 2011-10-21 23:58:11 UTC
Created attachment 112320 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-10-26 13:16:34 UTC
Do you run the IDE with some loggers turned on? You have the "org.netbeans.editor.BaseDocument-EDT" logger turned to FINE or higher level. It is intended for certain specific tests only. Please turn that logger off and you won't get the exception.