java.lang.ClassCastException

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

Solutions on the web19441

  • via knowcoding.com by Unknown author, 1 year ago
    org.apache.poi.hssf.usermodel.HSSFRichTextString cannot be cast to java.lang.String
  • via Coderanch by Jeff Verdegan, 1 year ago
    org.apache.poi.hssf.usermodel.HSSFRichTextString cannot be cast to java.lang.String
  • via Coderanch by Aggarwal Arpit, 1 year ago
    org.apache.poi.hssf.usermodel.HSSFRichTextString cannot be cast to java.lang.String
  • Stack trace

    • java.lang.ClassCastException: org.apache.poi.hssf.usermodel.HSSFRichTextString cannot be cast to java.lang.String at java.lang.String.compareTo(Unknown Source) at java.util.TreeMap.getEntry(Unknown Source) at java.util.TreeMap.containsKey(Unknown Source) at java.util.TreeSet.contains(Unknown Source) at com.test.ReadExcelFile.showExelData(ReadExcelFile.java:154) at com.test.ReadExcelFile.main(ReadExcelFile.java:121)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 6 months ago
    Unknown user
    Once, 11 months ago
    Once, 11 months ago