I'm missing a stack trace in my log file and I believe it is due to the stack trace being optimized away be the JVM (see NullPointerException in Java with no StackTrace)
I have tried to pass in -XX:-OmitStackTraceInFastThrow
via my jnlp file like this:
...java-vm-args="-XX:-OmitStackTraceInFastThrow"...
but it has no effect. And it looks like setting -XX:-OmitStackTraceInFastThrow
(see JNLP File Syntax) via java-vm-args is not supported.
Is there another way of stopping the JVM from omitting stack traces?
--- Edit:
I added -XX:-OmitStackTraceInFastThrow
via
Control Panel > Java > Java (tab) > View (button) > Runtime parameters (field)
as (described here) that worked fine.