Stack traces missing (Java)

Problem

In some situations you may find error traces that do not include stack traces. 

Solution

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:

Join the discussion about Java monitoring in the New Relic Online Technical Community! The Technical Community is a public platform to discuss and troubleshoot your New Relic toolset.

If you need additional help, get support at support.newrelic.com.