Access is allowed from event dispatch thread only.
Details: Current thread: Thread[ApplicationImpl pooled thread 2,4,Idea Thread
Group] 13721731
Our dispatch thread:Thread[AWT-EventQueue-1 12.0#IC-122.327, eap:true,6,Idea
Thread Group] 21142769
SystemEventQueueThread: Thread[AWT-EventQueue-1 12.0#IC-122.327,
eap:true,6,Idea Thread Group] 21142769
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:61)
at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:1051)
at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:1035)
at com.intellij.codeInsight.folding.impl.CodeFoldingManagerImpl.restoreFoldingState(CodeFoldingManagerImpl.java:336)
at com.dci.intellij.dbn.common.editor.BasicTextEditorState$1.run(BasicTextEditorState.java:120)
at com.intellij.openapi.editor.impl.FoldingModelImpl.runBatchFoldingOperation(FoldingModelImpl.java:211)
at com.intellij.openapi.editor.impl.FoldingModelImpl.runBatchFoldingOperation(FoldingModelImpl.java:192)
at com.dci.intellij.dbn.common.editor.BasicTextEditorState.applyToEditor(BasicTextEditorState.java:124)
at com.dci.intellij.dbn.common.editor.BasicTextEditorImpl.setState(BasicTextEditorImpl.java:117)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4(FileEditorManagerImpl.java:794)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:688)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.readExternalPanel(EditorsSplitters.java:318)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.openFiles(EditorsSplitters.java:268)
at com.intellij.openapi.fileEditor.impl.OpenFilesActivity$1.run(OpenFilesActivity.java:38)
at com.intellij.openapi.fileEditor.impl.OpenFilesActivity.runActivity(OpenFilesActivity.java:43)
at com.intellij.ide.startup.impl.StartupManagerImpl$2.run(StartupManagerImpl.java:134)
at com.intellij.ide.startup.impl.StartupManagerImpl.runActivities(StartupManagerImpl.java:203)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivitiesFromExtensions(StartupManagerImpl.java:145)
at com.intellij.openapi.project.impl.ProjectManagerImpl$5.run(ProjectManagerImpl.java:433)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$5.run(ProgressManagerImpl.java:294)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:307)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:191)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:231)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:181)
at com.intellij.openapi.application.impl.ApplicationImpl$8$1.run(ApplicationImpl.java:686)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:459)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:150)
Original issue reported on code.google.com by cioca...@googlemail.com on 20 Sep 2012 at 3:26
Original issue reported on code.google.com by
cioca...@googlemail.com
on 20 Sep 2012 at 3:26