Skip to content

Noisy kotlinx.coroutines.JobCancellationExceptionΒ #487

Open
@slinkydeveloper

Description

@slinkydeveloper

Example:

2025-04-04 16:55:25 WARN  [FanOutWorker/run][inv_1az6aNGr9CSC0AFAoQCHtGT6KQHTOM1ICB] dev.restate.sdk.core.statemachine.State - Invocation failed
java.lang.RuntimeException: Subtask 2 failed!
	at my.example.parallelizework.StubsKt.execute(stubs.kt:31) ~[main/:?]
	at my.example.parallelizework.StubsKt$execute$1.invokeSuspend(stubs.kt) ~[main/:?]
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-2.1.10.jar:2.1.10-release-473]
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) ~[kotlinx-coroutines-core-jvm-1.10.1.jar:?]
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586) ~[kotlinx-coroutines-core-jvm-1.10.1.jar:?]
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829) ~[kotlinx-coroutines-core-jvm-1.10.1.jar:?]
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717) ~[kotlinx-coroutines-core-jvm-1.10.1.jar:?]
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704) ~[kotlinx-coroutines-core-jvm-1.10.1.jar:?]
2025-04-04 16:55:25 WARN  [FanOutWorker/run][inv_1az6aNGr9CSC0AFAoQCHtGT6KQHTOM1ICB] dev.restate.sdk.core.RequestProcessorImpl - Error when processing the invocation
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled

Can this be hidden?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions