Could not initialize class sun.security.provider.SecureRandom when using rand()

Randomly starting experiencing this after making zero changes to the code in question.

Receiving the following error

Could not initialize class sun.security.provider.SecureRandom$SeederHolder;lucee.runtime.exp.NativeException: Could not initialize class sun.security.provider.SecureRandom$SeederHolder
        at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:221)
        at java.security.SecureRandom.nextBytes(SecureRandom.java:468)
        at java.security.SecureRandom.next(SecureRandom.java:491)
        at java.util.Random.nextDouble(Random.java:532)
        at lucee.runtime.functions.math.Rand.call(Rand.java:46)
        at id_cfc$cf.udfCall(/util/ID.cfc:5)

Line 5 of ID.cfc (referenced above)

		<cfset LOCAL.newId = int(rand('SHA1PRNG') * 10^ARGUMENTS.len)>

No changes were made to the Lucee version, Java version, OS Version. I don’t believe any changes were made to the Tomcat version, as I use CommandBox which handles that aspect for me.

Don’t forget to tell us about your stack!

OS: Linux (4.14.165-133.209.amzn2.x86_64) 64bit
Java Version: 1.8.0_242 (Oracle Corporation) 64bit
Tomcat Version: WildFly / Undertow - 1.4.24.Final
Lucee Version: Lucee 5.3.2.77

Reinstall the JDK
Then specify jdk and jre for each tomcat vhost or instance you are running.