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

Cannot process toolwindow Detexify #3250

Closed
Rcrossmeister opened this issue Sep 18, 2023 · 1 comment
Closed

Cannot process toolwindow Detexify #3250

Rcrossmeister opened this issue Sep 18, 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

@Rcrossmeister
Copy link

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

PyCharm 2023.2.1 (build PY-232.9559.58)

Operating System

Mac OS X 13.5.2 (x86_64)

TeXiFy IDEA version

0.9.1

Description

Stacktrace

  Cannot process toolwindow Detexify
  
  java.lang.IndexOutOfBoundsException: recordId(=330532) is outside of allocated IDs range (0, 322660]
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSRecordsLockFreeOverMMappedFile.checkRecordIdIsValid(PersistentFSRecordsLockFreeOverMMappedFile.java:693)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSRecordsLockFreeOverMMappedFile.recordOffsetInFile(PersistentFSRecordsLockFreeOverMMappedFile.java:685)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSRecordsLockFreeOverMMappedFile.getIntField(PersistentFSRecordsLockFreeOverMMappedFile.java:769)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSRecordsLockFreeOverMMappedFile.getParent(PersistentFSRecordsLockFreeOverMMappedFile.java:379)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.getParent(FSRecordsImpl.java:740)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$ParentFinder.ascendUntilCachedParent(PersistentFSImpl.java:1662)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$ParentFinder.find(PersistentFSImpl.java:1806)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findFileById(PersistentFSImpl.java:1567)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findFileById(PersistentFSImpl.java:64)
at com.intellij.openapi.vfs.PlatformVirtualFileManager.findFileById(PlatformVirtualFileManager.java:54)
at com.intellij.openapi.vfs.CompactVirtualFileSet$1.next(CompactVirtualFileSet.java:373)
at com.intellij.openapi.vfs.CompactVirtualFileSet$1.next(CompactVirtualFileSet.java:364)
at com.intellij.util.containers.SequenceIterator.next(SequenceIterator.java:39)
at com.intellij.openapi.vfs.CompactVirtualFileSet$3.findNext(CompactVirtualFileSet.java:425)
at com.intellij.openapi.vfs.CompactVirtualFileSet$3.hasNext(CompactVirtualFileSet.java:416)
at java.base/java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1855)
at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:292)
at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)
at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:298)
at java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at com.intellij.util.containers.ContainerUtil.newHashSet(ContainerUtil.java:291)
at com.intellij.util.indexing.FileBasedIndexEx.getContainingFiles(FileBasedIndexEx.java:241)
at com.intellij.util.indexing.FileBasedIndexImpl.getContainingFiles(FileBasedIndexImpl.java:1120)
at com.intellij.psi.search.FileTypeIndex.getFiles(FileTypeIndex.java:44)
at nl.hannahsten.texifyidea.util.ProjectsKt$allFiles$1.invoke(Projects.kt:64)
at nl.hannahsten.texifyidea.util.ProjectsKt$allFiles$1.invoke(Projects.kt:62)
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.application.ActionsKt.runReadAction(actions.kt:31)
at nl.hannahsten.texifyidea.util.ProjectsKt.allFiles(Projects.kt:62)
at nl.hannahsten.texifyidea.util.ProjectsKt.isLatexProject(Projects.kt:126)
at nl.hannahsten.texifyidea.ui.DetexifyToolWindowFactory.isApplicable(DetexifyToolWindowFactory.kt:19)
at com.intellij.toolWindow.ToolWindowSetInitializerKt.beanToTask(ToolWindowSetInitializer.kt:253)
at com.intellij.toolWindow.ToolWindowSetInitializerKt.access$beanToTask(ToolWindowSetInitializer.kt:1)
at com.intellij.toolWindow.ToolWindowSetInitializerKt$computeToolWindowBeans$1.invoke(ToolWindowSetInitializer.kt:282)
at com.intellij.toolWindow.ToolWindowSetInitializerKt$computeToolWindowBeans$1.invoke(ToolWindowSetInitializer.kt:278)
at com.intellij.toolWindow.ToolWindowSetInitializerKt.computeToolWindowBeans$lambda$0(ToolWindowSetInitializer.kt:278)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:300)
at com.intellij.toolWindow.ToolWindowSetInitializerKt.computeToolWindowBeans(ToolWindowSetInitializer.kt:278)
at com.intellij.openapi.project.impl.ProjectFrameAllocatorKt$scheduleInitializeToolWindows$1$taskListDeferred$1.invokeSuspend(ProjectFrameAllocator.kt:431)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

@Rcrossmeister Rcrossmeister added crash-report Reports of crashes that popped up in IDEA. untriaged Issue type still needs to be triaged or verified. labels Sep 18, 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 Sep 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