MinecraftDev
MinecraftDev copied to clipboard
Clicking "Report and Clear All" in IntelliJ gives a 403
Minecraft Development for IntelliJ plugin version
2024.3-1.8.2
IntelliJ version
2024.3.3, Build #IC-243.24978.46,
Operating System
Windows 10
Target platform
Fabric
Description of the bug
When you get a popup that says "An IDE Error Occurred," it blames mcdev and gives a stacktrace with a report and clear all button. That button seems to attempt to report the issue on github, but breaks. I will add stacktraces and info if I can trigger it again. It happens every time there's an error though.
Here's one of the logs. I got this while making a new mixin class.
com.intellij.psi.PsiInvalidElementAccessException: Element class com.intellij.psi.impl.source.tree.java.ClassElement of type CLASS (class com.intellij.psi.impl.java.stubs.JavaStubElementTypes$1)
at com.intellij.psi.PsiInvalidElementAccessException.createByNode(PsiInvalidElementAccessException.java:81)
at com.intellij.psi.impl.source.SubstrateRef$2.getContainingFile(SubstrateRef.java:76)
at com.intellij.extapi.psi.StubBasedPsiElementBase.getContainingFile(StubBasedPsiElementBase.java:237)
at com.intellij.extapi.psi.StubBasedPsiElementBase.getProject(StubBasedPsiElementBase.java:273)
at com.demonwav.mcdev.platform.fabric.reference.FabricClientUseScopeEnlarger.getAdditionalUseScope$lambda$2(FabricClientUseScopeEnlarger.kt:52)
at com.intellij.psi.search.GlobalSearchScope$LazyFilesScope.getFiles(GlobalSearchScope.java:917)
at com.intellij.psi.search.GlobalSearchScope$AbstractFilesScope.contains(GlobalSearchScope.java:830)
at com.intellij.psi.search.GlobalSearchScope$UnionScope.lambda$contains$0(GlobalSearchScope.java:544)
at com.intellij.util.containers.ContainerUtil.find(ContainerUtil.java:807)
at com.intellij.psi.search.GlobalSearchScope$UnionScope.contains(GlobalSearchScope.java:544)
at com.intellij.psi.search.GlobalSearchScope$IntersectionScope.contains(GlobalSearchScope.java:394)
at com.intellij.util.indexing.FileBasedIndexEx.processVirtualFiles(FileBasedIndexEx.java:620)
at com.intellij.util.indexing.FileBasedIndexEx.processFilesContainingAllKeysInPhysicalFiles(FileBasedIndexEx.java:486)
at com.intellij.util.indexing.FileBasedIndexEx.processFilesContainingAllKeys(FileBasedIndexEx.java:495)
at com.intellij.util.indexing.FileBasedIndexImpl.processFilesContainingAllKeys(FileBasedIndexImpl.java:1199)
at com.intellij.psi.impl.cache.impl.IndexCacheManagerImpl.processVirtualFilesWithAllWords(IndexCacheManagerImpl.java:85)
at com.intellij.psi.impl.cache.impl.IndexCacheManagerImpl.collectVirtualFilesWithWord(IndexCacheManagerImpl.java:101)
at com.intellij.psi.impl.cache.impl.IndexCacheManagerImpl.lambda$getVirtualFilesWithWord$0(IndexCacheManagerImpl.java:64)
at com.intellij.util.indexing.FileBasedIndex.lambda$ignoreDumbMode$0(FileBasedIndex.java:230)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:113)
at com.intellij.util.indexing.FileBasedIndexEx.ignoreDumbMode(FileBasedIndexEx.java:682)
at com.intellij.util.indexing.FileBasedIndex.ignoreDumbMode(FileBasedIndex.java:229)
at com.intellij.util.indexing.DumbModeAccessType.ignoreDumbMode(DumbModeAccessType.java:41)
at com.intellij.psi.impl.cache.impl.IndexCacheManagerImpl.getVirtualFilesWithWord(IndexCacheManagerImpl.java:63)
at com.intellij.codeInsight.daemon.problems.MemberUsageCollector$Companion.collect(MemberUsageCollector.kt:39)
at com.intellij.codeInsight.daemon.problems.ProblemCollector$Companion.processUsages(ProblemCollector.kt:70)
at com.intellij.codeInsight.daemon.problems.ProblemCollector$Companion.processMemberChange(ProblemCollector.kt:48)
at com.intellij.codeInsight.daemon.problems.ProblemCollector$Companion.collect(ProblemCollector.kt:27)
at com.intellij.codeInsight.daemon.problems.pass.ProjectProblemCodeVisionProviderKt.collectProblems(ProjectProblemCodeVisionProvider.kt:163)
at com.intellij.codeInsight.daemon.problems.pass.ProjectProblemCodeVisionProviderKt.access$collectProblems(ProjectProblemCodeVisionProvider.kt:1)
at com.intellij.codeInsight.daemon.problems.pass.ProjectProblemCodeVisionProvider.computeLenses(ProjectProblemCodeVisionProvider.kt:79)
at com.intellij.codeInsight.daemon.impl.JavaCodeVisionProviderBase.computeForEditor(JavaCodeVisionProviderBase.kt:15)
at com.intellij.codeInsight.hints.codeVision.CodeVisionPass$Companion.collect$lambda$3$lambda$2(CodeVisionPass.kt:74)
at com.intellij.concurrency.ApplierCompleter.processArrayItem(ApplierCompleter.java:126)
at com.intellij.concurrency.ApplierCompleter.processArray(ApplierCompleter.java:207)
at com.intellij.concurrency.ApplierCompleter.helpOthers(ApplierCompleter.java:227)
at com.intellij.concurrency.ApplierCompleter.helpAll(ApplierCompleter.java:186)
at com.intellij.concurrency.ApplierCompleter.lambda$exec$0(ApplierCompleter.java:116)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:351)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:972)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$2(ApplierCompleter.java:158)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:674)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:749)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:673)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:169)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapAndRun$1(ApplierCompleter.java:150)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:544)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:176)
at com.intellij.concurrency.ApplierCompleter.wrapAndRun(ApplierCompleter.java:150)
at com.intellij.concurrency.ApplierCompleter.exec(ApplierCompleter.java:118)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)