cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti-admin app initialization fails

mallesh
Champ in-the-making
Champ in-the-making
Hi,
I'm getting the following exception during the initialization of the activiti-admin app leading to the init failure.
Can you please help indicate which key or configuration parameter I'm missing? We are using Alfresco Activiti 1.3.2.

Caused by: java.lang.RuntimeException: java.security.InvalidKeyException: No installed provider supports this key: (null)
        at com.activiti.service.activiti.AbstractEncryptingService.encrypt(AbstractEncryptingService.java:61)
        at com.activiti.service.activiti.ClusterConfigService.createNewClusterConfig(ClusterConfigService.java:65)
        at com.activiti.service.activiti.ClusterConfigService.createNewClusterConfig(ClusterConfigService.java:52)
        at com.activiti.service.activiti.ClusterConfigService$$FastClassBySpringCGLIB$$4dea97cd.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)
        at com.activiti.service.activiti.ClusterConfigService$$EnhancerBySpringCGLIB$$d85c7365.createNewClusterConfig(<generated>)
        at com.activiti.domain.generator.MinimalDataGenerator.verifyMinimalDataPresent(MinimalDataGenerator.java:38)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
        … 53 more
Caused by: java.security.InvalidKeyException: No installed provider supports this key: (null)
        at javax.crypto.Cipher.chooseProvider(Cipher.java:823)
        at javax.crypto.Cipher.init(Cipher.java:1211)
        at javax.crypto.Cipher.init(Cipher.java:1146)
        at com.activiti.service.activiti.AbstractEncryptingService.encrypt(AbstractEncryptingService.java:57)
        … 73 more

thanks
Mallesh
4 REPLIES 4

jbarrez
Star Contributor
Star Contributor
Do you have a license on the classpath?
What environment is this (OS/JDK/etc)?

jbarrez
Star Contributor
Star Contributor
I vaguely remember an order bug in the Spring beans instantiation on some Linux platforms.
Is it possible to try the same with the 1.3.3 release? The order bug is fixed there, and before we dive further I want to rule that out.

mallesh
Champ in-the-making
Champ in-the-making
Started using 1.3.3 release and it works fine. So there probably is some issue in 1.3.2.
Thanks
Mallesh

jbarrez
Star Contributor
Star Contributor
Thanks for testing it and coming back to us!