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