javax.faces.FacesException: #{Index.actionMethodError}: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List

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 Java.net JIRA by jsf.01, 1 year ago
#{Index.actionMethodError}: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
via Java.net JIRA by jsf.01, 1 year ago
#{Index.actionMethodError}: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
via java.net by Unknown author, 1 year ago
#{Index.actionMethodError}: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
via Stack Overflow by plewand
, 1 year ago
#{loginBean.login}: javax.persistence.PersistenceException: [PersistenceUnit: persistence_sample] Unable to build EntityManagerFactory
via apache.org by Unknown author, 1 year ago
#{jpaTest.executeInTransaction}: java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()
via Stack Overflow by Luke Stevens
, 5 months ago
#{form.submit}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double
javax.faces.FacesException: #{Index.actionMethodError}: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.List
at newpackage.Index.actionMethodError(Index.java:60)
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 org.apache.el.parser.AstValue.invoke(AstValue.java:191)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at java.lang.Thread.run(Thread.java:619)

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.

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