java.lang.ClassCastException: java.lang.String

Icesoft | khandur | 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

    Autocomplete component not working

    Icesoft | 1 decade ago | khandur
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at com.icesoft.faces.component.selectinputtext.SelectInputText.populateItemList()
    2. com.icesoft.faces
      SelectInputText.broadcast
      1. com.icesoft.faces.component.selectinputtext.SelectInputText.populateItemList(SelectInputText.java:243)
      2. com.icesoft.faces.component.selectinputtext.SelectInputText.broadcast(SelectInputText.java:255)
      2 frames
    3. JavaEE 7
      UIViewRoot.processValidators
      1. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:269)
      2. javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:363)
      2 frames
    4. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268)
      3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
      3 frames
    5. com.icesoft.faces
      BlockingServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCyclePartial(BlockingServlet.java:455)
      2. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:424)
      3. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:269)
      3 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    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(Unknown Source)
      1 frame