java.lang.IllegalStateException: Illegal use of encryption service. Ecryption service is disabled, to enable please configure 'encryption.key'.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Kuali JIRA by Jerry Neal, 1 year ago
Illegal use of encryption service. Ecryption service is disabled, to enable please configure 'encryption.key'.
via Kuali JIRA by Jerry Neal, 1 year ago
Illegal use of encryption service. Ecryption service is disabled, to enable please configure 'encryption.key'.
java.lang.IllegalStateException: Illegal use of encryption service. Ecryption service is disabled, to enable please configure 'encryption.key'.
at org.kuali.rice.core.service.impl.DemonstrationGradeEncryptionServiceImpl.checkEnabled(DemonstrationGradeEncryptionServiceImpl.java:232)
at org.kuali.rice.core.service.impl.DemonstrationGradeEncryptionServiceImpl.decrypt(DemonstrationGradeEncryptionServiceImpl.java:89)
at org.kuali.rice.kns.util.OjbKualiEncryptDecryptFieldConversion.sqlToJava(OjbKualiEncryptDecryptFieldConversion.java:59)
at org.apache.ojb.broker.accesslayer.RowReaderDefaultImpl.readValuesFrom(RowReaderDefaultImpl.java:247)
at org.apache.ojb.broker.accesslayer.RowReaderDefaultImpl.readObjectArrayFrom(RowReaderDefaultImpl.java:208)
at org.apache.ojb.broker.accesslayer.RsIterator.getObjectFromResultSet(RsIterator.java:457)
at org.apache.ojb.broker.accesslayer.RsIterator.next(RsIterator.java:278)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.getObjectByQuery(PersistenceBrokerImpl.java:1785)
at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(DelegatingPersistenceBroker.java:352)
at org.springmodules.orm.ojb.PersistenceBrokerTemplate$2.doInPersistenceBroker(PersistenceBrokerTemplate.java:187)
at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141)
at org.springmodules.orm.ojb.PersistenceBrokerTemplate.getObjectByQuery(PersistenceBrokerTemplate.java:185)
at org.kuali.rice.kns.dao.impl.BusinessObjectDaoOjb.findByPrimaryKey(BusinessObjectDaoOjb.java:63)
at org.kuali.rice.kns.dao.proxy.BusinessObjectDaoProxy.findByPrimaryKey(BusinessObjectDaoProxy.java:176)
at sun.reflect.GeneratedMethodAccessor414.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.