Fork me on GitHub
#boot
<
2019-05-17
>
jeroenvandijk15:05:36

I have this in my boot.properties:

# 
BOOT_JVM_OPTIONS=-XX:-OmitStackTraceInFastThrow

But I still get this
Stack trace of root exception is empty; this is likely due to a JVM optimization that can be disabled with -XX:-OmitStackTraceInFastThrow.
Any idea?

flyboarder16:05:23

Not really, do you know which task is throwing?

jeroenvandijk08:05:28

It is my own code with bugs :)

flyboarder17:05:27

Probably need to comment out things until you find the problem section

jeroenvandijk17:05:02

Thanks, but i know what the issue is. It is just always annoying if I don't have access to the exception. Takes extra time to figure out what the issue is

flyboarder18:05:30

yeah, lets fix that if we can!

alexyakushev19:05:16

@jeroenvandijk The code that read BOOT_JVM_OPTIONS from boot.properties was never merged: https://github.com/boot-clj/boot-bin/pull/17

alexyakushev19:05:19

So, while the docs say that you can set BOOT_JVM_OPTIONS from the properties file, you actually can't, and have to provide it through the env variable.

alexyakushev19:05:45

Either that, or build a boot binary for yourself with the patch from that PR.

flyboarder23:05:35

You could also try with bootstrap - would be just as much work as compiling boot-bin, but would also help with v3 😉

flyboarder23:05:38

bootstrap can run v2.8* boot versions, though it’s not actually “supported” since it wont ship until boot also hits v3