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

java.lang.ClassCastException: java.lang.String	at com.atlassian.core.ofbiz.comparators.OFBizFieldComparator.compare(OFBizFieldComparator.java:30)	at java.util.Arrays.mergeSort(Arrays.java:1284)	at java.util.Arrays.sort(Arrays.java:1223)	at java.util.Collections.sort(Collections.java:159)	at com.atlassian.jira.issue.fields.CustomFieldImpl.getAssociatedIssueTypes(CustomFieldImpl.java:962)	at com.atlassian.jira.issue.fields.CustomFieldImpl.isAllIssueTypes(CustomFieldImpl.java:993)	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:585)	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.customfields.contexts_jsp._jspService(org.apache.jsp.secure.admin.views.customfields.contexts_jsp:103)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)	at org.apache.jsp.secure.admin.views.customfields.customfields_jsp._jspService(org.apache.jsp.secure.admin.views.customfields.customfields_jsp:267)