Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15649

camel-jasypt-starter : NativePRNG SecureRandom not available

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.6.0
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Build failed in Window machine and OpenJDK 1.8

      Caused by: org.jasypt.exceptions.EncryptionInitializationException: java.security.NoSuchAlgorithmException: NativePRNG SecureRandom not availableCaused by: org.jasypt.exceptions.EncryptionInitializationException: java.security.NoSuchAlgorithmException: NativePRNG SecureRandom not available at org.jasypt.iv.RandomIvGenerator.<init>(RandomIvGenerator.java:74) at org.apache.camel.component.jasypt.springboot.EncryptedPropertiesCustomConfigurationBeansTest$TestConfiguration.environmentVariablesConfiguration(EncryptedPropertiesCustomConfigurationBeansTest.java:70) at org.apache.camel.component.jasypt.springboot.EncryptedPropertiesCustomConfigurationBeansTest$TestConfiguration$$EnhancerBySpringCGLIB$$20dd0596.CGLIB$environmentVariablesConfiguration$0(<generated>) at org.apache.camel.component.jasypt.springboot.EncryptedPropertiesCustomConfigurationBeansTest$TestConfiguration$$EnhancerBySpringCGLIB$$20dd0596$$FastClassBySpringCGLIB$$4c453f93.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) at org.apache.camel.component.jasypt.springboot.EncryptedPropertiesCustomConfigurationBeansTest$TestConfiguration$$EnhancerBySpringCGLIB$$20dd0596.environmentVariablesConfiguration(<generated>) at jdk.internal.reflect.GeneratedMethodAccessor75.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ... 67 moreCaused by: java.security.NoSuchAlgorithmException: NativePRNG SecureRandom not available at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at java.base/java.security.SecureRandom.getInstance(SecureRandom.java:381) at org.jasypt.iv.RandomIvGenerator.<init>(RandomIvGenerator.java:72) ... 77 more
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                axsprk Alex Park
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: