java.lang.ClassCastException: org.apache.poi.hssf.usermodel.HSSFRichTextString cannot be cast to java.lang.String

Coderanch | Aggarwal Arpit | 4 years ago
  1. 0

    Dealing with Array

    Coderanch | 4 years ago | Aggarwal Arpit
    java.lang.ClassCastException: org.apache.poi.hssf.usermodel.HSSFRichTextString cannot be cast to java.lang.String
  2. 0

    Dealing with Array

    Coderanch | 4 years ago | Jeff Verdegan
    java.lang.ClassCastException: org.apache.poi.hssf.usermodel.HSSFRichTextString cannot be cast to java.lang.String
  3. 0

    Why does Set.contains() not seem to be using o.equals()?

    Stack Overflow | 4 years ago | fophillips
    java.lang.ClassCastException: org.gridqtl.Marker cannot be cast to java.lang.Comparable
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException when calling TreeSet.contains( Long.valueOf( someLongValue ) )

    Stack Overflow | 4 years ago | Lucas
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
  6. 0

    Classcastexception in treeset - Java Programming - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.ClassCastException: java.util.HashSet cannot be cast to java.lang.Comparable

    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

      org.apache.poi.hssf.usermodel.HSSFRichTextString cannot be cast to java.lang.String

      at java.lang.String.compareTo()
    2. Java RT
      TreeSet.contains
      1. java.lang.String.compareTo(Unknown Source)
      2. java.util.TreeMap.getEntry(Unknown Source)
      3. java.util.TreeMap.containsKey(Unknown Source)
      4. java.util.TreeSet.contains(Unknown Source)
      4 frames
    3. com.test
      ReadExcelFile.main
      1. com.test.ReadExcelFile.showExelData(ReadExcelFile.java:154)
      2. com.test.ReadExcelFile.main(ReadExcelFile.java:121)
      2 frames