jamesnetherton opened a new issue #2589:
URL: https://github.com/apache/camel-quarkus/issues/2589
```
Error: No instances of sun.security.provider.NativePRNG are allowed in the
image heap as this class should be initialized at image runtime. To see how
this object got instantiated use
--trace-object-instantiation=sun.security.provider.NativePRNG.
Detailed message:
Trace: Object was reached by
reading field java.security.SecureRandom.secureRandomSpi of
constant java.security.SecureRandom@6b0032ba reached by
scanning method
io.nats.client.support.SSLUtils.createOpenTLSContext(SSLUtils.java:43)
Call path from entry point to
io.nats.client.support.SSLUtils.createOpenTLSContext():
at
io.nats.client.support.SSLUtils.createOpenTLSContext(SSLUtils.java:39)
at io.nats.client.Options$Builder.build(Options.java:1352)
at
org.apache.camel.component.nats.NatsEndpoint.getConnection(NatsEndpoint.java:85)
at
com.oracle.svm.reflect.NatsEndpoint_getConnection_ae93cd8bd1f246593dcfa360791d8ee42ca51ac9_394.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Method.java:566)
at
java.util.ServiceLoader$ProviderImpl.invokeFactoryMethod(ServiceLoader.java:737)
at java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:720)
at
com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:211)
at
com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:164)
at
com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:293)
at
com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]