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.AssertionError: Not alive: Terminating #20

Closed
danielpacak opened this issue Sep 29, 2021 · 3 comments
Closed

java.lang.AssertionError: Not alive: Terminating #20

danielpacak opened this issue Sep 29, 2021 · 3 comments
Milestone

Comments

@danielpacak
Copy link

danielpacak commented Sep 29, 2021

Overall the plugin works great, but from time to time I'm receiving the following error.

Unhandled exception in [StandaloneCoroutine{Cancelling}@77516895, Dispatchers.Default]

java.lang.AssertionError: Not alive: Terminating
	at com.jetbrains.rd.util.lifetime.RLifetimeKt.assertAlive(RLifetime.kt:347)
	at com.github.bric3.excalidraw.editor.ExcalidrawWebViewController.runJS(ExcalidrawWebViewController.kt:349)
	at com.github.bric3.excalidraw.editor.ExcalidrawWebViewController.saveAsCoroutines(ExcalidrawWebViewController.kt:333)
	at com.github.bric3.excalidraw.editor.ExcalidrawEditor$saveCoroutines$1.invokeSuspend(ExcalidrawEditor.kt:210)
	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:571)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

IntelliJ IDEA 2021.2.2 (Ultimate Edition)
Build #IU-212.5284.40, built on September 14, 2021
Runtime version: 11.0.12+7-b1504.28 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6
GC: G1 Young Generation, G1 Old Generation
Memory: 1262M
Cores: 16
Non-Bundled Plugins: com.github.bric3.excalidraw (0.3.2), org.openpolicyagent.opa-idea-plugin (0.6.0.0-211), org.jetbrains.plugins.go-template (212.4746.52), org.jetbrains.kotlin (212-1.5.31-release-546-IJ4638.7), com.intellij.kubernetes (212.5284.17), org.jetbrains.plugins.go (212.5284.31)
Kotlin: 212-1.5.31-release-546-IJ4638.7

@bric3
Copy link
Owner

bric3 commented Sep 29, 2021

Yeah this assertion is there in the first place to understand messaging issues (between CEF and the JVM). From this stack trace I cannot identify the root cause, maybe it's related to closing / opening files, or switching editors.

Maybe I can make this error less of an issue.

Thanks for reporting.

@lestephane
Copy link

What info would you like to receive? I just got the error, and still have the logs...

@bric3
Copy link
Owner

bric3 commented Apr 25, 2022

@lestephane thanks
Yeah that could still be interesting. The nature of the exchange between the java handlers and JCef makes this exchange a bit unpractical around some edges, eg like closing an editor, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants