HaxeFoundation / intellij-haxe

Haxe plugin for IntelliJ Platform based IDEs (IDEA, Android-Studio)
http://intellij-haxe.org
Apache License 2.0
219 stars 100 forks source link

IntelliJ IDEA 2023.2.5 Haxe exception #1139

Closed shaman4d closed 10 months ago

shaman4d commented 1 year ago

During typing code it appears from time to time. It does not prevent continue to use IDEA.

java.lang.NullPointerException: Cannot invoke "com.intellij.psi.PsiElement.getTextOffset()" because "second" is null
    at com.intellij.plugins.haxe.ide.annotator.semantics.HaxeCallExpressionUtil.checkConstructor(HaxeCallExpressionUtil.java:391)
    at com.intellij.plugins.haxe.ide.hint.parameters.HaxeInlayParameterHintsProvider.handleNewExpressions(HaxeInlayParameterHintsProvider.java:118)
    at com.intellij.plugins.haxe.ide.hint.parameters.HaxeInlayParameterHintsProvider.getParameterHints(HaxeInlayParameterHintsProvider.java:65)
    at com.intellij.codeInsight.hints.InlayParameterHintsProvider.getParameterHints(InlayParameterHintsProvider.java:42)
    at com.intellij.codeInsight.hints.ParameterHintsPass.process(ParameterHintsPass.java:113)
    at com.intellij.codeInsight.hints.ParameterHintsPass.lambda$doCollectInformation$2(ParameterHintsPass.java:105)
    at java.base/java.lang.Iterable.forEach(Iterable.java:75)
    at com.intellij.codeInsight.hints.ParameterHintsPass.doCollectInformation(ParameterHintsPass.java:105)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:390)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:77)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:24)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:386)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1133)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:377)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:376)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:352)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:201)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:207)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:350)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
m0rkeulv commented 1 year ago

Thanks for reporting, this will be fixed in next release

shaman4d commented 11 months ago

Hi. The same version IJ, haxe plugin 1.4.20

java.lang.AssertionError
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl._resolveHaxeClassInternal(HaxeReferenceImpl.java:402)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.resolveHaxeClassInternal(HaxeReferenceImpl.java:341)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.resolveHaxeClass(HaxeReferenceImpl.java:306)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.resolveChain(HaxeResolver.java:709)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.checkIsChain(HaxeResolver.java:620)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.doResolveInner(HaxeResolver.java:178)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.doResolve(HaxeResolver.java:146)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolveWithCaching$5(ResolveCache.java:268)
    at com.intellij.openapi.util.Computable.get(Computable.java:16)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$4(ResolveCache.java:234)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:27)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:212)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:268)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.resolve(HaxeResolver.java:94)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.doResolve(HaxeReferenceImpl.java:248)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.multiResolve(HaxeReferenceImpl.java:239)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.multiResolve(HaxeReferenceImpl.java:281)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.resolve(HaxeReferenceImpl.java:295)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.resolve(HaxeReferenceImpl.java:177)
    at com.intellij.plugins.haxe.ide.hint.parameters.HaxeInlayParameterHintsProvider.getMethodModel(HaxeInlayParameterHintsProvider.java:164)
    at com.intellij.plugins.haxe.ide.hint.parameters.HaxeInlayParameterHintsProvider.getParameterHints(HaxeInlayParameterHintsProvider.java:73)
    at com.intellij.codeInsight.hints.InlayParameterHintsProvider.getParameterHints(InlayParameterHintsProvider.java:42)
    at com.intellij.codeInsight.hints.ParameterHintsPass.process(ParameterHintsPass.java:113)
    at com.intellij.codeInsight.hints.ParameterHintsPass.lambda$doCollectInformation$2(ParameterHintsPass.java:105)
    at java.base/java.lang.Iterable.forEach(Iterable.java:75)
    at com.intellij.codeInsight.hints.ParameterHintsPass.doCollectInformation(ParameterHintsPass.java:105)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:390)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:77)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:24)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:386)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1133)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:377)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:376)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:352)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:201)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:207)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:350)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
