-
-
Save Hexer10/5fe21deb9049cfbc08ec5ff79600b2c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:45:06: Executing task 'runIde'... | |
Starting Gradle Daemon... | |
Connected to the target VM, address: '127.0.0.1:50218', transport: 'socket' | |
Gradle Daemon started in 885 ms | |
> Task :generateGrammarSource UP-TO-DATE | |
> Task :compileJava UP-TO-DATE | |
> Task :patchPluginXml UP-TO-DATE | |
> Task :processResources UP-TO-DATE | |
> Task :classes UP-TO-DATE | |
> Task :instrumentCode UP-TO-DATE | |
> Task :postInstrumentCode | |
> Task :jar UP-TO-DATE | |
> Task :prepareSandbox UP-TO-DATE | |
Connected to the VM started by ':runIde' (localhost:50230). Open the debugger session tab | |
> Task :runIde | |
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil to method sun.java2d.SunGraphicsEnvironment.isUIScaleEnabled() | |
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil | |
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
WARNING: All illegal access operations will be denied in a future release | |
2020-11-19 11:45:13,991 [ 532] WARN - j.internal.DebugAttachDetector - Unable to start DebugAttachDetector, please add `--add-exports java.base/jdk.internal.vm=ALL-UNNAMED` to VM options | |
2020-11-19 11:45:15,644 [ 2185] WARN - Container.ComponentManagerImpl - Do not use constructor injection (requestorClass=org.jetbrains.android.compose.AndroidComposeAutoDocumentation) | |
2020-11-19 11:45:16,144 [ 2685] WARN - tartup.impl.StartupManagerImpl - Activities registered via registerPostStartupActivity must be dumb-aware: org.jetbrains.kotlin.idea.configuration.ui.KotlinConfigurationCheckerComponent$projectOpened$1@e9b4de1 | |
2020-11-19 11:45:16,461 [ 3002] ERROR - i.util.KeyedExtensionCollector - Could not initialize class net.hexah.sourcepawn.SourcePawnParserDefinition [Plugin: net.hexah.sourcepawn] | |
com.intellij.diagnostic.PluginException: Could not initialize class net.hexah.sourcepawn.SourcePawnParserDefinition [Plugin: net.hexah.sourcepawn] | |
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateExtensionWithPicoContainerOnlyIfNeeded(ComponentManagerImpl.kt:681) | |
at com.intellij.serviceContainer.LazyExtensionInstance.createInstance(LazyExtensionInstance.java:43) | |
at com.intellij.serviceContainer.LazyExtensionInstance.getInstance(LazyExtensionInstance.java:36) | |
at com.intellij.serviceContainer.BaseKeyedLazyInstance.getInstance(BaseKeyedLazyInstance.java:37) | |
at com.intellij.openapi.util.KeyedExtensionCollector.buildExtensionsFromExtensionPoint(KeyedExtensionCollector.java:155) | |
at com.intellij.openapi.util.KeyedExtensionCollector.buildExtensions(KeyedExtensionCollector.java:128) | |
at com.intellij.lang.LanguageExtension.buildExtensions(LanguageExtension.java:157) | |
at com.intellij.lang.LanguageExtension.buildExtensions(LanguageExtension.java:26) | |
at com.intellij.openapi.util.KeyedExtensionCollector.forKey(KeyedExtensionCollector.java:109) | |
at com.intellij.lang.LanguageExtension.findForLanguage(LanguageExtension.java:111) | |
at com.intellij.lang.LanguageExtension.forLanguage(LanguageExtension.java:103) | |
at com.intellij.psi.AbstractFileViewProvider.createFile(AbstractFileViewProvider.java:144) | |
at com.intellij.psi.AbstractFileViewProvider.createFile(AbstractFileViewProvider.java:130) | |
at com.intellij.psi.AbstractFileViewProvider.createFile(AbstractFileViewProvider.java:119) | |
at com.intellij.psi.SingleRootFileViewProvider.createFile(SingleRootFileViewProvider.java:145) | |
at com.intellij.psi.SingleRootFileViewProvider.getPsiInner(SingleRootFileViewProvider.java:99) | |
at com.intellij.psi.AbstractFileViewProvider.getPsi(AbstractFileViewProvider.java:196) | |
at com.intellij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:358) | |
at com.intellij.psi.impl.PsiManagerImpl.findFile(PsiManagerImpl.java:153) | |
at com.android.tools.idea.AndroidPsiUtils.lambda$getPsiFileSafely$0(AndroidPsiUtils.java:72) | |
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:851) | |
at com.android.tools.idea.AndroidPsiUtils.getPsiFileSafely(AndroidPsiUtils.java:68) | |
at com.android.tools.idea.common.editor.DesignerEditorProvider.accept(DesignerEditorProvider.java:75) | |
at com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl.lambda$getProviders$0(FileEditorProviderManagerImpl.java:48) | |
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:869) | |
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61) | |
at com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl.getProviders(FileEditorProviderManagerImpl.java:44) | |
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4(FileEditorManagerImpl.java:742) | |
at com.intellij.openapi.fileEditor.impl.EditorsSplitters$UIBuilder.processFiles(EditorsSplitters.java:921) | |
at com.intellij.openapi.fileEditor.impl.EditorsSplitters$UIBuilder.processFiles(EditorsSplitters.java:879) | |
at com.intellij.openapi.fileEditor.impl.EditorsSplitters$ConfigTreeReader.process(EditorsSplitters.java:871) | |
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.restoreEditors(EditorsSplitters.java:248) | |
at com.intellij.openapi.fileEditor.impl.OpenFilesActivity.runActivity(OpenFilesActivity.java:40) | |
at com.intellij.ide.startup.impl.StartupManagerImpl.runActivity(StartupManagerImpl.java:300) | |
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$executeActivitiesFromExtensionPoint$2(StartupManagerImpl.java:198) | |
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processImplementations(ExtensionPointImpl.java:313) | |
at com.intellij.ide.startup.impl.StartupManagerImpl.executeActivitiesFromExtensionPoint(StartupManagerImpl.java:179) | |
at com.intellij.ide.startup.impl.StartupManagerImpl.runStartUpActivities(StartupManagerImpl.java:171) | |
at com.intellij.ide.startup.impl.StartupManagerImpl.projectOpened(StartupManagerImpl.java:139) | |
at com.intellij.openapi.project.impl.ProjectManagerExImplKt.openProject(ProjectManagerExImpl.kt:333) | |
at com.intellij.openapi.project.impl.ProjectManagerExImplKt.access$openProject(ProjectManagerExImpl.kt:1) | |
at com.intellij.openapi.project.impl.ProjectManagerExImpl.doOpenProject$intellij_platform_ide_impl(ProjectManagerExImpl.kt:147) | |
at com.intellij.openapi.project.impl.ProjectManagerExImpl$openProject$$inlined$runInAutoSaveDisabledMode$lambda$1.invoke(ProjectManagerExImpl.kt:110) | |
at com.intellij.openapi.project.impl.ProjectManagerExImpl$openProject$$inlined$runInAutoSaveDisabledMode$lambda$1.invoke(ProjectManagerExImpl.kt:47) | |
at com.intellij.openapi.project.impl.ProjectUiFrameAllocator$run$1$progressTask$1.run(ProjectFrameAllocator.kt:97) | |
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:935) | |
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:490) | |
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:79) | |
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:235) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:170) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) | |
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235) | |
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) | |
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) | |
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) | |
at java.base/java.security.AccessController.doPrivileged(Native Method) | |
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) | |
at java.base/java.lang.Thread.run(Thread.java:834) | |
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.hexah.sourcepawn.SourcePawnParserDefinition | |
at java.base/java.lang.Class.forName0(Native Method) | |
at java.base/java.lang.Class.forName(Class.java:398) | |
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateExtensionWithPicoContainerOnlyIfNeeded(ComponentManagerImpl.kt:678) | |
... 62 more | |
2020-11-19 11:45:16,463 [ 3004] ERROR - i.util.KeyedExtensionCollector - IntelliJ IDEA 2020.2.3 Build #IC-202.7660.26 | |
2020-11-19 11:45:16,463 [ 3004] ERROR - i.util.KeyedExtensionCollector - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. | |
2020-11-19 11:45:16,464 [ 3005] ERROR - i.util.KeyedExtensionCollector - OS: Windows 10 | |
2020-11-19 11:45:16,464 [ 3005] ERROR - i.util.KeyedExtensionCollector - Plugin to blame: SourcePawn Language version: 0.1 | |
2020-11-19 11:45:16,464 [ 3005] ERROR - i.util.KeyedExtensionCollector - Last Action: | |
2020-11-19 11:45:18,997 [ 5538] WARN - com.intellij.util.xmlb.Binding - no accessors for org.jetbrains.kotlin.idea.highlighter.KotlinDefaultHighlightingSettingsProvider | |
2020-11-19 11:45:19,244 [ 5785] WARN - g.jetbrains.kotlin.idea.script - Default Script SDK is null: projectSdk = null, all sdks = | |
2020-11-19 11:45:19,272 [ 5813] WARN - g.jetbrains.kotlin.idea.script - Default Script SDK is null: projectSdk = null, all sdks = | |
2020-11-19 11:45:20,750 [ 7291] ERROR - aemon.impl.PassExecutorService - Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.$$$reportNull$$$0(ProgressIndicatorUtils.java) | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java) | |
at com.intellij.psi.stubs.StubIndexImpl.getAsyncState(StubIndexImpl.java:100) | |
at com.intellij.psi.stubs.StubIndexImpl.getIndex(StubIndexImpl.java:358) | |
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:447) | |
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:294) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:108) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:96) | |
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:30) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:86) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:112) | |
at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:49) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:96) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:73) | |
at org.jetbrains.idea.devkit.util.PsiUtil.lambda$isPluginModule$1(PsiUtil.java:189) | |
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) | |
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235) | |
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112) | |
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) | |
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236) | |
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) | |
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:76) | |
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110) | |
at org.jetbrains.idea.devkit.util.PsiUtil.isPluginModule(PsiUtil.java:187) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.isAllowed(DevKitInspectionBase.java:41) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.buildVisitor(DevKitInspectionBase.java:24) | |
at com.intellij.codeInspection.LocalInspectionTool.buildVisitor(LocalInspectionTool.java:126) | |
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:45) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:296) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:265) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:155) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:147) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:264) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:264) | |
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110) | |
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) | |
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:117) | |
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:170) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:182) | |
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) | |
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$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) | |
2020-11-19 11:45:20,752 [ 7293] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 2020.2.3 Build #IC-202.7660.26 | |
2020-11-19 11:45:20,752 [ 7293] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. | |
2020-11-19 11:45:20,752 [ 7293] ERROR - aemon.impl.PassExecutorService - OS: Windows 10 | |
2020-11-19 11:45:20,752 [ 7293] ERROR - aemon.impl.PassExecutorService - Last Action: | |
2020-11-19 11:45:20,753 [ 7294] ERROR - aemon.impl.PassExecutorService - Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.$$$reportNull$$$0(ProgressIndicatorUtils.java) | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java) | |
at com.intellij.psi.stubs.StubIndexImpl.getAsyncState(StubIndexImpl.java:100) | |
at com.intellij.psi.stubs.StubIndexImpl.getIndex(StubIndexImpl.java:358) | |
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:447) | |
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:294) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:108) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:96) | |
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:30) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:86) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:112) | |
at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:49) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:96) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:73) | |
at org.jetbrains.idea.devkit.util.PsiUtil.lambda$isPluginModule$1(PsiUtil.java:189) | |
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) | |
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235) | |
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112) | |
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) | |
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236) | |
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) | |
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:76) | |
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110) | |
at org.jetbrains.idea.devkit.util.PsiUtil.isPluginModule(PsiUtil.java:187) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.isAllowed(DevKitInspectionBase.java:41) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.buildVisitor(DevKitInspectionBase.java:24) | |
at com.intellij.codeInspection.LocalInspectionTool.buildVisitor(LocalInspectionTool.java:126) | |
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:45) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:296) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:265) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:155) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:147) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:264) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:264) | |
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110) | |
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) | |
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:117) | |
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:170) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:182) | |
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) | |
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$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) | |
2020-11-19 11:45:20,760 [ 7301] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 2020.2.3 Build #IC-202.7660.26 | |
2020-11-19 11:45:20,761 [ 7302] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. | |
2020-11-19 11:45:20,761 [ 7302] ERROR - aemon.impl.PassExecutorService - OS: Windows 10 | |
2020-11-19 11:45:20,761 [ 7302] ERROR - aemon.impl.PassExecutorService - Last Action: | |
2020-11-19 11:45:22,840 [ 9381] ERROR - aemon.impl.PassExecutorService - Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.$$$reportNull$$$0(ProgressIndicatorUtils.java) | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java) | |
at com.intellij.psi.stubs.StubIndexImpl.getAsyncState(StubIndexImpl.java:100) | |
at com.intellij.psi.stubs.StubIndexImpl.getIndex(StubIndexImpl.java:358) | |
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:447) | |
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:294) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:108) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:96) | |
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:30) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:86) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:112) | |
at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:49) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:96) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:73) | |
at org.jetbrains.idea.devkit.util.PsiUtil.lambda$isPluginModule$1(PsiUtil.java:189) | |
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) | |
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235) | |
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112) | |
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) | |
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236) | |
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) | |
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:76) | |
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110) | |
at org.jetbrains.idea.devkit.util.PsiUtil.isPluginModule(PsiUtil.java:187) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.isAllowed(DevKitInspectionBase.java:41) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.buildVisitor(DevKitInspectionBase.java:24) | |
at com.intellij.codeInspection.LocalInspectionTool.buildVisitor(LocalInspectionTool.java:126) | |
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:45) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:296) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:265) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:155) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:147) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:264) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:264) | |
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110) | |
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) | |
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:117) | |
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:170) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:182) | |
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) | |
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$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) | |
2020-11-19 11:45:22,841 [ 9382] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 2020.2.3 Build #IC-202.7660.26 | |
2020-11-19 11:45:22,841 [ 9382] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. | |
2020-11-19 11:45:22,841 [ 9382] ERROR - aemon.impl.PassExecutorService - OS: Windows 10 | |
2020-11-19 11:45:22,841 [ 9382] ERROR - aemon.impl.PassExecutorService - Last Action: | |
2020-11-19 11:45:22,841 [ 9382] ERROR - aemon.impl.PassExecutorService - Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.$$$reportNull$$$0(ProgressIndicatorUtils.java) | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java) | |
at com.intellij.psi.stubs.StubIndexImpl.getAsyncState(StubIndexImpl.java:100) | |
at com.intellij.psi.stubs.StubIndexImpl.getIndex(StubIndexImpl.java:358) | |
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:447) | |
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:294) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:108) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:96) | |
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:30) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:86) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:112) | |
at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:49) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:96) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:73) | |
at org.jetbrains.idea.devkit.util.PsiUtil.lambda$isPluginModule$1(PsiUtil.java:189) | |
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) | |
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235) | |
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112) | |
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) | |
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236) | |
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) | |
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:76) | |
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110) | |
at org.jetbrains.idea.devkit.util.PsiUtil.isPluginModule(PsiUtil.java:187) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.isAllowed(DevKitInspectionBase.java:41) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.buildVisitor(DevKitInspectionBase.java:24) | |
at com.intellij.codeInspection.LocalInspectionTool.buildVisitor(LocalInspectionTool.java:126) | |
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:45) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:296) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:265) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:155) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:147) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:264) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:264) | |
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110) | |
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) | |
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:117) | |
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:170) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:182) | |
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) | |
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$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) | |
2020-11-19 11:45:22,842 [ 9383] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 2020.2.3 Build #IC-202.7660.26 | |
2020-11-19 11:45:22,842 [ 9383] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. | |
2020-11-19 11:45:22,842 [ 9383] ERROR - aemon.impl.PassExecutorService - OS: Windows 10 | |
2020-11-19 11:45:22,843 [ 9384] ERROR - aemon.impl.PassExecutorService - Last Action: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-11-19 11:43:36,629 [ 504906] ERROR - aemon.impl.PassExecutorService - Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.$$$reportNull$$$0(ProgressIndicatorUtils.java) | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java) | |
at com.intellij.psi.stubs.StubIndexImpl.getAsyncState(StubIndexImpl.java:100) | |
at com.intellij.psi.stubs.StubIndexImpl.getIndex(StubIndexImpl.java:358) | |
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:447) | |
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:294) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:108) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:96) | |
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:30) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:86) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:112) | |
at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:49) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:96) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:73) | |
at org.jetbrains.idea.devkit.util.PsiUtil.lambda$isPluginModule$1(PsiUtil.java:189) | |
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) | |
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235) | |
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112) | |
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) | |
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236) | |
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) | |
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:76) | |
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110) | |
at org.jetbrains.idea.devkit.util.PsiUtil.isPluginModule(PsiUtil.java:187) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.isAllowed(DevKitInspectionBase.java:41) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.buildVisitor(DevKitInspectionBase.java:24) | |
at com.intellij.codeInspection.LocalInspectionTool.buildVisitor(LocalInspectionTool.java:126) | |
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:45) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:296) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:265) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:155) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:147) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:264) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:264) | |
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110) | |
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) | |
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:117) | |
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:170) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:182) | |
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) | |
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$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) | |
2020-11-19 11:43:36,629 [ 504906] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 2020.2.3 Build #IC-202.7660.26 | |
2020-11-19 11:43:36,629 [ 504906] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. | |
2020-11-19 11:43:36,629 [ 504906] ERROR - aemon.impl.PassExecutorService - OS: Windows 10 | |
2020-11-19 11:43:36,629 [ 504906] ERROR - aemon.impl.PassExecutorService - Last Action: EditorLeft | |
2020-11-19 11:43:36,629 [ 504906] ERROR - aemon.impl.PassExecutorService - Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'future' of com/intellij/openapi/progress/util/ProgressIndicatorUtils.awaitWithCheckCanceled must not be null | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.$$$reportNull$$$0(ProgressIndicatorUtils.java) | |
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java) | |
at com.intellij.psi.stubs.StubIndexImpl.getAsyncState(StubIndexImpl.java:100) | |
at com.intellij.psi.stubs.StubIndexImpl.getIndex(StubIndexImpl.java:358) | |
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:447) | |
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:294) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:108) | |
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:96) | |
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:30) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:86) | |
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:112) | |
at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:49) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:96) | |
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:73) | |
at org.jetbrains.idea.devkit.util.PsiUtil.lambda$isPluginModule$1(PsiUtil.java:189) | |
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) | |
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235) | |
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112) | |
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) | |
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236) | |
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) | |
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:76) | |
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110) | |
at org.jetbrains.idea.devkit.util.PsiUtil.isPluginModule(PsiUtil.java:187) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.isAllowed(DevKitInspectionBase.java:41) | |
at org.jetbrains.idea.devkit.inspections.DevKitInspectionBase.buildVisitor(DevKitInspectionBase.java:24) | |
at com.intellij.codeInspection.LocalInspectionTool.buildVisitor(LocalInspectionTool.java:126) | |
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:45) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:296) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:265) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:155) | |
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:147) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:264) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:264) | |
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110) | |
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) | |
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:117) | |
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:170) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:182) | |
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) | |
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$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) | |
2020-11-19 11:43:36,630 [ 504907] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 2020.2.3 Build #IC-202.7660.26 | |
2020-11-19 11:43:36,630 [ 504907] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. | |
2020-11-19 11:43:36,630 [ 504907] ERROR - aemon.impl.PassExecutorService - OS: Windows 10 | |
2020-11-19 11:43:36,630 [ 504907] ERROR - aemon.impl.PassExecutorService - Last Action: EditorLeft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<idea-plugin> | |
<id>net.hexah.sourcepawn</id> | |
<name>SourcePawn Language</name> | |
<version>0.1</version> | |
<vendor email="hexer504@gmail.com" url="https://hexah.net">Hexah</vendor> | |
<description><![CDATA[ | |
<p>SourcePawn language support that is very nice and build in idea.</p> | |
]]></description> | |
<change-notes><![CDATA[ | |
]]> | |
</change-notes> | |
<!-- please see http://confluence.jetbrains.net/display/IDEADEV/Build+Number+Ranges for description --> | |
<idea-version since-build="183"/> <!-- requires 13.x, 14.x, 15.x --> | |
<!-- please see http://confluence.jetbrains.net/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products | |
on how to target different products --> | |
<!-- uncomment to enable plugin in all products --> | |
<depends>com.intellij.modules.lang</depends> | |
<application-components> | |
</application-components> | |
<actions> | |
</actions> | |
<extensions defaultExtensionNs="com.intellij"> | |
<fileType language="SourcePawn" extensions="sp" name="SourcePawn file" implementationClass="net.hexah.sourcepawn.SourcePawnFileType"/> | |
<lang.syntaxHighlighterFactory language="SourcePawn" implementationClass="net.hexah.sourcepawn.SourcePawnSyntaxHighlighterFactory"/> | |
<lang.braceMatcher language="SourcePawn" implementationClass="net.hexah.sourcepawn.SourcePawnBraceMatcher"/> | |
<lang.parserDefinition language="SourcePawn" implementationClass="net.hexah.sourcepawn.SourcePawnParserDefinition"/> | |
<lang.ast.factory language="SourcePawn" implementationClass="net.hexah.sourcepawn.SourcePawnASTFactory"/> | |
<lang.psiStructureViewFactory language="SourcePawn" | |
implementationClass="net.hexah.sourcepawn.structview.SourcepawnStructureViewFactory"/> | |
<colorSettingsPage implementation="net.hexah.sourcepawn.SourcePawnColorSettingsPage"/> | |
<externalAnnotator language="SourcePawn" implementationClass="net.hexah.sourcepawn.SourcePawnExternalAnnotator"/> | |
<lang.findUsagesProvider language="SourcePawn" | |
implementationClass="net.hexah.sourcepawn.SourcePawnFindUsagesProvider"/> | |
</extensions> | |
</idea-plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
[The "BSD licence"] | |
Copyright (c) 2013 Sam Harwell | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions | |
are met: | |
1. Redistributions of source code must retain the above copyright | |
notice, this list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright | |
notice, this list of conditions and the following disclaimer in the | |
documentation and/or other materials provided with the distribution. | |
3. The name of the author may not be used to endorse or promote products | |
derived from this software without specific prior written permission. | |
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | |
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | |
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | |
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | |
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | |
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | |
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
*/ | |
/** C 2011 grammar built from the C11 Spec */ | |
grammar SourcePawnLanguage; | |
primaryExpression | |
: Identifier | |
| Constant | |
| StringLiteral+ | |
; | |
postfixExpression | |
: primaryExpression | |
| postfixExpression '[' expression ']' | |
| postfixExpression '(' argumentExpressionList? ')' | |
| postfixExpression '.' Identifier | |
| postfixExpression '++' | |
| postfixExpression '--' | |
| '(' typeName ')' '{' initializerList '}' | |
| '(' typeName ')' '{' initializerList ',' '}' | |
| '__extension__' '(' typeName ')' '{' initializerList '}' | |
| '__extension__' '(' typeName ')' '{' initializerList ',' '}' | |
; | |
argumentExpressionList | |
: assignmentExpression | |
| argumentExpressionList ',' assignmentExpression | |
; | |
unaryExpression | |
: postfixExpression | |
| '++' unaryExpression | |
| '--' unaryExpression | |
| unaryOperator castExpression | |
| 'sizeof' unaryExpression | |
| 'sizeof' '(' typeName ')' | |
| '&&' Identifier // GCC extension address of label | |
; | |
unaryOperator | |
: '&' | '*' | '+' | '-' | '~' | '!' | |
; | |
castExpression | |
: '(' typeName ')' castExpression | |
| unaryExpression | |
| DigitSequence // for | |
; | |
multiplicativeExpression | |
: castExpression | |
| multiplicativeExpression '*' castExpression | |
| multiplicativeExpression '/' castExpression | |
| multiplicativeExpression '%' castExpression | |
; | |
additiveExpression | |
: multiplicativeExpression | |
| additiveExpression '+' multiplicativeExpression | |
| additiveExpression '-' multiplicativeExpression | |
; | |
shiftExpression | |
: additiveExpression | |
| shiftExpression '<<' additiveExpression | |
| shiftExpression '>>' additiveExpression | |
; | |
relationalExpression | |
: shiftExpression | |
| relationalExpression '<' shiftExpression | |
| relationalExpression '>' shiftExpression | |
| relationalExpression '<=' shiftExpression | |
| relationalExpression '>=' shiftExpression | |
; | |
equalityExpression | |
: relationalExpression | |
| equalityExpression '==' relationalExpression | |
| equalityExpression '!=' relationalExpression | |
; | |
andExpression | |
: equalityExpression | |
| andExpression '&' equalityExpression | |
; | |
exclusiveOrExpression | |
: andExpression | |
| exclusiveOrExpression '^' andExpression | |
; | |
inclusiveOrExpression | |
: exclusiveOrExpression | |
| inclusiveOrExpression '|' exclusiveOrExpression | |
; | |
logicalAndExpression | |
: inclusiveOrExpression | |
| logicalAndExpression '&&' inclusiveOrExpression | |
; | |
logicalOrExpression | |
: logicalAndExpression | |
| logicalOrExpression '||' logicalAndExpression | |
; | |
conditionalExpression | |
: logicalOrExpression ('?' expression ':' conditionalExpression)? | |
; | |
assignmentExpression | |
: conditionalExpression | |
| unaryExpression assignmentOperator assignmentExpression | |
| DigitSequence // for | |
; | |
assignmentOperator | |
: '=' | '*=' | '/=' | '%=' | '+=' | '-=' | '<<=' | '>>=' | '&=' | '^=' | '|=' | |
; | |
expression | |
: assignmentExpression | |
| expression ',' assignmentExpression | |
; | |
constantExpression | |
: conditionalExpression | |
; | |
declaration | |
: declarationSpecifiers initDeclaratorList ';' | |
| declarationSpecifiers ';' | |
| staticAssertDeclaration | |
; | |
declarationSpecifiers | |
: declarationSpecifier+ | |
; | |
declarationSpecifiers2 | |
: declarationSpecifier+ | |
; | |
declarationSpecifier | |
: storageClassSpecifier | |
| typeSpecifier | |
| typeQualifier | |
; | |
initDeclaratorList | |
: initDeclarator | |
| initDeclaratorList ',' initDeclarator | |
; | |
initDeclarator | |
: declarator | |
| declarator '=' initializer | |
; | |
storageClassSpecifier | |
: 'static' | |
; | |
typeSpecifier | |
: ('void' | |
| 'char' | |
| 'int' | |
| 'float' | |
| 'bool' | |
| 'any') | |
| structOrUnionSpecifier | |
| enumSpecifier | |
| typedefName | |
; | |
structOrUnionSpecifier | |
: structOrUnion Identifier? '{' structDeclarationList '}' | |
| structOrUnion Identifier | |
; | |
structOrUnion | |
: 'struct' | |
| 'union' | |
; | |
structDeclarationList | |
: structDeclaration | |
| structDeclarationList structDeclaration | |
; | |
structDeclaration | |
: specifierQualifierList structDeclaratorList? ';' | |
| staticAssertDeclaration | |
; | |
specifierQualifierList | |
: typeSpecifier specifierQualifierList? | |
| typeQualifier specifierQualifierList? | |
; | |
structDeclaratorList | |
: structDeclarator | |
| structDeclaratorList ',' structDeclarator | |
; | |
structDeclarator | |
: declarator | |
| declarator? ':' constantExpression | |
; | |
enumSpecifier | |
: 'enum' Identifier? '{' enumeratorList '}' | |
| 'enum' Identifier? '{' enumeratorList ',' '}' | |
| 'enum' Identifier | |
; | |
enumeratorList | |
: enumerator | |
| enumeratorList ',' enumerator | |
; | |
enumerator | |
: enumerationConstant | |
| enumerationConstant '=' constantExpression | |
; | |
enumerationConstant | |
: Identifier | |
; | |
typeQualifier | |
: 'const' | |
| 'restrict' | |
| 'volatile' | |
| '_Atomic' | |
; | |
declarator | |
: directDeclarator gccDeclaratorExtension* | |
; | |
directDeclarator | |
: Identifier | |
| '(' declarator ')' | |
| directDeclarator '[' typeQualifierList? assignmentExpression? ']' | |
| directDeclarator '[' 'static' typeQualifierList? assignmentExpression ']' | |
| directDeclarator '[' typeQualifierList 'static' assignmentExpression ']' | |
| directDeclarator '[' typeQualifierList? '*' ']' | |
| directDeclarator '(' parameterTypeList ')' | |
| directDeclarator '(' identifierList? ')' | |
| Identifier ':' DigitSequence // bit field | |
; | |
gccDeclaratorExtension | |
: '__asm' '(' StringLiteral+ ')' | |
| gccAttributeSpecifier | |
; | |
gccAttributeSpecifier | |
: '__attribute__' '(' '(' gccAttributeList ')' ')' | |
; | |
gccAttributeList | |
: gccAttribute (',' gccAttribute)* | |
| // empty | |
; | |
gccAttribute | |
: ~(',' | '(' | ')') // relaxed def for "identifier or reserved word" | |
('(' argumentExpressionList? ')')? | |
| // empty | |
; | |
nestedParenthesesBlock | |
: ( ~('(' | ')') | |
| '(' nestedParenthesesBlock ')' | |
)* | |
; | |
typeQualifierList | |
: typeQualifier | |
| typeQualifierList typeQualifier | |
; | |
parameterTypeList | |
: parameterList | |
| parameterList ',' '...' | |
; | |
parameterList | |
: parameterDeclaration | |
| parameterList ',' parameterDeclaration | |
; | |
parameterDeclaration | |
: declarationSpecifiers declarator | |
| declarationSpecifiers2 abstractDeclarator? | |
; | |
identifierList | |
: Identifier | |
| identifierList ',' Identifier | |
; | |
typeName | |
: specifierQualifierList abstractDeclarator? | |
; | |
abstractDeclarator | |
: directAbstractDeclarator gccDeclaratorExtension* | |
; | |
directAbstractDeclarator | |
: '(' abstractDeclarator ')' gccDeclaratorExtension* | |
| '[' typeQualifierList? assignmentExpression? ']' | |
| '[' 'static' typeQualifierList? assignmentExpression ']' | |
| '[' typeQualifierList 'static' assignmentExpression ']' | |
| '[' '*' ']' | |
| '(' parameterTypeList? ')' gccDeclaratorExtension* | |
| directAbstractDeclarator '[' typeQualifierList? assignmentExpression? ']' | |
| directAbstractDeclarator '[' 'static' typeQualifierList? assignmentExpression ']' | |
| directAbstractDeclarator '[' typeQualifierList 'static' assignmentExpression ']' | |
| directAbstractDeclarator '[' '*' ']' | |
| directAbstractDeclarator '(' parameterTypeList? ')' gccDeclaratorExtension* | |
; | |
typedefName | |
: Identifier | |
; | |
initializer | |
: assignmentExpression | |
| '{' initializerList '}' | |
| '{' initializerList ',' '}' | |
; | |
initializerList | |
: designation? initializer | |
| initializerList ',' designation? initializer | |
; | |
designation | |
: designatorList '=' | |
; | |
designatorList | |
: designator | |
| designatorList designator | |
; | |
designator | |
: '[' constantExpression ']' | |
| '.' Identifier | |
; | |
staticAssertDeclaration | |
: '_Static_assert' '(' constantExpression ',' StringLiteral+ ')' ';' | |
; | |
statement | |
: labeledStatement | |
| compoundStatement | |
| expressionStatement | |
| selectionStatement | |
| iterationStatement | |
| jumpStatement | |
| ('__asm' | '__asm__') ('volatile' | '__volatile__') '(' (logicalOrExpression (',' logicalOrExpression)*)? (':' (logicalOrExpression (',' logicalOrExpression)*)?)* ')' ';' | |
; | |
labeledStatement | |
: Identifier ':' statement | |
| 'case' constantExpression ':' statement | |
| 'default' ':' statement | |
; | |
compoundStatement | |
: '{' blockItemList? '}' | |
; | |
blockItemList | |
: blockItem | |
| blockItemList blockItem | |
; | |
blockItem | |
: statement | |
| declaration | |
; | |
expressionStatement | |
: expression? ';' | |
; | |
selectionStatement | |
: 'if' '(' expression ')' statement ('else' statement)? | |
| 'switch' '(' expression ')' statement | |
; | |
iterationStatement | |
: While '(' expression ')' statement | |
| Do statement While '(' expression ')' ';' | |
| For '(' forCondition ')' statement | |
; | |
// | 'for' '(' expression? ';' expression? ';' forUpdate? ')' statement | |
// | For '(' declaration expression? ';' expression? ')' statement | |
forCondition | |
: forDeclaration ';' forExpression? ';' forExpression? | |
| expression? ';' forExpression? ';' forExpression? | |
; | |
forDeclaration | |
: declarationSpecifiers initDeclaratorList | |
| declarationSpecifiers | |
; | |
forExpression | |
: assignmentExpression | |
| forExpression ',' assignmentExpression | |
; | |
jumpStatement | |
: 'goto' Identifier ';' | |
| 'continue' ';' | |
| 'break' ';' | |
| 'return' expression? ';' | |
| 'goto' unaryExpression ';' // GCC extension | |
; | |
compilationUnit | |
: translationUnit? EOF | |
; | |
translationUnit | |
: externalDeclaration | |
| translationUnit externalDeclaration | |
; | |
externalDeclaration | |
: functionDefinition | |
| declaration | |
| ';' // stray ; | |
; | |
functionDefinition | |
: declarationSpecifiers? declarator declarationList? compoundStatement | |
; | |
declarationList | |
: declaration | |
| declarationList declaration | |
; | |
Break : 'break'; | |
Case : 'case'; | |
Char : 'char'; | |
Const : 'const'; | |
Continue : 'continue'; | |
Default : 'default'; | |
Do : 'do'; | |
Else : 'else'; | |
Enum : 'enum'; | |
Float : 'float'; | |
For : 'for'; | |
If : 'if'; | |
Int : 'int'; | |
Bool : 'bool'; | |
Any : 'any'; | |
True : 'true'; | |
False : 'false'; | |
Return : 'return'; | |
Sizeof : 'sizeof'; | |
Static : 'static'; | |
Struct : 'struct'; | |
Switch : 'switch'; | |
Typedef : 'typedef'; | |
Void : 'void'; | |
While : 'while'; | |
LeftParen : '('; | |
RightParen : ')'; | |
LeftBracket : '['; | |
RightBracket : ']'; | |
LeftBrace : '{'; | |
RightBrace : '}'; | |
Less : '<'; | |
LessEqual : '<='; | |
Greater : '>'; | |
GreaterEqual : '>='; | |
LeftShift : '<<'; | |
RightShift : '>>'; | |
Plus : '+'; | |
PlusPlus : '++'; | |
Minus : '-'; | |
MinusMinus : '--'; | |
Star : '*'; | |
Div : '/'; | |
Mod : '%'; | |
And : '&'; | |
Or : '|'; | |
AndAnd : '&&'; | |
OrOr : '||'; | |
Caret : '^'; | |
Not : '!'; | |
Tilde : '~'; | |
Question : '?'; | |
Colon : ':'; | |
Semi : ';'; | |
Comma : ','; | |
Assign : '='; | |
// '*=' | '/=' | '%=' | '+=' | '-=' | '<<=' | '>>=' | '&=' | '^=' | '|=' | |
StarAssign : '*='; | |
DivAssign : '/='; | |
ModAssign : '%='; | |
PlusAssign : '+='; | |
MinusAssign : '-='; | |
LeftShiftAssign : '<<='; | |
RightShiftAssign : '>>='; | |
AndAssign : '&='; | |
XorAssign : '^='; | |
OrAssign : '|='; | |
Equal : '=='; | |
NotEqual : '!='; | |
Dot : '.'; | |
Ellipsis : '...'; | |
Identifier | |
: IdentifierNondigit | |
( IdentifierNondigit | |
| Digit | |
)* | |
; | |
fragment | |
IdentifierNondigit | |
: Nondigit | |
| UniversalCharacterName | |
//| // other implementation-defined characters... | |
; | |
fragment | |
Nondigit | |
: [a-zA-Z_] | |
; | |
fragment | |
Digit | |
: [0-9] | |
; | |
fragment | |
UniversalCharacterName | |
: '\\u' HexQuad | |
| '\\U' HexQuad HexQuad | |
; | |
fragment | |
HexQuad | |
: HexadecimalDigit HexadecimalDigit HexadecimalDigit HexadecimalDigit | |
; | |
Constant | |
: IntegerConstant | |
| FloatingConstant | |
//| EnumerationConstant | |
| CharacterConstant | |
; | |
fragment | |
IntegerConstant | |
: DecimalConstant IntegerSuffix? | |
| OctalConstant IntegerSuffix? | |
| HexadecimalConstant IntegerSuffix? | |
| BinaryConstant | |
; | |
fragment | |
BinaryConstant | |
: '0' [bB] [0-1]+ | |
; | |
fragment | |
DecimalConstant | |
: NonzeroDigit Digit* | |
; | |
fragment | |
OctalConstant | |
: '0' OctalDigit* | |
; | |
fragment | |
HexadecimalConstant | |
: HexadecimalPrefix HexadecimalDigit+ | |
; | |
fragment | |
HexadecimalPrefix | |
: '0' [xX] | |
; | |
fragment | |
NonzeroDigit | |
: [1-9] | |
; | |
fragment | |
OctalDigit | |
: [0-7] | |
; | |
fragment | |
HexadecimalDigit | |
: [0-9a-fA-F] | |
; | |
fragment | |
IntegerSuffix | |
: UnsignedSuffix LongSuffix? | |
| UnsignedSuffix LongLongSuffix | |
| LongSuffix UnsignedSuffix? | |
| LongLongSuffix UnsignedSuffix? | |
; | |
fragment | |
UnsignedSuffix | |
: [uU] | |
; | |
fragment | |
LongSuffix | |
: [lL] | |
; | |
fragment | |
LongLongSuffix | |
: 'll' | 'LL' | |
; | |
fragment | |
FloatingConstant | |
: DecimalFloatingConstant | |
| HexadecimalFloatingConstant | |
; | |
fragment | |
DecimalFloatingConstant | |
: FractionalConstant ExponentPart? FloatingSuffix? | |
| DigitSequence ExponentPart FloatingSuffix? | |
; | |
fragment | |
HexadecimalFloatingConstant | |
: HexadecimalPrefix HexadecimalFractionalConstant BinaryExponentPart FloatingSuffix? | |
| HexadecimalPrefix HexadecimalDigitSequence BinaryExponentPart FloatingSuffix? | |
; | |
fragment | |
FractionalConstant | |
: DigitSequence? '.' DigitSequence | |
| DigitSequence '.' | |
; | |
fragment | |
ExponentPart | |
: 'e' Sign? DigitSequence | |
| 'E' Sign? DigitSequence | |
; | |
fragment | |
Sign | |
: '+' | '-' | |
; | |
DigitSequence | |
: Digit+ | |
; | |
fragment | |
HexadecimalFractionalConstant | |
: HexadecimalDigitSequence? '.' HexadecimalDigitSequence | |
| HexadecimalDigitSequence '.' | |
; | |
fragment | |
BinaryExponentPart | |
: 'p' Sign? DigitSequence | |
| 'P' Sign? DigitSequence | |
; | |
fragment | |
HexadecimalDigitSequence | |
: HexadecimalDigit+ | |
; | |
fragment | |
FloatingSuffix | |
: 'f' | 'l' | 'F' | 'L' | |
; | |
fragment | |
CharacterConstant | |
: '\'' CCharSequence '\'' | |
| 'L\'' CCharSequence '\'' | |
| 'u\'' CCharSequence '\'' | |
| 'U\'' CCharSequence '\'' | |
; | |
fragment | |
CCharSequence | |
: CChar+ | |
; | |
fragment | |
CChar | |
: ~['\\\r\n] | |
| EscapeSequence | |
; | |
fragment | |
EscapeSequence | |
: SimpleEscapeSequence | |
| OctalEscapeSequence | |
| HexadecimalEscapeSequence | |
| UniversalCharacterName | |
; | |
fragment | |
SimpleEscapeSequence | |
: '\\' ['"?abfnrtv\\] | |
; | |
fragment | |
OctalEscapeSequence | |
: '\\' OctalDigit | |
| '\\' OctalDigit OctalDigit | |
| '\\' OctalDigit OctalDigit OctalDigit | |
; | |
fragment | |
HexadecimalEscapeSequence | |
: '\\x' HexadecimalDigit+ | |
; | |
StringLiteral | |
: '"' SCharSequence? '"' | |
; | |
fragment | |
SCharSequence | |
: SChar+ | |
; | |
fragment | |
SChar | |
: ~["\\\r\n] | |
| EscapeSequence | |
| '\\\n' // Added line | |
| '\\\r\n' // Added line | |
; | |
ComplexDefine | |
: '#' Whitespace? 'define' ~[#]* | |
-> channel(HIDDEN) | |
; | |
IncludeDirective | |
: '#' Whitespace? 'include' Whitespace? (('"' ~[\r\n]* '"') | ('<' ~[\r\n]* '>' )) Whitespace? Newline | |
-> channel(HIDDEN) | |
; | |
// ignore the following asm blocks: | |
/* | |
asm | |
{ | |
mfspr x, 286; | |
} | |
*/ | |
AsmBlock | |
: 'asm' ~'{'* '{' ~'}'* '}' | |
-> channel(HIDDEN) | |
; | |
// ignore the lines generated by c preprocessor | |
// sample line : '#line 1 "/home/dm/files/dk1.h" 1' | |
LineAfterPreprocessing | |
: '#line' Whitespace* ~[\r\n]* | |
-> channel(HIDDEN) | |
; | |
LineDirective | |
: '#' Whitespace? DecimalConstant Whitespace? StringLiteral ~[\r\n]* | |
-> channel(HIDDEN) | |
; | |
PragmaDirective | |
: '#' Whitespace? 'pragma' Whitespace ~[\r\n]* | |
-> channel(HIDDEN) | |
; | |
Whitespace | |
: [ \t]+ | |
-> channel(HIDDEN) | |
; | |
Newline | |
: ( '\r' '\n'? | |
| '\n' | |
) | |
-> channel(HIDDEN) | |
; | |
BlockComment | |
: '/*' .*? '*/' | |
-> channel(HIDDEN) | |
; | |
LineComment | |
: '//' ~[\r\n]* | |
-> channel(HIDDEN) | |
; | |
ERRCHAR | |
: . -> channel(HIDDEN) | |
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.hexah.sourcepawn; | |
import com.intellij.lang.ASTNode; | |
import com.intellij.lang.ParserDefinition; | |
import com.intellij.lang.PsiBuilder; | |
import com.intellij.lang.PsiParser; | |
import com.intellij.lexer.Lexer; | |
import com.intellij.openapi.project.Project; | |
import com.intellij.psi.FileViewProvider; | |
import com.intellij.psi.PsiElement; | |
import com.intellij.psi.PsiFile; | |
import com.intellij.psi.tree.IElementType; | |
import com.intellij.psi.tree.IFileElementType; | |
import com.intellij.psi.tree.TokenSet; | |
import net.hexah.sourcepawn.parser.SourcePawnLanguageLexer; | |
import net.hexah.sourcepawn.parser.SourcePawnLanguageParser; | |
import net.hexah.sourcepawn.psi.*; | |
import org.antlr.intellij.adaptor.lexer.ANTLRLexerAdaptor; | |
import org.antlr.intellij.adaptor.lexer.PSIElementTypeFactory; | |
import org.antlr.intellij.adaptor.lexer.RuleIElementType; | |
import org.antlr.intellij.adaptor.lexer.TokenIElementType; | |
import org.antlr.intellij.adaptor.parser.ANTLRParserAdaptor; | |
import org.antlr.intellij.adaptor.psi.ANTLRPsiNode; | |
import org.antlr.v4.runtime.Parser; | |
import org.antlr.v4.runtime.tree.ParseTree; | |
import org.jetbrains.annotations.NotNull; | |
import java.util.List; | |
public class SourcePawnParserDefinition implements ParserDefinition { | |
public SourcePawnParserDefinition() { | |
} | |
public static final IFileElementType FILE = | |
new IFileElementType(SourcePawnLanguage.INSTANCE); | |
public static final List<TokenIElementType> tokenElementTypes; | |
public static final TokenSet COMMENTS = | |
PSIElementTypeFactory.createTokenSet( | |
SourcePawnLanguage.INSTANCE, | |
SourcePawnLanguageLexer.BlockComment, | |
SourcePawnLanguageLexer.LineComment); | |
public static final TokenSet WHITESPACE = | |
PSIElementTypeFactory.createTokenSet( | |
SourcePawnLanguage.INSTANCE, | |
SourcePawnLanguageLexer.Whitespace, | |
SourcePawnLanguageLexer.Newline); | |
public static final TokenSet STRING = | |
PSIElementTypeFactory.createTokenSet( | |
SourcePawnLanguage.INSTANCE, | |
SourcePawnLanguageLexer.StringLiteral); | |
public static TokenIElementType ID; | |
static { | |
PSIElementTypeFactory.defineLanguageIElementTypes(SourcePawnLanguage.INSTANCE, | |
SourcePawnLanguageParser.tokenNames, | |
SourcePawnLanguageParser.ruleNames); | |
tokenElementTypes = | |
PSIElementTypeFactory.getTokenIElementTypes(SourcePawnLanguage.INSTANCE); | |
ID = tokenElementTypes.get(SourcePawnLanguageLexer.Identifier); | |
} | |
@NotNull | |
@Override | |
public Lexer createLexer(Project project) { | |
SourcePawnLanguageLexer lexer = new SourcePawnLanguageLexer(null); | |
return new ANTLRLexerAdaptor(SourcePawnLanguage.INSTANCE, lexer); | |
} | |
@NotNull | |
public PsiParser createParser(final Project project) { | |
final SourcePawnLanguageParser parser = new SourcePawnLanguageParser(null); | |
return new ANTLRParserAdaptor(SourcePawnLanguage.INSTANCE, parser) { | |
@Override | |
protected ParseTree parse(Parser parser, IElementType root) { | |
return ((SourcePawnLanguageParser) parser).compilationUnit(); | |
} | |
}; | |
} | |
/** | |
* "Tokens of those types are automatically skipped by PsiBuilder." | |
*/ | |
@NotNull | |
public TokenSet getWhitespaceTokens() { | |
return WHITESPACE; | |
} | |
@NotNull | |
public TokenSet getCommentTokens() { | |
return COMMENTS; | |
} | |
@NotNull | |
public TokenSet getStringLiteralElements() { | |
return STRING; | |
} | |
public SpaceRequirements spaceExistenceTypeBetweenTokens(ASTNode left, ASTNode right) { | |
return SpaceRequirements.MAY; | |
} | |
/** | |
* What is the IFileElementType of the root parse tree node? It | |
* is called from {@link #createFile(FileViewProvider)} at least. | |
*/ | |
@Override | |
public IFileElementType getFileNodeType() { | |
return FILE; | |
} | |
/** | |
* Create the root of your PSI tree (a PsiFile). | |
* <p> | |
* From IntelliJ IDEA Architectural Overview: | |
* "A PSI (Program Structure Interface) file is the root of a structure | |
* representing the contents of a file as a hierarchy of elements | |
* in a particular programming language." | |
* <p> | |
* PsiFile is to be distinguished from a FileASTNode, which is a parse | |
* tree node that eventually becomes a PsiFile. From PsiFile, we can get | |
* it back via: {@link PsiFile#getNode}. | |
*/ | |
@Override | |
public PsiFile createFile(FileViewProvider viewProvider) { | |
return new SourcePawnPSIFileRoot(viewProvider); | |
} | |
/** | |
* Convert from *NON-LEAF* parse node (AST they call it) | |
* to PSI node. Leaves are created in the AST factory. | |
* Rename re-factoring can cause this to be | |
* called on a TokenIElementType since we want to rename ID nodes. | |
* In that case, this method is called to create the root node | |
* but with ID type. Kind of strange, but we can simply create a | |
* ASTWrapperPsiElement to make everything work correctly. | |
* <p> | |
* RuleIElementType. Ah! It's that ID is the root | |
* IElementType requested to parse, which means that the root | |
* node returned from parsetree->PSI conversion. But, it | |
* must be a CompositeElement! The adaptor calls | |
* rootMarker.done(root) to finish off the PSI conversion. | |
* See {@link ANTLRParserAdaptor#parse(IElementType root, | |
* PsiBuilder)} | |
* <p> | |
* If you don't care to distinguish PSI nodes by type, it is | |
* sufficient to create a {@link ANTLRPsiNode} around | |
* the parse tree node | |
*/ | |
@NotNull | |
public PsiElement createElement(ASTNode node) { | |
IElementType elType = node.getElementType(); | |
if (elType instanceof TokenIElementType) { | |
return new ANTLRPsiNode(node); | |
} | |
if (!(elType instanceof RuleIElementType)) { | |
return new ANTLRPsiNode(node); | |
} | |
RuleIElementType ruleElType = (RuleIElementType) elType; | |
switch (ruleElType.getRuleIndex()) { | |
case SourcePawnLanguageParser.RULE_compilationUnit: | |
return new FunctionSubtree(node, elType); | |
case SourcePawnLanguageParser.RULE_assignmentExpression: | |
return new VardefSubtree(node, elType); | |
case SourcePawnLanguageParser.RULE_argumentExpressionList: | |
return new ArgdefSubtree(node, elType); | |
case SourcePawnLanguageParser.RULE_compoundStatement: | |
return new BlockSubtree(node); | |
case SourcePawnLanguageParser.RULE_expressionStatement: | |
return new CallSubtree(node); | |
default: | |
return new ANTLRPsiNode(node); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment