flowable / flowable/flowable-engine
No execution context in Script exception in a synchronous process
- Vorherrschende Sprache
- Java
- Sterne
- 9.5k
- Forks
- 2.9k
- Ø Merge
- 7 Std. 8 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
**Is your feature request related to a problem? Please describe.**
Yes: I start a trivial process with a single synchronous script task that contains a syntax error using
`_processEngine.getRuntimeService().startProcessInstanceByKey(...)`
The call triggers a
FlowableException { cause: ScriptException{cause: MultipleCompilationErrorException{...}}}
None of the exceptions in the stack trace have a reference to the execution that failed, so I cannot provide context for the error.
**Describe the solution you'd like**
It would be useful to have enough information in the exception stack to identify the execution that failed, as well as the task where the error originated.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduziere das Problem mit _processEngine.getRuntimeService().startProcessInstanceByKey(...) unter Verwendung einer synchronen Script Task, die einen Syntaxfehler enthält. Verfolge, wie FlowableException und ScriptException weitergegeben werden, und ermittle anschließend, wie die fehlgeschlagene Ausführung und die ursprüngliche Task im Exception-Kontext dargestellt werden könnten. Erledigt ist dies, wenn die resultierende Exception sowohl die fehlgeschlagene Ausführung als auch die Task identifiziert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100