izhangzhihao / intellij-rainbow-brackets

🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
GNU General Public License v3.0
4.46k stars 214 forks source link

[Auto Generated Report]java.lang.Throwable: Invalid root file://G #1999

Closed intellij-rainbow-brackets closed 3 years ago

intellij-rainbow-brackets commented 3 years ago
java.lang.Throwable: Invalid root file://G:/Мой диск/data_ox/alex-korpanty-scraping-delta.com/venv (invalid) in com.intellij.workspaceModel.ide.impl.legacyBridge.module.roots.SdkOrderEntryBridge@435f9bb5
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:161)
    at com.intellij.openapi.roots.impl.RootFileSupplier.ensureValid(RootFileSupplier.java:114)
    at com.intellij.openapi.roots.impl.RootIndex.ensureValid(RootIndex.java:317)
    at com.intellij.openapi.roots.impl.RootIndex.buildRootInfo(RootIndex.java:211)
    at com.intellij.openapi.roots.impl.RootIndex.<init>(RootIndex.java:72)
    at com.intellij.openapi.roots.impl.RootIndex.<init>(RootIndex.java:56)
    at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getRootIndex(DirectoryIndexImpl.java:171)
    at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getRootIndex(DirectoryIndexImpl.java:154)
    at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getInfoForFile(DirectoryIndexImpl.java:181)
    at com.intellij.openapi.roots.impl.FileIndexBase.getInfoForFileOrDirectory(FileIndexBase.java:98)
    at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getInfoForFileOrDirectory(ProjectFileIndexImpl.java:27)
    at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.isInContent(ProjectFileIndexImpl.java:196)
    at com.intellij.openapi.project.ProjectLocatorImpl.isUnder(ProjectLocatorImpl.java:61)
    at com.intellij.openapi.project.ProjectLocatorImpl.lambda$guessProjectForFile$0(ProjectLocatorImpl.java:50)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:844)
    at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
    at com.intellij.openapi.project.ProjectLocatorImpl.guessProjectForFile(ProjectLocatorImpl.java:48)
    at com.intellij.openapi.vfs.encoding.EncodingManagerImpl.guessProject(EncodingManagerImpl.java:267)
    at com.intellij.openapi.vfs.encoding.EncodingManagerImpl.getEncoding(EncodingManagerImpl.java:239)
    at com.intellij.openapi.fileEditor.impl.LoadTextUtil.getDefaultCharsetFromEncodingManager(LoadTextUtil.java:266)
    at com.intellij.openapi.fileEditor.impl.LoadTextUtil.guessFromContent(LoadTextUtil.java:324)
    at com.intellij.openapi.fileEditor.impl.LoadTextUtil.detectHardCharset(LoadTextUtil.java:249)
    at com.intellij.openapi.fileEditor.impl.LoadTextUtil.detectInternalCharsetAndSetBOM(LoadTextUtil.java:276)
    at com.intellij.openapi.fileEditor.impl.LoadTextUtil.detectCharsetAndSetBOM(LoadTextUtil.java:260)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.lambda$contentsToByteArray$0(VirtualFileImpl.java:137)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:137)
    at com.intellij.util.indexing.contentQueue.CachedFileContent.getBytes(CachedFileContent.java:27)
    at com.intellij.util.indexing.FileBasedIndexImpl.getBytesOrNull(FileBasedIndexImpl.java:1432)
    at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$22(FileBasedIndexImpl.java:1359)
    at com.intellij.util.indexing.FileContentImpl.getContent(FileContentImpl.java:161)
    at com.intellij.util.indexing.IndexedHashesSupport.getOrInitIndexedHash(IndexedHashesSupport.java:35)
    at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1484)
    at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$23(FileBasedIndexImpl.java:1374)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:577)
    at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1344)
    at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1298)
    at com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1263)
    at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1583)
    at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1580)
    at com.intellij.util.indexing.UpdateTask.process(UpdateTask.java:63)
    at com.intellij.util.indexing.UpdateTask.processAll(UpdateTask.java:32)
    at com.intellij.util.indexing.FileBasedIndexImpl.forceUpdate(FileBasedIndexImpl.java:1602)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:750)
    at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:487)
    at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:302)
    at com.intellij.psi.stubs.StubIndex.processElements(StubIndex.java:49)
    at com.intellij.lang.typescript.resolve.TypeScriptClassResolver.processGlobalElementsByQName(TypeScriptClassResolver.java:181)
    at com.intellij.lang.typescript.resolve.TypeScriptClassResolver.findGlobalElementsByQName(TypeScriptClassResolver.java:163)
    at com.intellij.lang.javascript.ecmascript6.TypeScriptUtil.findExternalModule(TypeScriptUtil.java:263)
    at com.intellij.lang.typescript.modules.TypeScriptExternalModuleReferenceContributor.resolveElement(TypeScriptExternalModuleReferenceContributor.java:28)
    at com.intellij.lang.javascript.frameworks.modules.JSResolvableModuleReferenceContributor.resolveReferences(JSResolvableModuleReferenceContributor.java:64)
    at com.intellij.lang.ecmascript6.resolve.JSFileReferencesUtil.getMostPriorityModules(JSFileReferencesUtil.java:154)
    at com.intellij.lang.ecmascript6.resolve.JSFileReferencesUtil.calculateMainModules(JSFileReferencesUtil.java:108)
    at com.intellij.lang.ecmascript6.resolve.JSFileReferenceCache.resolveDirectModulesNoCache(JSFileReferenceCache.java:205)
    at com.intellij.lang.ecmascript6.resolve.JSFileReferenceCache.getCachedModules(JSFileReferenceCache.java:126)
    at com.intellij.lang.ecmascript6.resolve.JSFileReferenceCache.resolveDirectModules(JSFileReferenceCache.java:112)
    at com.intellij.lang.ecmascript6.resolve.JSFileReferenceCache.resolveModuleReference(JSFileReferenceCache.java:74)
    at com.intellij.lang.ecmascript6.resolve.JSFileReferencesUtil.resolveModuleReference(JSFileReferencesUtil.java:67)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.resolveRequireCallReference(JSStubBasedPsiTreeUtil.java:834)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.getRequireCallReferencedElement(JSStubBasedPsiTreeUtil.java:828)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.calculateMeaningfulElements(JSStubBasedPsiTreeUtil.java:677)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.calculateMeaningfulElement(JSStubBasedPsiTreeUtil.java:645)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.calculateTargetElementForHighlighting(JSStubBasedPsiTreeUtil.java:819)
    at com.intellij.lang.javascript.highlighting.JSSemanticHighlightingUtil.calculateMeaningfulElementForHighlighting(JSSemanticHighlightingUtil.java:705)
    at com.intellij.lang.javascript.highlighting.JSSemanticHighlightingUtil.buildHighlightForResolveResult(JSSemanticHighlightingUtil.java:318)
    at com.intellij.lang.javascript.highlighting.JSSemanticHighlightingUtil.highlight(JSSemanticHighlightingUtil.java:647)
    at com.intellij.lang.javascript.validation.JSAnnotatingVisitor.visitElement(JSAnnotatingVisitor.java:148)
    at com.intellij.psi.impl.source.tree.LeafPsiElement.accept(LeafPsiElement.java:208)
    at com.intellij.lang.javascript.validation.JSAnnotator.annotate(JSAnnotator.java:17)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:268)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:603)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:392)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:368)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
open-collective-bot[bot] commented 3 years ago

Hey @intellij-rainbow-brackets :wave:,

Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our https://opencollective.com/intellij-rainbow-brackets and consider backing us - every little helps!

PS.: We offer priority support for all backers. Don't forget to add priority label when you start backing us :smile:

github-actions[bot] commented 3 years ago

This auto generated issue has been automatically marked as wontfix because nothing it's wrong here. If you think there are something really wrong, please reply this issue. Thanks for your cooperation.