java.lang.ClassCastException: java.util.Vector

Icesoft | maguri | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    FacesMessages.instance().add generates an error

    Icesoft | 10 years ago | maguri
    java.lang.ClassCastException: java.util.Vector

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.Vector

      at com.icesoft.faces.renderkit.dom_html_basic.MessagesRenderer.encodeEnd()
    2. com.icesoft.faces
      MessagesRenderer.encodeEnd
      1. com.icesoft.faces.renderkit.dom_html_basic.MessagesRenderer.encodeEnd(MessagesRenderer.java:116)
      1 frame
    3. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
      1 frame
    4. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:525)
      2. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:520)
      3. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:520)
      4. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:520)
      5. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:520)
      6. com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
      7. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:146)
      7 frames
    5. Impl
      LifecycleImpl.render
      1. org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
      1 frame
    6. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:67)
      2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:46)
      3. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
      4. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
      5. com.icesoft.faces.webapp.http.core.PushServer.service(PushServer.java:35)
      6. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      7. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
      8. com.icesoft.faces.webapp.http.servlet.PushServlet.service(PushServlet.java:27)
      9. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:41)
      10. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:18)
      11. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:32)
      12. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:31)
      13. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:41)
      14. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:18)
      15. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:48)
      15 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    9. org.jboss.seam
      ExceptionFilter.doFilter
      1. org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    11. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    12. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      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)
      4 frames
    13. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      2 frames
    14. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2 frames
    15. org.jboss.web
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      1 frame
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      2 frames
    17. Grizzly HTTP
      MasterSlaveWorkerThread.run
      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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      4 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame