ignatov / intellij-erlang

Erlang IDE
https://www.jetbrains.com/help/idea/2018.2/getting-started-with-erlang.html
Other
735 stars 120 forks source link

Error between compilations #954

Open arinarium opened 3 years ago

arinarium commented 3 years ago

Detailed report: https://youtrack.jetbrains.com/issue/IDEA-269999


2021-05-25 00:16:13,515 [6582064]  ERROR - ution.process.OSProcessHandler - Synchronous execution under ReadAction: "C:\Program Files (x86)\erl23.3\bin\erl.exe" -noshell -eval io:format(\"~n~s~n~s~n~s~n~s~n\",[\"ErlangSdkType_OTP_RELEASE:\",erlang:system_info(otp_release),\"ErlangSdkType_ERTS_VERSION:\",erlang:system_info(version)]),erlang:halt()., see com.intellij.execution.process.OSProcessHandler#checkEdtAndReadAction() Javadoc for resolutions 
java.lang.Throwable: Synchronous execution under ReadAction: "C:\Program Files (x86)\erl23.3\bin\erl.exe" -noshell -eval io:format(\"~n~s~n~s~n~s~n~s~n\",[\"ErlangSdkType_OTP_RELEASE:\",erlang:system_info(otp_release),\"ErlangSdkType_ERTS_VERSION:\",erlang:system_info(version)]),erlang:halt()., see com.intellij.execution.process.OSProcessHandler#checkEdtAndReadAction() Javadoc for resolutions
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:161)
    at com.intellij.execution.process.OSProcessHandler.checkEdtAndReadAction(OSProcessHandler.java:172)
    at com.intellij.execution.process.OSProcessHandler.waitFor(OSProcessHandler.java:117)
    at com.intellij.execution.process.CapturingProcessRunner.runProcess(CapturingProcessRunner.java:61)
    at com.intellij.execution.process.CapturingProcessRunner.runProcess(CapturingProcessRunner.java:50)
    at com.intellij.execution.process.CapturingProcessHandler.runProcess(CapturingProcessHandler.java:64)
    at org.intellij.erlang.sdk.ErlangSystemUtil.execute(ErlangSystemUtil.java:66)
    at org.intellij.erlang.sdk.ErlangSystemUtil.getProcessOutput(ErlangSystemUtil.java:55)
    at org.intellij.erlang.sdk.ErlangSystemUtil.getProcessOutput(ErlangSystemUtil.java:38)
    at org.intellij.erlang.sdk.ErlangSdkType.detectReleaseWithProcess(ErlangSdkType.java:259)
    at org.intellij.erlang.sdk.ErlangSdkType.getRelease(ErlangSdkType.java:231)
    at java.base/java.util.Map.computeIfAbsent(Map.java:1003)
    at org.intellij.erlang.sdk.ErlangSdkType.detectSdkVersion(ErlangSdkType.java:220)
    at org.intellij.erlang.sdk.ErlangSdkType.getRelease(ErlangSdkType.java:377)
    at org.intellij.erlang.sdk.ErlangSdkType.getRelease(ErlangSdkType.java:192)
    at org.intellij.erlang.inspection.ErlangImportDirectiveOverridesAutoImportedBifInspection.canRunOn(ErlangImportDirectiveOverridesAutoImportedBifInspection.java:34)
    at org.intellij.erlang.inspection.ErlangInspectionBase.buildVisitor(ErlangInspectionBase.java:46)
    at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:45)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:320)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:279)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:161)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:153)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:277)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:132)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:121)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$6(LocalInspectionsPass.java:277)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:136)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1091)
    at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:92)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:104)
    at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:83)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:83)
    at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:1708)
    at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1039)
    at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:71)
    at com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:49)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitPriorityElementsAndInit(LocalInspectionsPass.java:292)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:204)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:119)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:392)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:368)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
2021-05-25 00:16:13,537 [6582086]  ERROR - ution.process.OSProcessHandler - IntelliJ IDEA 2021.1.1  Build #IU-211.7142.45 
2021-05-25 00:16:13,537 [6582086]  ERROR - ution.process.OSProcessHandler - JDK: 11.0.10; VM: Dynamic Code Evolution 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-05-25 00:16:13,537 [6582086]  ERROR - ution.process.OSProcessHandler - OS: Windows 10 
2021-05-25 00:16:13,538 [6582087]  ERROR - ution.process.OSProcessHandler - Plugin to blame: Erlang version: 0.11.1108