In some situations you may find error traces that do not include stack traces.
When an error is thrown in a rapidly repeated sequence, the Java compiler may optimize the stack trace away for performance.
To disable this optimization, include
-XX:-OmitStackTraceInFastThrow in your JVM flags.
For more help
Additional documentation resources include:
- Oracle's Java release notes.