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.IllegalStateException: @NotNull method org/jetbrains/plugins/scss/index/SassScssIndexedRootProvider.getAdditionalRootsToIndex must not return null #3306

Closed
mariusnica-sage opened this issue Nov 7, 2023 · 0 comments
Assignees
Labels
crash-report Reports of crashes that popped up in IDEA.
Milestone

Comments

@mariusnica-sage
Copy link

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

PhpStorm 2023.2.3 (build PS-232.10072.32)

Operating System

Mac OS X 14.1 (aarch64)

TeXiFy IDEA version

0.9.1

Description

Stacktrace

java.lang.IllegalStateException: @NotNull method org/jetbrains/plugins/scss/index/SassScssIndexedRootProvider.getAdditionalRootsToIndex must not return null
	at org.jetbrains.plugins.scss.index.SassScssIndexedRootProvider.$$$reportNull$$$0(SassScssIndexedRootProvider.java)
	at org.jetbrains.plugins.scss.index.SassScssIndexedRootProvider.getAdditionalRootsToIndex(SassScssIndexedRootProvider.java:30)
	at com.intellij.util.indexing.IndexableSetContributor.getRootsToIndex(IndexableSetContributor.java:39)
	at com.intellij.util.indexing.AdditionalIndexableFileSet.collectFilesAndDirectories(AdditionalIndexableFileSet.java:45)
	at com.intellij.util.indexing.AdditionalIndexableFileSet.lambda$new$3(AdditionalIndexableFileSet.java:35)
	at com.intellij.util.CachedValueImpl.doCompute(CachedValueImpl.java:22)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:240)
	at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:43)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:240)
	at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:110)
	at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:27)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
	at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:241)
	at com.intellij.util.CachedValueImpl.getValue(CachedValueImpl.java:32)
	at com.intellij.util.indexing.AdditionalIndexableFileSet.isInSet(AdditionalIndexableFileSet.java:70)
	at com.intellij.util.indexing.roots.IndexableFilesIndexImpl.shouldBeIndexed(IndexableFilesIndexImpl.java:63)
	at com.intellij.util.indexing.FileBasedIndexImpl$5.isInSet(FileBasedIndexImpl.java:289)
	at com.intellij.util.indexing.FileBasedIndexImpl.getContainingProjects(FileBasedIndexImpl.java:1784)
	at com.intellij.util.indexing.FileBasedIndexImpl.lambda$ensureFileBelongsToIndexableFilter$31(FileBasedIndexImpl.java:1927)
	at com.intellij.util.indexing.projectFilter.IncrementalProjectIndexableFilesFilterHolder$addFileId$matchedProjects$2.invoke(ProjectIndexableFilesFilterHolder.kt:80)
	at com.intellij.util.indexing.projectFilter.IncrementalProjectIndexableFilesFilterHolder$addFileId$matchedProjects$2.invoke(ProjectIndexableFilesFilterHolder.kt:80)
	at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:81)
	at com.intellij.util.indexing.projectFilter.IncrementalProjectIndexableFilesFilterHolder.addFileId$lambda$1(ProjectIndexableFilesFilterHolder.kt:80)
	at com.intellij.util.indexing.projectFilter.IncrementalProjectIndexableFilesFilterHolder.access$addFileId$lambda$1(ProjectIndexableFilesFilterHolder.kt:45)
	at com.intellij.util.indexing.projectFilter.IncrementalProjectIndexableFilesFilterHolder$addFileId$statuses$1$1.invoke(ProjectIndexableFilesFilterHolder.kt:83)
	at com.intellij.util.indexing.projectFilter.IncrementalProjectIndexableFilesFilterHolder$addFileId$statuses$1$1.invoke(ProjectIndexableFilesFilterHolder.kt:82)
	at com.intellij.util.indexing.projectFilter.IncrementalProjectIndexableFilesFilter.ensureFileIdPresent(IncrementalProjectIndexableFilesFilter.kt:25)
	at com.intellij.util.indexing.projectFilter.IncrementalProjectIndexableFilesFilterHolder.addFileId(ProjectIndexableFilesFilterHolder.kt:82)
	at com.intellij.util.indexing.FileBasedIndexImpl.ensureFileBelongsToIndexableFilter(FileBasedIndexImpl.java:1927)
	at com.intellij.util.indexing.FileBasedIndexImpl.scheduleFileForIndexing(FileBasedIndexImpl.java:1863)
	at com.intellij.util.indexing.events.ChangedFilesCollector$4.process(ChangedFilesCollector.java:238)
	at com.intellij.util.indexing.events.ChangedFilesCollector$5.lambda$process$0(ChangedFilesCollector.java:277)
	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:64)
	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$5.lambda$process$1(ChangedFilesCollector.java:276)
	at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:246)
	at com.intellij.util.indexing.events.ChangedFilesCollector$5.process(ChangedFilesCollector.java:274)
	at com.intellij.util.indexing.events.VfsEventsMerger.processChanges(VfsEventsMerger.java:99)
	at com.intellij.util.indexing.events.ChangedFilesCollector.processFilesInReadAction(ChangedFilesCollector.java:271)
	at com.intellij.util.indexing.events.ChangedFilesCollector.processFilesToUpdateInReadAction(ChangedFilesCollector.java:230)
	at com.intellij.util.indexing.events.ChangedFilesCollector.ensureUpToDate(ChangedFilesCollector.java:191)
	at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:785)
	at com.intellij.psi.stubs.StubIndexEx.processAllKeys(StubIndexEx.java:314)
	at com.intellij.psi.stubs.StubIndex.processAllKeys(StubIndex.java:70)
	at com.intellij.psi.stubs.StubIndexEx.getAllKeys(StubIndexEx.java:302)
	at nl.hannahsten.texifyidea.index.IndexUtilBase$getKeys$1.invoke(IndexUtilBase.kt:157)
	at nl.hannahsten.texifyidea.index.IndexUtilBase$getKeys$1.invoke(IndexUtilBase.kt:157)
	at com.intellij.openapi.application.ActionsKt.runReadAction$lambda$3(actions.kt:31)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:909)
	at com.intellij.openapi
@mariusnica-sage mariusnica-sage added crash-report Reports of crashes that popped up in IDEA. untriaged Issue type still needs to be triaged or verified. labels Nov 7, 2023
@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Nov 8, 2023
@PHPirates PHPirates self-assigned this Nov 8, 2023
@PHPirates PHPirates added this to the Next milestone Nov 8, 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.
Projects
None yet
Development

No branches or pull requests

2 participants