java.lang.ClassCastException: ndlinh.struts.lab.RegistrationForm

Oracle Community | 807606 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.ClassCastException in simple struts application. please help me!

    Oracle Community | 1 decade ago | 807606
    java.lang.ClassCastException: ndlinh.struts.lab.RegistrationForm
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    How to avoid ClassCastException in Struts 1.3.x due to its class loading strategy?

    Stack Overflow | 5 years ago | user1199680
    java.lang.ClassCastException: my.package.here.MyActionClassNameHere

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      ndlinh.struts.lab.RegistrationForm

      at org.apache.struts.chain.commands.servlet.CreateAction.getAction()
    2. Struts Core
      ActionCommandBase.execute
      1. org.apache.struts.chain.commands.servlet.CreateAction.getAction(CreateAction.java:66)
      2. org.apache.struts.chain.commands.AbstractCreateAction.execute(AbstractCreateAction.java:82)
      3. org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
      3 frames
    3. Commons Chain
      ChainBase.execute
      1. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
      2. org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
      3. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
      3 frames
    4. Struts Core
      ComposableRequestProcessor.process
      1. org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
      1 frame
    5. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
      2 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      8 frames
    8. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    9. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame