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 Oracle Community by 807606, 1 year ago
java.lang.ClassCastException: ndlinh.struts.lab.RegistrationForm	at org.apache.struts.chain.commands.servlet.CreateAction.getAction(CreateAction.java:66)	at org.apache.struts.chain.commands.AbstractCreateAction.execute(AbstractCreateAction.java:82)	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)	at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)	at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)	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.StandardWrapperValve.invoke(StandardWrapperValve.java:213)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)	at java.lang.Thread.run(Thread.java:595)