[auto-generated:1559673894] Error while indexing /Users/qbl/Documents/code/web/util/zy-ngx-waf/resty/limit/req.lua
To reindex this file IDEA has to be restarted #248
----------------------
- Plugin Name: EmmyLua
- Plugin Version: 1.3.0.99-IDEA182
- OS Name: Mac OS X
- Java Version: 11.0.3
- App Name: PhpStorm
- App Full Name: PhpStorm
- App Version name: PhpStorm
- Is EAP: false
- App Build: PS-192.6262.66
- App Version: 2019.2.1
- Last Action:
```
java.lang.AssertionError: Reentrant indexing
at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1667)
at com.intellij.util.indexing.FileBasedIndexImpl.doInvalidateIndicesForFile(FileBasedIndexImpl.java:1799)
at com.intellij.util.indexing.FileBasedIndexImpl.access$2600(FileBasedIndexImpl.java:99)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.lambda$null$1(FileBasedIndexImpl.java:2036)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:197)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.lambda$null$2(FileBasedIndexImpl.java:2030)
at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:229)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.lambda$processFilesInReadAction$3(FileBasedIndexImpl.java:2028)
at com.intellij.util.indexing.VfsEventsMerger.processChanges(VfsEventsMerger.java:95)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.processFilesInReadAction(FileBasedIndexImpl.java:2027)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.ensureUpToDate(FileBasedIndexImpl.java:1980)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:710)
at com.intellij.util.indexing.FileBasedIndexImpl.processExceptions(FileBasedIndexImpl.java:892)
at com.intellij.util.indexing.FileBasedIndexImpl.processValueIterator(FileBasedIndexImpl.java:968)
at com.intellij.util.indexing.FileBasedIndexImpl.processValuesInScope(FileBasedIndexImpl.java:939)
at com.intellij.util.indexing.FileBasedIndexImpl.processValues(FileBasedIndexImpl.java:834)
at com.intellij.psi.search.FileNameIndexServiceImpl.getVirtualFilesByName(FileNameIndexServiceImpl.java:41)
at com.intellij.psi.search.FilenameIndex.processFilesByName(FilenameIndex.java:87)
at com.intellij.psi.search.FilenameIndex.processFilesByName(FilenameIndex.java:74)
at com.intellij.psi.search.FilenameIndex.getFilesByName(FilenameIndex.java:145)
at com.intellij.psi.search.FilenameIndex.getFilesByName(FilenameIndex.java:65)
at com.tang.intellij.lua.ext.LuaFileFuzzyResolver$find$1.run(LuaFileFuzzyResolver.kt:35)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:902)
at com.tang.intellij.lua.ext.LuaFileFuzzyResolver.find(LuaFileFuzzyResolver.kt:32)
at com.tang.intellij.lua.ext.ILuaFileResolver$Companion.findLuaFile(ILuaFileResolver.kt:29)
at com.tang.intellij.lua.psi.LuaFileUtil.findFile(LuaFileUtil.kt:103)
at com.tang.intellij.lua.psi.LuaPsiResolveUtilKt.resolveRequireFile(LuaPsiResolveUtil.kt:177)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:177)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:50)
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:170)
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:37)
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$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessTypeAt(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.impl.LuaExprListImpl.guessTypeAt(LuaExprListImpl.java:50)
at com.tang.intellij.lua.ty.DeclarationsKt$infer$1.invoke(Declarations.kt:138)
at com.tang.intellij.lua.ty.DeclarationsKt$infer$1.invoke(Declarations.kt)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:137)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:43)
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:170)
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:37)
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:170)
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:37)
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:255)
at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1.compute(Expressions.kt:357)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1.compute(Expressions.kt)
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
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:316)
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:170)
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:37)
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.ty.DeclarationsKt.infer(Declarations.kt:35)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:185)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:50)
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:170)
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:37)
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$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessTypeAt(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.impl.LuaExprListImpl.guessTypeAt(LuaExprListImpl.java:50)
at com.tang.intellij.lua.ty.DeclarationsKt$infer$1.invoke(Declarations.kt:138)
at com.tang.intellij.lua.ty.DeclarationsKt$infer$1.invoke(Declarations.kt)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:137)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:43)
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:170)
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:37)
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:170)
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:37)
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:255)
at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86)
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:39)
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:37)
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:102)
at com.intellij.psi.stubs.DefaultStubBuilder$StubBuildingWalkingVisitor.visitNode(DefaultStubBuilder.java:77)
at com.intellij.psi.stubs.DefaultStubBuilder$StubBuildingWalkingVisitor.buildStubTree(DefaultStubBuilder.java:72)
at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:50)
at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:39)
at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:84)
at com.intellij.psi.stubs.StubUpdatingIndex$2.lambda$computeValue$0(StubUpdatingIndex.java:130)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:932)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57)
at com.intellij.psi.stubs.StubUpdatingIndex$2.computeValue(StubUpdatingIndex.java:112)
at com.intellij.psi.stubs.StubUpdatingIndex$2.computeValue(StubUpdatingIndex.java:108)
at com.intellij.util.indexing.SingleEntryIndexer.map(SingleEntryIndexer.java:40)
at com.intellij.util.indexing.SingleEntryIndexer.map(SingleEntryIndexer.java:30)
at com.intellij.util.indexing.impl.MapReduceIndex.mapInput(MapReduceIndex.java:312)
at com.intellij.util.indexing.VfsAwareMapReduceIndex.mapInput(VfsAwareMapReduceIndex.java:109)
at com.intellij.util.indexing.impl.MapReduceIndex.calculateUpdateData(MapReduceIndex.java:268)
at com.intellij.util.indexing.impl.MapReduceIndex.update(MapReduceIndex.java:250)
at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1673)
at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$28(FileBasedIndexImpl.java:1603)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:656)
at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1562)
at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1549)
at com.intellij.util.indexing.UnindexedFilesUpdater.lambda$indexFiles$0(UnindexedFilesUpdater.java:109)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.lambda$run$0(CacheUpdateRunner.java:219)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.lambda$run$1(CacheUpdateRunner.java:235)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
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.lang.Thread.run(Thread.java:834)
```