java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.lang.String

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 Dave Raines, 1 year ago
java.util.Arrays$ArrayList cannot be cast to java.lang.String
java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.lang.String
at org.kuali.kfs.sys.document.workflow.FinancialSystemSearchableAttribute.validateUserSearchInputs(FinancialSystemSearchableAttribute.java:249)
at org.kuali.rice.kew.docsearch.StandardDocumentSearchGenerator.validateSearchableAttribute(StandardDocumentSearchGenerator.java:227)
at org.kuali.rice.kew.docsearch.StandardDocumentSearchGenerator.validateSearchableAttributes(StandardDocumentSearchGenerator.java:204)
at org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer.validateSearchableAttributes(DataDictionaryDocumentSearchCustomizer.java:77)
at org.kuali.rice.kew.docsearch.service.impl.DocumentSearchServiceImpl.validateDocumentSearchCriteria(DocumentSearchServiceImpl.java:180)
at sun.reflect.GeneratedMethodAccessor1829.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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at net.bull.javamelody.MonitoringSpringInterceptor.invoke(MonitoringSpringInterceptor.java:73)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at sun.reflect.GeneratedMethodAccessor1829.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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.kuali.rice.kew.bo.lookup.DocSearchCriteriaDTOLookupableHelperServiceImpl.validateSearchParameters(DocSearchCriteriaDTOLookupableHelperServiceImpl.java:908)
at sun.reflect.GeneratedMethodAccessor1563.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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at net.bull.javamelody.MonitoringSpringInterceptor.invoke(MonitoringSpringInterceptor.java:73)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.kuali.rice.kns.lookup.KualiLookupableImpl.validateSearchParameters(KualiLookupableImpl.java:97)
at sun.reflect.GeneratedMethodAccessor1562.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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.kuali.rice.kns.web.struts.action.KualiLookupAction.search(KualiLookupAction.java:202)
at sun.reflect.GeneratedMethodAccessor1662.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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.