DurableTasks: Warning when workflow started outside of the SDK context
- Dominant language
- Java
- Stars
- 300
- Forks
- 230
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 4
Description
## Expected Behavior
Not sure, but at least the warning should be more clear about why it is failing on the durable task side.
## Actual Behavior
You start a Java application with some workflows registered, but instead of using the application to create a new instance, you send a `curl` request to the Dapr API to start a new workflow instance.
In that situation, because the App doesn't have started the workflow and probably don't have the context, durable task framework prints this warning:
```
2025-05-16T15:28:17.408+01:00 WARN 20378 --- [pool-3-thread-1] io.dapr.durabletask : The orchestrator failed with an unhandled exception: java.lang.NullPointerException: Cannot invoke "io.dapr.durabletask.TaskOrchestrationFactory.create()" because "factory" is null
```
## Release Note
RELEASE NOTE:
Contributor guide
Assessment
This issue has not been assessed yet.