Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

missing read action #341

Closed
gavinking opened this issue Jul 1, 2016 · 0 comments
Closed

missing read action #341

gavinking opened this issue Jul 1, 2016 · 0 comments
Milestone

Comments

@gavinking
Copy link
Contributor

gavinking commented Jul 1, 2016

Read access is allowed from event dispatch thread or inside read-action only (see com.intellij.openapi.application.Application.runReadAction())
Details: Current thread: Thread[ApplicationImpl pooled thread 28,4,main] 1043176694
; dispatch thread: false; isDispatchThread(): false
SystemEventQueueThread: Thread[AWT-EventQueue-0 2016.1.3#IC-145.1617.8 IDEA, eap:false, os:Mac OS X 10.11.5, java-version:JetBrains s.r.o 1.8.0_76-release-b198,6,main] 1805001065
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:138)
    at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:1054)
    at com.intellij.openapi.module.impl.ModuleManagerImpl.moduleDependencyComparator(ModuleManagerImpl.java:541)
    at com.intellij.openapi.module.ModuleUtilCore.findModuleForPsiElement(ModuleUtilCore.java:115)
    at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonFile.retrieveProjectPhasedUnit(CeylonFile.java:82)
    at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonFile.getLocalAnalysisResult(CeylonFile.java:152)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.CeylonModelManager$1$1syntaxErrorsWhenOnlyOneCeylonChange_.syntaxErrorsWhenOnlyOneCeylonChange(CeylonModelManager.ceylon:234)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.CeylonModelManager$1.$call$(CeylonModelManager.ceylon:248)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
    at com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
    at com.intellij.util.Alarm$Request.run(Alarm.java:389)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
    at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:187)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
@gavinking gavinking added this to the 1.2.3 milestone Jul 1, 2016
@davidfestal davidfestal self-assigned this Jul 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants