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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Andreas Knecht, 1 year ago
java.util.Arrays$ArrayList cannot be cast to java.lang.String
via Atlassian JIRA by Andreas Knecht, 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 com.atlassian.jira.imports.csv.CsvConfigBean.getDateFields(CsvConfigBean.java:527)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
at webwork.util.ValueStack.findValue(ValueStack.java:346)
at webwork.util.SimpleTest.test(SimpleTest.java:391)
at webwork.util.ValueStack.test(ValueStack.java:129)
at webwork.view.taglib.IfTag.doStartTag(IfTag.java:38)
at org.apache.jsp.secure.admin.views.importers.csv.configdateuserdefaults_jsp._jspx_meth_webwork_if_0(configdateuserdefaults_jsp.java:538)
at org.apache.jsp.secure.admin.views.importers.csv.configdateuserdefaults_jsp._jspx_meth_page_applyDecorator_0(configdateuserdefaults_jsp.java:182)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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