Commit 4a22e96
committed
fix(jsonata): catch StackOverflowError to prevent worker crash on Windows
On Windows, the JVM default thread stack is ~256KB vs ~512KB+ on Linux.
A circular parent-chain bug in dashjoin/jsonata Frame.lookup() causes
infinite recursion, triggering StackOverflowError. Reactor's throwIfFatal
treats it as a JVM fatal, and ThreadUncaughtExceptionHandler shuts down
the entire worker process.
Catch StackOverflowError in evaluateExpression() and convert to
RuntimeException so the task fails gracefully without crashing the worker.1 parent c6a2b00 commit 4a22e96
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
0 commit comments