Skip to content

ulid4s fails on Windows Systems  #4

Open
@uneewk

Description

@uneewk

Problem:

ulid4s fails to generate a ULID on the windows platform. Running the following scala commands on a Windows System results in the exception below:

import net.petitviolet.ulid4s.ULID
ULID.generate

Exception:

java.security.NoSuchAlgorithmException: NativePRNGNonBlocking SecureRandom not available
at sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
at java.security.SecureRandom.getInstance(SecureRandom.java:288)
at net.petitviolet.ulid4s.ULID$.<init>(ULID.scala:9)
at net.petitviolet.ulid4s.ULID$.<clinit>(ULID.scala)
... 40 elided

Is there a workaround that you know of that will allow me to continue to use this library on Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions