Skip to content

Constant issues with UI crashing on intellij #7570

@bdavj

Description

@bdavj

Before submitting your bug report

Relevant environment info

- OS: MacOS
- Continue version: 1.0.40EAP, 1.0.37, Just about every other version up to this.
- IDE version: 2025.2.1, but also various versions of 2024. Several people have experienced across a large variety of versions
- Model: Claude 4.0 sonnet, but doesn't seem to make a difference

Description

Continue plugin will randomly crash in the side pane when coming back to it or creating a new chat. Stays that way until intellij is restarted. Sometimes get IDE errors like the one attached (which may not be relevant). Nothing in core log. Happens frequently (a few times a day).

To reproduce

See above. Random, when coming back to Continue / new chat.

Log output

[info] Starting Continue core...
[2025-09-02T13:56:28] [info] Starting Continue core...
[2025-09-02T13:56:28] Setup
[2025-09-02T13:56:28] [binary] Core started
[2025-09-02T13:56:28] (node:70830) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created)
[2025-09-02T13:56:28] Failed to fetch favicon from https://mintcdn.com/continue-docs/Q7rtZZRFf0o0QPSv/_generated/favicon/apple-touch-icon.png?maxW=180&n=Q7rtZZRFf0o0QPSv&s=bef24c0753161798d56b40608b2849c5: TypeError: fetch failed
[2025-09-02T13:56:30]
[2025-09-03T16:13:32] nextEdit/deleteChain
[2025-09-03T16:13:32] nextEdit/deleteChain
[2025-09-03T16:14:03] deleteChain called from files/closed
[2025-09-03T16:14:03] deleteChain called from files/closed

(Currently 09-04 11:28, no lines since, continue crashed in sidebar)
----


Unhandled exception in Dispatchers.Main

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); If you access or modify model on EDT consider wrapping your code in WriteIntentReadAction ; see https://jb.gg/ij-platform-threading for details
Current thread: Thread[#43,AWT-EventQueue-0,6,main] 318086858 (EventQueue.isDispatchThread()=true)
SystemEventQueueThread: (same)
	at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:257)
	at com.intellij.util.concurrency.ThreadingAssertions.throwThreadAccessException(ThreadingAssertions.java:248)
	at com.intellij.util.concurrency.ThreadingAssertions.assertReadAccess(ThreadingAssertions.java:138)
	at com.intellij.openapi.editor.impl.EditorThreading.assertInteractionAllowed(EditorThreading.kt:30)
	at com.intellij.openapi.editor.impl.CaretImpl.getOffset(CaretImpl.java:661)
	at com.github.continuedev.continueintellijextension.listeners.ActiveHandlerManager$caretPositionChanged$1.invokeSuspend(ActiveHandlerManager.kt:115)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:225)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:122)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
	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.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:595)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:488)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10$lambda$9(IdeEventQueue.kt:313)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:865)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10(IdeEventQueue.kt:312)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:974)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:110)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:974)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12(IdeEventQueue.kt:307)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:347)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@5f4de3c0, Dispatchers.Main]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sidebarRelates to the sidebar windowide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:macHappening specifically on Macpriority:highIndicates high priority

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions