Repository navigation
Closed
Labels
ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:macHappening specifically on Macstale
Description
Before submitting your bug report
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: MacOS
- Continue version: 1.0.43
- IDE version: IntelliJ CE 2025.2.1
- Model: Sonnet 4
- config:
OR link to agent in Continue hub:Description
Unhandled exception in Dispatchers.Main
java.lang.Throwable: Control-flow exceptions (e.g. this class com.intellij.model.SideEffectGuard$SideEffectNotAllowedException) should never be logged. Instead, these should have been rethrown if caught.
at com.intellij.openapi.diagnostic.Logger.ensureNotControlFlow(Logger.java:504)
at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:176)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:426)
at com.intellij.openapi.application.impl.CoroutineExceptionHandlerImpl.handleException(CoroutineExceptionHandlerImpl.kt:28)
at kotlinx.coroutines.internal.CoroutineExceptionHandlerImpl_commonKt.handleUncaughtCoroutineException(CoroutineExceptionHandlerImpl.common.kt:34)
at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:31)
at kotlinx.coroutines.StandaloneCoroutine.handleJobException(Builders.common.kt:194)
at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:222)
at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:946)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:894)
at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:859)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
at kotlinx.coroutines.intrinsics.CancellableKt.dispatcherFailure(Cancellable.kt:62)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:75)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:358)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:134)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:43)
at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
at com.github.continuedev.continueintellijextension.listeners.DocumentChangeTracker.handleDocumentChange(DocumentChangeTracker.kt:45)
at com.github.continuedev.continueintellijextension.listeners.DocumentChangeTracker.documentChanged(DocumentChangeTracker.kt:24)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.intellij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:120)
at com.intellij.util.EventDispatcher.lambda$doCreateMulticaster$1(EventDispatcher.java:85)
at jdk.proxy2/jdk.proxy2.$Proxy101.documentChanged(Unknown Source)
at com.intellij.openapi.editor.impl.DocumentImpl.lambda$changedUpdate$6(DocumentImpl.java:962)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:290)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:298)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:135)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:298)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:289)
at com.intellij.openapi.editor.impl.DocumentImpl.changedUpdate(DocumentImpl.java:959)
at com.intellij.openapi.editor.impl.DocumentImpl.updateText(DocumentImpl.java:865)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:704)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:635)
at com.intellij.psi.impl.PsiToDocumentSynchronizer.doCommitTransaction(PsiToDocumentSynchronizer.java:211)
at com.intellij.psi.impl.PsiToDocumentSynchronizer.lambda$commitTransaction$1(PsiToDocumentSynchronizer.java:187)
at com.intellij.psi.impl.PsiToDocumentSynchronizer.lambda$doSync$0(PsiToDocumentSynchronizer.java:105)
at com.intellij.psi.impl.PsiToDocumentSynchronizer.performAtomically(PsiToDocumentSynchronizer.java:123)
at com.intellij.psi.impl.PsiToDocumentSynchronizer.doSync(PsiToDocumentSynchronizer.java:105)
at com.intellij.psi.impl.PsiToDocumentSynchronizer.commitTransaction(PsiToDocumentSynchronizer.java:187)
at com.intellij.pom.core.impl.PomModelImpl.commitTransaction(PomModelImpl.java:193)
at com.intellij.pom.core.impl.PomModelImpl.lambda$runTransaction$1(PomModelImpl.java:149)
at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:548)
at com.intellij.pom.core.impl.PomModelImpl.lambda$runTransaction$2(PomModelImpl.java:101)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:290)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:298)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:139)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:298)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:289)
at com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:90)
at com.intellij.psi.impl.source.tree.ChangeUtil.prepareAndRunChangeAction(ChangeUtil.java:145)
at com.intellij.psi.impl.source.tree.CompositeElement.addChild(CompositeElement.java:606)
at com.intellij.psi.impl.source.tree.CompositeElement.addChildren(CompositeElement.java:702)
at com.intellij.psi.impl.source.codeStyle.CodeEditUtil.addChildren(CodeEditUtil.java:53)
at com.intellij.psi.impl.source.tree.CompositeElement.addInternal(CompositeElement.java:470)
at com.intellij.psi.impl.source.PsiFileImpl.addAfter(PsiFileImpl.java:919)
at org.jetbrains.kotlin.idea.codeInsight.intentions.shared.ConvertBlockCommentToLineCommentIntention.applyTo(ConvertBlockCommentToLineCommentIntention.kt:39)
at org.jetbrains.kotlin.idea.codeInsight.intentions.shared.ConvertBlockCommentToLineCommentIntention.applyTo(ConvertBlockCommentToLineCommentIntention.kt:13)
at org.jetbrains.kotlin.idea.codeinsight.api.classic.intentions.SelfTargetingIntention.applyTo(SelfTargetingIntention.kt:59)
at org.jetbrains.kotlin.idea.codeinsight.api.classic.intentions.SelfTargetingIntention.invoke(SelfTargetingIntention.kt:133)
at com.intellij.codeInsight.intention.IntentionAction.generatePreview(IntentionAction.java:116)
at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.generatePreview(IntentionActionWrapper.java:89)
at com.intellij.codeInsight.intention.impl.IntentionActionWithTextCaching$MyIntentionAction.generatePreview(IntentionActionWithTextCaching.java:264)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.invokePreview$lambda$3$lambda$2$lambda$1(IntentionPreviewComputable.kt:121)
at com.intellij.model.SideEffectGuard$Companion.computeWithAllowedSideEffectsBlocking(SideEffectGuard.kt:42)
at com.intellij.model.SideEffectGuard$Companion.computeWithoutSideEffects(SideEffectGuard.kt:27)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.invokePreview$lambda$3$lambda$2(IntentionPreviewComputable.kt:120)
at com.intellij.psi.impl.source.PostprocessReformattingAspectImpl.lambda$postponeFormattingInside$2(PostprocessReformattingAspectImpl.java:137)
at com.intellij.psi.impl.source.PostprocessReformattingAspectImpl.postponeFormattingInside(PostprocessReformattingAspectImpl.java:146)
at com.intellij.psi.impl.source.PostprocessReformattingAspectImpl.postponeFormattingInside(PostprocessReformattingAspectImpl.java:136)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.invokePreview$lambda$3(IntentionPreviewComputable.kt:119)
at com.intellij.codeInsight.intention.preview.IntentionPreviewUtils.previewSession(IntentionPreviewUtils.java:132)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.invokePreview(IntentionPreviewComputable.kt:118)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.generatePreview(IntentionPreviewComputable.kt:87)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.tryCreateDiffContent(IntentionPreviewComputable.kt:63)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.call(IntentionPreviewComputable.kt:46)
at com.intellij.codeInsight.intention.impl.IntentionHintComponent$IntentionPopup.lambda$getPreviewHandler$4(IntentionHintComponent.java:869)
at com.intellij.codeInsight.intention.impl.preview.PreviewHandler.lambda$new$0(PreviewHandler.java:55)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewPopupUpdateProcessor$updatePopup$5.invokeSuspend$lambda$0(IntentionPreviewPopupUpdateProcessor.kt:119)
at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:111)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable$lambda$4(InternalReadAction.kt:101)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$3$lambda$2$lambda$1(cancellableReadAction.kt:32)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.tryRunReadAction(NestedLocksThreadingSupport.kt:826)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1221)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$3$lambda$2(cancellableReadAction.kt:30)
at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:73)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:152)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:28)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:100)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:86)
at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:73)
at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:15)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invokeSuspend(InternalReadAction.kt:52)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invoke(InternalReadAction.kt)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invoke(InternalReadAction.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:44)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:50)
at com.intellij.openapi.application.rw.PlatformReadWriteActionSupport.executeReadAction(PlatformReadWriteActionSupport.kt:39)
at com.intellij.openapi.application.ReadWriteActionSupport.executeReadAction$default(ReadWriteActionSupport.kt:15)
at com.intellij.openapi.application.CoroutinesKt.constrainedReadAction(coroutines.kt:66)
at com.intellij.openapi.application.CoroutinesKt.readAction(coroutines.kt:33)
at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewPopupUpdateProcessor$updatePopup$5.invokeSuspend(IntentionPreviewPopupUpdateProcessor.kt:118)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:613)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1189)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:778)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:765)
Caused by: com.intellij.model.SideEffectGuard$SideEffectNotAllowedException: Side effect not allowed: INVOKE_LATER
at com.intellij.model.SideEffectGuard$Companion.checkSideEffectAllowed(SideEffectGuard.kt:21)
at com.intellij.model.SideEffectGuard.checkSideEffectAllowed(SideEffectGuard.kt)
at com.intellij.openapi.application.impl.LaterInvocator.invokeLater(LaterInvocator.java:83)
at com.intellij.openapi.application.impl.ApplicationImpl.dispatchCoroutineOnEDT(ApplicationImpl.java:427)
at com.intellij.openapi.application.impl.EdtCoroutineDispatcher.dispatch(EdtCoroutineDispatcher.kt:47)
at kotlinx.coroutines.internal.DispatchedContinuationKt.safeDispatch(DispatchedContinuation.kt:254)
at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:318)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:26)
... 102 more
Suppressed: com.intellij.util.ExceptionUtilRt$RethrownStack: Rethrown at
at com.intellij.util.ExceptionUtilRt.addRethrownStackAsSuppressed(ExceptionUtilRt.java:43)
at com.intellij.util.ExceptionUtilRt.rethrowUnchecked(ExceptionUtilRt.java:17)
at com.intellij.util.ExceptionUtil.rethrowUnchecked(ExceptionUtil.java:131)
at com.intellij.util.ExceptionUtil.rethrow(ExceptionUtil.java:146)
at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:180)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:426)
at com.intellij.openapi.application.impl.CoroutineExceptionHandlerImpl.handleException(CoroutineExceptionHandlerImpl.kt:28)
at kotlinx.coroutines.internal.CoroutineExceptionHandlerImpl_commonKt.handleUncaughtCoroutineException(CoroutineExceptionHandlerImpl.common.kt:34)
at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:31)
at kotlinx.coroutines.StandaloneCoroutine.handleJobException(Builders.common.kt:194)
at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:222)
at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:946)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:894)
at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:859)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
at kotlinx.coroutines.intrinsics.CancellableKt.dispatcherFailure(Cancellable.kt:62)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:75)
... 102 more
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@2673f535, Dispatchers.Main]
To reproduce
Appears to occur during load of the configuration.
Log output
Reacted by Vandeputte Brice and Tobias Franz
Metadata
Metadata
Assignees
Labels
ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:macHappening specifically on Macstale
Activity
chezsmithy commentedon Sep 18, 2025
@Patrick-Erichsen FYI.
Patrick-Erichsen commentedon Sep 19, 2025
cc @exigow here - another related issue to latest IntelliJ CE
donbing007 commentedon Sep 24, 2025
Same error here with my config. After it happens, Continue freezes completely and I need to restart the IDE.
github-actions commentedon Dec 24, 2025
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
alper-teke commentedon Jan 7, 2026
I guess this issue has been closed since nobody reacted for some time. This happened to a colleague today. Similar error reported in #8035
pimkrebbers commentedon Jan 8, 2026
I'm also still experiencing this issue in IntelliJ IDEA 2025.3.1 (Build #IU-253.29346.138, built on December 18, 2025) with Continue 1.0.55 so if this could be resolved that would be great.
Thelm76 commentedon Jan 14, 2026
Same this issue keeps occuring on my IntelliJ Ultimate (2025.3.1.1) with continue plugin (1.0.55)
I'm on MacOS Tahoe 26.2 with M4 pro chip.
stacktrace
@tingwai @chezsmithy can someone reopen this?
Anachronism1840 commentedon Feb 6, 2026
Same issue:
Happens every time I use my IDE, no matter if I am using the plugin or not.
Would be happy if we could reopen the issue, and if someone could tackle it.
Best wishes,
Ana