[auto-generated:1090968097] Error while indexing /Users/quchen/projectC/meet/.mua/modules/mua-basics/lib/middleclass.lua
To reindex this file IDEA has to be restarted #6850
----------------------
- Plugin Name: EmmyLua
- Plugin Version: 1.3.8-IDEA223
- OS Name: Mac OS X
- Java Version: 17.0.5
- App Name: IDEA
- App Full Name: IntelliJ IDEA
- App Version name: IntelliJ IDEA
- Is EAP: false
- App Build: IU-223.8617.56
- App Version: 2022.3.2
- Last Action:
```
java.lang.AssertionError: Reentrant indexing
at com.intellij.util.indexing.FileBasedIndexImpl.markFileIndexed(FileBasedIndexImpl.java:1710)
at com.intellij.util.indexing.FileBasedIndexImpl.createSingleIndexValueApplier(FileBasedIndexImpl.java:1602)
at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1563)
at com.intellij.util.indexing.FileBasedIndexImpl.scheduleFileForIndexing(FileBasedIndexImpl.java:1880)
at com.intellij.util.indexing.events.ChangedFilesCollector.lambda$processFilesToUpdateInReadAction$3(ChangedFilesCollector.java:231)
at com.intellij.util.indexing.events.ChangedFilesCollector.lambda$processFilesInReadAction$4(ChangedFilesCollector.java:255)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:222)
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.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:230)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:230)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:221)
at com.intellij.util.indexing.events.ChangedFilesCollector.lambda$processFilesInReadAction$5(ChangedFilesCollector.java:254)
at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:233)
at com.intellij.util.indexing.events.ChangedFilesCollector.lambda$processFilesInReadAction$6(ChangedFilesCollector.java:252)
at com.intellij.util.indexing.events.VfsEventsMerger.processChanges(VfsEventsMerger.java:94)
at com.intellij.util.indexing.events.ChangedFilesCollector.processFilesInReadAction(ChangedFilesCollector.java:251)
at com.intellij.util.indexing.events.ChangedFilesCollector.processFilesToUpdateInReadAction(ChangedFilesCollector.java:227)
at com.intellij.util.indexing.events.ChangedFilesCollector.ensureUpToDate(ChangedFilesCollector.java:193)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:766)
at com.intellij.psi.stubs.StubIndexEx.getContainingIds(StubIndexEx.java:397)
at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:168)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:103)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:91)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex.get(LuaClassMemberIndex.kt:39)
at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.getClassMembers(LuaShortNamesManagerImpl.kt:49)
at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.getClassMembers(CompositeLuaShortNamesManager.kt:66)
at com.tang.intellij.lua.ty.TyClass.getMemberChain(TyClass.kt:107)
at com.tang.intellij.lua.ty.TyClass.findMember(TyClass.kt:125)
at com.tang.intellij.lua.ty.ITyClass$DefaultImpls.findMemberType(TyClass.kt:49)
at com.tang.intellij.lua.ty.TyClass.findMemberType(TyClass.kt:75)
at com.tang.intellij.lua.psi.PsiExtensionKt.shouldBeInternal$lambda$1(PsiExtension.kt:106)
at com.tang.intellij.lua.ty.Ty$eachTopClass$1.invoke(Ty.kt:182)
at com.tang.intellij.lua.ty.Ty$eachTopClass$1.invoke(Ty.kt:181)
at com.tang.intellij.lua.ty.Ty.eachTopClass$lambda$1(Ty.kt:181)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:702)
at com.tang.intellij.lua.ty.Ty.eachTopClass(Ty.kt:181)
at com.tang.intellij.lua.psi.PsiExtensionKt.shouldBeInternal(PsiExtension.kt:105)
at com.tang.intellij.lua.psi.PsiExtensionKt.shouldBe(PsiExtension.kt:116)
at com.tang.intellij.lua.psi.PsiExtensionKt.shouldBeInternal(PsiExtension.kt:104)
at com.tang.intellij.lua.psi.PsiExtensionKt.shouldBe(PsiExtension.kt:116)
at com.tang.intellij.lua.ty.DeclarationsKt.resolveParamType(Declarations.kt:306)
at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:111)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:42)
at com.tang.intellij.lua.ty.LuaTypeInfer.inferType(LuaTypeInfer.kt:25)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:33)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:175)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:40)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ty.LuaTypeInfer.inferType(LuaTypeInfer.kt:25)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:33)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:175)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:262)
at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:93)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda$8(Expressions.kt:364)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:112)
at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:323)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ty.LuaTypeInfer.inferType(LuaTypeInfer.kt:25)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:33)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:175)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:262)
at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:93)
at com.tang.intellij.lua.stubs.LuaIndexExprType$createStub$ty$1.invoke(LuaIndexExprStub.kt:73)
at com.tang.intellij.lua.stubs.LuaIndexExprType$createStub$ty$1.invoke(LuaIndexExprStub.kt:72)
at com.tang.intellij.lua.search.SearchContext$Companion$withStub$1.invoke(SearchContext.kt:97)
at com.tang.intellij.lua.search.SearchContext$Companion$withStub$1.invoke(SearchContext.kt:92)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:70)
at com.tang.intellij.lua.search.SearchContext$Companion.withStub(SearchContext.kt:92)
at com.tang.intellij.lua.search.SearchContext$Companion.withStub(SearchContext.kt:88)
at com.tang.intellij.lua.stubs.LuaIndexExprType.createStub(LuaIndexExprStub.kt:72)
at com.tang.intellij.lua.stubs.LuaIndexExprType.createStub(LuaIndexExprStub.kt:39)
at com.intellij.psi.stubs.DefaultStubBuilder$StubBuildingWalkingVisitor.createStub(DefaultStubBuilder.java:85)
at com.intellij.psi.stubs.DefaultStubBuilder$StubBuildingWalkingVisitor.visitNode(DefaultStubBuilder.java:60)
at com.intellij.psi.stubs.DefaultStubBuilder$StubBuildingWalkingVisitor.buildStubTree(DefaultStubBuilder.java:55)
at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:33)
at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:22)
at com.intellij.psi.stubs.StubTreeBuilder.lambda$buildStubTree$1(StubTreeBuilder.java:144)
at com.intellij.psi.stubs.StubTreeBuilder.handleStubBuilderException(StubTreeBuilder.java:99)
at com.intellij.psi.stubs.StubTreeBuilder.lambda$buildStubTree$3(StubTreeBuilder.java:144)
at com.intellij.psi.impl.PsiManagerImpl.runInBatchFilesMode(PsiManagerImpl.java:457)
at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:134)
at com.intellij.psi.stubs.StubUpdatingIndex$1.computeValue(StubUpdatingIndex.java:182)
at com.intellij.psi.stubs.StubUpdatingIndex$1.computeValue(StubUpdatingIndex.java:159)
at com.intellij.psi.stubs.StubUpdatingIndex$1.computeValue(StubUpdatingIndex.java:125)
at com.intellij.util.indexing.SingleEntryIndexer.map(SingleEntryIndexer.java:30)
at com.intellij.util.indexing.SingleEntryIndexer.map(SingleEntryIndexer.java:19)
at com.intellij.util.indexing.impl.MapReduceIndex.mapByIndexer(MapReduceIndex.java:317)
at com.intellij.util.indexing.impl.MapReduceIndex.mapInput(MapReduceIndex.java:308)
at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.mapInput(VfsAwareMapReduceIndex.java:176)
at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.mapInput(VfsAwareMapReduceIndex.java:40)
at com.intellij.util.indexing.impl.MapReduceIndex.mapInputAndPrepareUpdate(MapReduceIndex.java:253)
at com.intellij.psi.stubs.StubUpdatingIndexStorage.mapInputAndPrepareUpdate(StubUpdatingIndexStorage.java:62)
at com.intellij.psi.stubs.StubUpdatingIndexStorage.mapInputAndPrepareUpdate(StubUpdatingIndexStorage.java:21)
at com.intellij.util.indexing.FileBasedIndexImpl.createSingleIndexValueApplier(FileBasedIndexImpl.java:1608)
at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$25(FileBasedIndexImpl.java:1473)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyWithProvidedValueIn(FileTypeManagerImpl.java:670)
at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1421)
at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1394)
at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.lambda$indexOneFileOfJob$4(IndexUpdateRunner.java:296)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$OTelMonitor.callWrapped(NonBlockingReadActionImpl.java:746)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$OTelMonitor$MonitoredComputation.call(NonBlockingReadActionImpl.java:778)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:573)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$3(NonBlockingReadActionImpl.java:537)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1111)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:71)
at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:63)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:128)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:109)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:68)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
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:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:68)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:106)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:71)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:537)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.executeSynchronously(NonBlockingReadActionImpl.java:464)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl.executeSynchronously(NonBlockingReadActionImpl.java:218)
at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.indexOneFileOfJob(IndexUpdateRunner.java:300)
at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.lambda$indexJobsFairly$3(IndexUpdateRunner.java:229)
at com.intellij.openapi.progress.impl.ProgressSuspender.executeNonSuspendableSection(ProgressSuspender.java:80)
at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.indexJobsFairly(IndexUpdateRunner.java:232)
at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.lambda$doIndexFiles$2(IndexUpdateRunner.java:166)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:243)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:29)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.executeFirstTaskAndHelpQueue(BoundedTaskExecutor.java:216)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:212)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:205)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)
```