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: Slow operations are prohibited on EDT. See SlowOperations.assertSlowOperationsAreAllowed javadoc. #3607

Open
DanielDelimata opened this issue Jul 20, 2024 · 0 comments
Labels
crash-report Reports of crashes that popped up in IDEA.

Comments

@DanielDelimata
Copy link

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

PyCharm 2024.2 EAP (build PC-242.20224.89)

Operating System

Mac OS X 14.5 (aarch64)

TeXiFy IDEA version

0.9.7

Description

Stacktrace

java.lang.Throwable: Slow operations are prohibited on EDT. See SlowOperations.assertSlowOperationsAreAllowed javadoc.
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
	at com.intellij.util.SlowOperations.assertSlowOperationsAreAllowed(SlowOperations.java:106)
	at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:149)
	at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:94)
	at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:260)
	at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSet(WorkspaceFileIndexImpl.kt:216)
	at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.isInWorkspace(WorkspaceFileIndexImpl.kt:73)
	at com.intellij.util.indexing.roots.IndexableFilesIndexImpl.shouldBeIndexed(IndexableFilesIndexImpl.java:62)
	at com.intellij.util.indexing.FileBasedIndexImpl$4.isInSet(FileBasedIndexImpl.java:287)
	at com.intellij.util.indexing.FileBasedIndexImpl.lambda$belongsToProjectIndexableFiles$26(FileBasedIndexImpl.java:1790)
	at com.intellij.util.containers.ContainerUtil.find(ContainerUtil.java:872)
	at com.intellij.util.containers.ContainerUtil.find(ContainerUtil.java:856)
	at com.intellij.util.indexing.FileBasedIndexImpl.belongsToProjectIndexableFiles(FileBasedIndexImpl.java:1790)
	at com.intellij.psi.search.ProjectScopeBuilderImpl$1.contains(ProjectScopeBuilderImpl.java:48)
	at com.intellij.util.indexing.FileBasedIndexEx.lambda$processValuesInScope$8(FileBasedIndexEx.java:371)
	at com.intellij.util.indexing.FileBasedIndexEx.lambda$processValueIterator$9(FileBasedIndexEx.java:396)
	at com.intellij.util.indexing.FileBasedIndexEx.lambda$processExceptions$6(FileBasedIndexEx.java:309)
	at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:246)
	at com.intellij.util.indexing.FileBasedIndexEx.processExceptions(FileBasedIndexEx.java:309)
	at com.intellij.util.indexing.FileBasedIndexEx.processValueIterator(FileBasedIndexEx.java:398)
	at com.intellij.util.indexing.FileBasedIndexEx.processValuesInScope(FileBasedIndexEx.java:364)
	at com.intellij.util.indexing.FileBasedIndexImpl.processValuesInScope(FileBasedIndexImpl.java:1143)
	at com.intellij.util.indexing.FileBasedIndexEx.processValues(FileBasedIndexEx.java:283)
	at com.intellij.util.indexing.FileBasedIndexEx.processValues(FileBasedIndexEx.java:271)
	at nl.hannahsten.texifyidea.index.file.LatexExternalPackageInclusionCache.getAllPackageInclusions(LatexExternalPackageInclusionCache.kt:32)
	at nl.hannahsten.texifyidea.index.file.LatexExternalPackageInclusionCache.getAllIndirectlyIncludedPackages(LatexExternalPackageInclusionCache.kt:55)
	at nl.hannahsten.texifyidea.util.PackagesKt.includedPackages(Packages.kt:328)
	at nl.hannahsten.texifyidea.util.PackagesKt.includedPackages(Packages.kt:319)
	at nl.hannahsten.texifyidea.util.PackagesKt.includedPackages$default(Packages.kt:317)
	at nl.hannahsten.texifyidea.run.latex.LatexCommandLineState.runMakeindexIfNeeded(LatexCommandLineState.kt:165)
	at nl.hannahsten.texifyidea.run.latex.LatexCommandLineState.startProcess(LatexCommandLineState.kt:78)
	at com.intellij.execution.configurations.CommandLineState.execute(CommandLineState.java:61)
	at com.intellij.execution.runners.DefaultRunProgramRunner$execute$1.invoke(DefaultRunProgramRunner.kt:29)
	at com.intellij.execution.runners.DefaultRunProgramRunner$execute$1.invoke(DefaultRunProgramRunner.kt:18)
	at com.intellij.execution.impl.ExecutionManagerImpl$startRunProfile$1.invoke(ExecutionManagerImpl.kt:223)
	at com.intellij.execution.impl.ExecutionManagerImpl$startRunProfile$1.invoke(ExecutionManagerImpl.kt:221)
	at com.intellij.execution.impl.ExecutionManagerImpl.doStartRunProfile$lambda$2(ExecutionManagerImpl.kt:286)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:229)
	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22)
	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread$lambda$1(AnyThreadWriteThreadingSupport.kt:184)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:84)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread(AnyThreadWriteThreadingSupport.kt:183)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:836)
	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:425)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWithImplicitRead(AnyThreadWriteThreadingSupport.kt:122)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1162)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:78)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:119)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:750)
	at com.intell
@DanielDelimata DanielDelimata added crash-report Reports of crashes that popped up in IDEA. untriaged Issue type still needs to be triaged or verified. labels Jul 20, 2024
@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Jul 29, 2024
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