java.lang.ClassCastException: o.a.p.POIXMLDocumentPart cannot be cast to o.a.p.xwpf.usermodel.XWPFDocument

apache.org | 3 weeks ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    POI regression testing report

    apache.org | 3 weeks ago
    java.lang.ClassCastException: o.a.p.POIXMLDocumentPart cannot be cast to o.a.p.xwpf.usermodel.XWPFDocument
  2. 0

    Apache poi failed to open word document : NoSuchMethodError using ooxml-shemas-1.0.jar but not with poi-ooxmlshemas-3.8.jar

    Stack Overflow | 4 years ago | Houcem Berrayana
    java.lang.NoSuchMethodError: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFootnotes.getFootnoteList()Ljava/util/List;

    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

      o.a.p.POIXMLDocumentPart cannot be cast to o.a.p.xwpf.usermodel.XWPFDocument

      at o.a.p.xwpf.usermodel.XWPFFootnotes.getXWPFDocument()
    2. o.a.p
      XWPFFootnotes.getXWPFDocument
      1. o.a.p.xwpf.usermodel.XWPFFootnotes.getXWPFDocument(XWPFFootnotes.java:153)
      1 frame