Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsatisifed link error using random functions #12628

Closed
dkocher opened this issue Dec 7, 2021 · 0 comments · Fixed by #12627
Closed

Unsatisifed link error using random functions #12628

dkocher opened this issue Dec 7, 2021 · 0 comments · Fixed by #12627
Assignees
Labels
Milestone

Comments

@dkocher
Copy link
Contributor

@dkocher dkocher commented Dec 7, 2021

This only affects Windows builds.

Inner Exception 1
Type:        java.lang.RuntimeException
Message:     java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: DEFAULT, provider: BC, class: org.bouncycastle.jcajce.provider.drbg.DRBG$Default)
Source:      IKVM.OpenJDK.Core
Stack Trace: at java.security.SecureRandom.getDefaultPRNG(Boolean , Byte[] )
  at java.security.SecureRandom..ctor()
  at java.util.UUID.Holder..cctor()

Inner Exception 2
Type:        java.security.NoSuchAlgorithmException
Message:     Error constructing implementation (algorithm: DEFAULT, provider: BC, class: org.bouncycastle.jcajce.provider.drbg.DRBG$Default)
Source:      IKVM.OpenJDK.Core
Stack Trace: at sun.security.jca.GetInstance.getInstance(String type, Class clazz, String algorithm)
  at java.security.SecureRandom.getInstance(String algorithm)
  at java.security.SecureRandom.getDefaultPRNG(Boolean , Byte[] )

Inner Exception 3
Type:        java.lang.UnsatisfiedLinkError
Message:     sun/security/mscapi/PRNG.generateSeed(I[B)[B
Source:      IKVM.Runtime.JNI
Stack Trace: at IKVM.Runtime.JNI.Frame.GetFuncPtr(CallerID callerID, String clazz, String name, String sig)
  at sun.security.mscapi.PRNG.generateSeed(Int32 , Byte[] )
  at sun.security.mscapi.PRNG.engineGenerateSeed(Int32 i)
  at java.security.SecureRandom.generateSeed(Int32 numBytes)
  at org.bouncycastle.jcajce.provider.drbg.DRBG.HybridSecureRandom..ctor()
  at org.bouncycastle.jcajce.provider.drbg.DRBG.createBaseRandom(Boolean )
  at org.bouncycastle.jcajce.provider.drbg.DRBG.access$100(Boolean )
  at org.bouncycastle.jcajce.provider.drbg.DRBG.Default..cctor()
@dkocher dkocher added the core label Dec 7, 2021
@dkocher dkocher added this to the 8.1.2 milestone Dec 7, 2021
@dkocher dkocher linked a pull request that will close this issue Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants