Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.Throwable: unable to get stub builder for file with fileTypes = [PATCH], files = [PsiPlainTextFileImpl] #3253

Closed
vasdommes opened this issue Sep 21, 2023 · 1 comment
Labels
crash-report Reports of crashes that popped up in IDEA. external Issue is submitted elsewhere as it is (most likely) not a TeXiFy issue

Comments

@vasdommes
Copy link

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

CLion 2023.2.2 (build CL-232.9921.42)

Operating System

Windows 10.0 (amd64)

TeXiFy IDEA version

0.9.1

Description

Stacktrace

java.lang.Throwable: unable to get stub builder for file with file = file:////wsl$/Ubuntu-22.04/home/vasdommes/bootstrap/sdpb/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_08_2023_17_08_[Changes]/shelved.patch, file type = com.intellij.openapi.vcs.changes.patch.PatchFileType@394a9d4f, indexed file type = com.intellij.openapi.vcs.changes.patch.PatchFileType@394a9d4f, , stubBindingRoot = PsiPlainTextFileImpl, languages = [TEXT], fileTypes = [PATCH], files = [PsiPlainTextFileImpl], roots = [], indexingInfo = null, isTooLarge = false
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
	at com.intellij.psi.stubs.StubProcessingHelperBase.handleNonPsiStubs(StubProcessingHelperBase.java:122)
	at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:67)
	at com.intellij.psi.stubs.StubIndexEx.lambda$processElements$4(StubIndexEx.java:150)
	at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:214)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:102)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:90)
	at nl.hannahsten.texifyidea.index.BibtexEntryIndex.getEntryByName(BibtexEntryIndex.kt:62)
	at nl.hannahsten.texifyidea.index.BibtexEntryIndex.getIndexedEntries(BibtexEntryIndex.kt:55)
	at nl.hannahsten.texifyidea.index.BibtexEntryIndex.getIndexedEntries(BibtexEntryIndex.kt:22)
	at nl.hannahsten.texifyidea.util.labels.ProjectLabelsKt.findAllLabelsAndBibtexIds(ProjectLabels.kt:19)
	at nl.hannahsten.texifyidea.navigation.GotoLabelSymbolContributor.findElements(GotoLabelSymbolContributor.kt:13)
	at nl.hannahsten.texifyidea.navigation.GotoLabelSymbolContributor.findElements(GotoLabelSymbolContributor.kt:11)
	at nl.hannahsten.texifyidea.navigation.TexifyGotoSymbolBase.getNames(TexifyGotoSymbolBase.kt:42)
	at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel.processContributorNames(ContributorsBasedGotoByModel.java:132)
	at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel$1.processInReadAction(ContributorsBasedGotoByModel.java:83)
	at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel$1.processInReadAction(ContributorsBasedGotoByModel.java:77)
	at com.intellij.openapi.application.ReadActionProcessor.lambda$process$0(ReadActionProcessor.java:11)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:923)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:76)
	at com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:11)
	at com.intellij.concurrency.JobLauncherImpl.lambda$invokeConcurrentlyUnderProgress$0(JobLauncherImpl.java:52)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
	at com.intellij.concurrency.JobLauncherImpl.lambda$invokeConcurrentlyUnderProgress$1(JobLauncherImpl.java:52)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:142)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1133)
	at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:98)
	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.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:110)
	at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:91)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
	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)

@vasdommes vasdommes added crash-report Reports of crashes that popped up in IDEA. untriaged Issue type still needs to be triaged or verified. labels Sep 21, 2023
@PHPirates PHPirates changed the title java.lang.Throwable: unable to get stub builder for file with file = file:////wsl$/Ubuntu-22.04/home/vasdommes/bootstrap/sdpb/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_08_2023_17_08_[Changes]/shelved.patch, file type = com.intellij.openapi.vcs.changes.patch.PatchFileType@394a9d4f, indexed file type = com.intellij.openapi.vcs.changes.patch.PatchFileType@394a9d4f, , stubBindingRoot = PsiPlainTextFileImpl, languages = [TEXT], fileTypes = [PATCH], files = [PsiPlainTextFileImpl], roots = [], indexingInfo = null, isTooLarge = false java.lang.Throwable: unable to get stub builder for file with fileTypes = [PATCH], files = [PsiPlainTextFileImpl] Sep 27, 2023
@PHPirates
Copy link
Collaborator

@PHPirates PHPirates added external Issue is submitted elsewhere as it is (most likely) not a TeXiFy issue and removed untriaged Issue type still needs to be triaged or verified. labels Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash-report Reports of crashes that popped up in IDEA. external Issue is submitted elsewhere as it is (most likely) not a TeXiFy issue
Projects
None yet
Development

No branches or pull requests

2 participants