ffang commented on issue #199: Camel jira
URL: https://github.com/apache/camel-quarkus/pull/199#issuecomment-531413290
 
 
   native build can make some progress, but I still see error like
   `com.oracle.svm.core.util.UserError$UserException: No instances are allowed 
in the image heap for a class that is initialized or reinitialized at image 
runtime: sun.security.provider.NativePRNG. Try marking this class for 
build-time initialization with 
--initialize-at-build-time=sun.security.provider.NativePRNG
   Detailed message:
   Trace:       object java.security.SecureRandom
        method com.google.api.client.auth.oauth.OAuthParameters.computeNonce()
   Call path from entry point to 
com.google.api.client.auth.oauth.OAuthParameters.computeNonce(): 
        at 
com.google.api.client.auth.oauth.OAuthParameters.computeNonce(OAuthParameters.java:120)
        at 
org.apache.camel.component.jira.oauth.JiraOAuthAuthenticationHandler.configure(JiraOAuthAuthenticationHandler.java:62)
   `
   
   If add --initialize-at-build-time=sun.security.provider.NativePRNG as the 
error message indicate, I got another error like
   `
   Error: Incompatible change of initialization policy for 
sun.security.provider.NativePRNG: trying to change BUILD_TIME from the command 
line to RERUN for substitutions
   com.oracle.svm.core.util.UserError$UserException: Incompatible change of 
initialization policy for sun.security.provider.NativePRNG: trying to change 
BUILD_TIME from the command line to RERUN for substitutions
   `
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to