Nexus failed to start - IllegalArgumentException: null

I’ve found a workaround, not a solution.
I swapped regular openjdk-8-jre to openjdk-8-jre-headless and it worked, still don’t know why, but it woks without a flaw.