java.lang.ClassCastException: java.lang.String

Oracle Community | 807553 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Problem with comparator() in TreeMap()

    Oracle Community | 1 decade ago | 807553
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at america.Reporte$1.compare()
    2. america
      Reporte$1.compare
      1. america.Reporte$1.compare(Reporte.java:215)
      1 frame
    3. Java RT
      TreeMap.put
      1. java.util.TreeMap.compare(TreeMap.java:1042)
      2. java.util.TreeMap.put(TreeMap.java:444)
      2 frames
    4. america
      Reporte.getASRXRutaFP_
      1. america.Reporte.getASRXRutaFP_(Reporte.java:228)
      1 frame
    5. reporte
      ASRXRuta_7._jspService
      1. reporte.ASRXRuta_7._jspService(ASRXRuta_7.java:200)
      1 frame
    6. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java)
      1 frame
    8. org.apache.tomcat
      Http10Interceptor.processConnection
      1. org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java)
      2. org.apache.tomcat.core.Handler.invoke(Handler.java)
      3. org.apache.tomcat.core.Handler.service(Handler.java)
      4. org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java)
      5. org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
      6. org.apache.tomcat.core.ContextManager.service(ContextManager.java)
      7. org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java)
      7 frames
    9. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
      1 frame
    10. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:479)
      1 frame