m0rkeulv commented 11 months ago

Thanks, i have committed a fix, this will be fixed in the next release. https://github.com/HaxeFoundation/intellij-haxe/commit/961ea849446ad505c2584d3359dd44c4833c6627

shaman4d commented 10 months ago

Happy New Year! I wish you good luck in this year. Sorry but new exception (:

java.lang.Throwable: Stack Overflow trying to resolve Signal1
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolveResult.create(HaxeResolveResult.java:201)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResultInternal(HaxeResolveUtil.java:686)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResult(HaxeResolveUtil.java:641)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.tryResolveType(HaxeResolveUtil.java:896)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResultInternal(HaxeResolveUtil.java:669)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResult(HaxeResolveUtil.java:641)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResult(HaxeResolveUtil.java:595)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolveResult.generateParameterList(HaxeResolveResult.java:434)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolveResult.create(HaxeResolveResult.java:178)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResultInternal(HaxeResolveUtil.java:686)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResult(HaxeResolveUtil.java:641)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolveResult.specializeByParameters(HaxeResolveResult.java:475)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolveResult.create(HaxeResolveResult.java:178)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.tryResolveType(HaxeResolveUtil.java:891)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.tryResolveClassByTypeTag(HaxeResolveUtil.java:920)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResultInternal(HaxeResolveUtil.java:742)
    at com.intellij.plugins.haxe.util.HaxeResolveUtil.getHaxeClassResolveResult(HaxeResolveUtil.java:641)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl._resolveHaxeClassInternal(HaxeReferenceImpl.java:835)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.resolveHaxeClassInternal(HaxeReferenceImpl.java:341)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.resolveHaxeClass(HaxeReferenceImpl.java:306)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.tryGetLeftResolveResult(HaxeReferenceImpl.java:1117)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.getSpecialization(HaxeReferenceImpl.java:141)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.getGenericResolver(HaxeResolver.java:916)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.resolveBySuperClassAndSymbol(HaxeResolver.java:922)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.checkMemberReference(HaxeResolver.java:269)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.doResolveInner(HaxeResolver.java:190)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.doResolve(HaxeResolver.java:146)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolveWithCaching$5(ResolveCache.java:268)
    at com.intellij.openapi.util.Computable.get(Computable.java:16)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$4(ResolveCache.java:234)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:27)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:212)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:268)
    at com.intellij.plugins.haxe.lang.psi.HaxeResolver.resolve(HaxeResolver.java:94)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.doResolve(HaxeReferenceImpl.java:248)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.multiResolve(HaxeReferenceImpl.java:239)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.multiResolve(HaxeReferenceImpl.java:281)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.resolve(HaxeReferenceImpl.java:295)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeReferenceImpl.resolve(HaxeReferenceImpl.java:177)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:139)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitExpression(HaxeVisitor.java:235)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitCallExpression(HaxeVisitor.java:110)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeCallExpressionImpl.accept(HaxeCallExpressionImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeCallExpressionImpl.accept(HaxeCallExpressionImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:59)
    at com.intellij.plugins.haxe.lang.psi.HaxeRecursiveVisitor.visitElement(HaxeRecursiveVisitor.java:29)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:146)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitBlockStatementPsiMixin(HaxeVisitor.java:828)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitBlockStatement(HaxeVisitor.java:101)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeBlockStatementImpl.accept(HaxeBlockStatementImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeBlockStatementImpl.accept(HaxeBlockStatementImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:59)
    at com.intellij.plugins.haxe.lang.psi.HaxeRecursiveVisitor.visitElement(HaxeRecursiveVisitor.java:29)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:146)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitStatementPsiMixin(HaxeVisitor.java:888)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitGuardedStatement(HaxeVisitor.java:312)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeGuardedStatementImpl.accept(HaxeGuardedStatementImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeGuardedStatementImpl.accept(HaxeGuardedStatementImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:59)
    at com.intellij.plugins.haxe.lang.psi.HaxeRecursiveVisitor.visitElement(HaxeRecursiveVisitor.java:29)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:146)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitStatementPsiMixin(HaxeVisitor.java:888)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitIfStatement(HaxeVisitor.java:324)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeIfStatementImpl.accept(HaxeIfStatementImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeIfStatementImpl.accept(HaxeIfStatementImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:59)
    at com.intellij.plugins.haxe.lang.psi.HaxeRecursiveVisitor.visitElement(HaxeRecursiveVisitor.java:29)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:146)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitBlockStatementPsiMixin(HaxeVisitor.java:828)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitBlockStatement(HaxeVisitor.java:101)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeBlockStatementImpl.accept(HaxeBlockStatementImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeBlockStatementImpl.accept(HaxeBlockStatementImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:59)
    at com.intellij.plugins.haxe.lang.psi.HaxeRecursiveVisitor.visitElement(HaxeRecursiveVisitor.java:29)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:146)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitMethod(HaxeVisitor.java:856)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitMethodDeclaration(HaxeVisitor.java:496)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeMethodDeclarationImpl.accept(HaxeMethodDeclarationImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeMethodDeclarationImpl.accept(HaxeMethodDeclarationImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:59)
    at com.intellij.plugins.haxe.lang.psi.HaxeRecursiveVisitor.visitElement(HaxeRecursiveVisitor.java:29)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:146)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitClassBody(HaxeVisitor.java:128)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeClassBodyImpl.accept(HaxeClassBodyImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeClassBodyImpl.accept(HaxeClassBodyImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:59)
    at com.intellij.plugins.haxe.lang.psi.HaxeRecursiveVisitor.visitElement(HaxeRecursiveVisitor.java:29)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:146)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitClass(HaxeVisitor.java:832)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitClassDeclaration(HaxeVisitor.java:132)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeClassDeclarationImpl.accept(HaxeClassDeclarationImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeClassDeclarationImpl.accept(HaxeClassDeclarationImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:59)
    at com.intellij.plugins.haxe.lang.psi.HaxeRecursiveVisitor.visitElement(HaxeRecursiveVisitor.java:29)
    at com.intellij.plugins.haxe.util.HaxeImportUtil$1.visitElement(HaxeImportUtil.java:146)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitPsiCompositeElement(HaxeVisitor.java:908)
    at com.intellij.plugins.haxe.lang.psi.HaxeVisitor.visitModule(HaxeVisitor.java:504)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeModuleImpl.accept(HaxeModuleImpl.java:20)
    at com.intellij.plugins.haxe.lang.psi.impl.HaxeModuleImpl.accept(HaxeModuleImpl.java:25)
    at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:183)
    at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:747)
    at com.intellij.plugins.haxe.util.HaxeImportUtil.getExternalReferences(HaxeImportUtil.java:133)
    at com.intellij.plugins.haxe.util.HaxeImportUtil.findUnusedImports(HaxeImportUtil.java:41)
    at com.intellij.plugins.haxe.ide.inspections.HaxeUnusedImportInspection.checkFile(HaxeUnusedImportInspection.java:73)
    at com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:138)
    at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:59)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processInOrder$10(InspectionRunner.java:334)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1133)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processInOrder$11(InspectionRunner.java:342)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:201)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:207)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processInOrder$12(InspectionRunner.java:348)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:159)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:151)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processInOrder$13(InspectionRunner.java:311)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:130)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:119)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processInOrder$14(InspectionRunner.java:311)
    at com.intellij.concurrency.JobLauncherImpl$1MyProcessQueueTask.lambda$call$0(JobLauncherImpl.java:314)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.concurrency.JobLauncherImpl$1MyProcessQueueTask.call(JobLauncherImpl.java:299)
    at com.intellij.concurrency.JobLauncherImpl$1MyProcessQueueTask.call(JobLauncherImpl.java:285)
    at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)