java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTMarkupImpl.<init>(org.apache.xmlbeans.SchemaType, boolean)

Apache's JIRA Issue Tracker | Torsten Krah | 5 years ago
  1. 0

    [TIKA-792] NoSuchMethodException "CTMarkupImpl.<init>(org.apache.xmlbeans.SchemaType, boolean)" processing a OOXML document - ASF JIRA

    apache.org | 1 year ago
    java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTMarkupImpl.<init>(org.apache.xmlbeans.SchemaType, boolean)
  2. 0

    Parsing some OOXML documents, this stacktrace is logged many times: java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTMarkupImpl.<init>(org.apache.xmlbeans.SchemaType, boolean) at java.lang.Class.getConstructor0(Class.java:2723) at java.lang.Class.getDeclaredConstructor(Class.java:2002) at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.getJavaImplConstructor2(SchemaTypeImpl.java:1749) at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createUnattachedSubclass(SchemaTypeImpl.java:1886) at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createUnattachedNode(SchemaTypeImpl.java:1875) at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:1021) at org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:893) at org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1657) at org.apache.xmlbeans.impl.store.Cur.getUser(Cur.java:2654) at org.apache.xmlbeans.impl.store.Cur.getObject(Cur.java:2647) at org.apache.xmlbeans.impl.store.Cursor._getObject(Cursor.java:995) at org.apache.xmlbeans.impl.store.Cursor.getObject(Cursor.java:2904) at org.apache.poi.xwpf.usermodel.XWPFParagraph.<init>(XWPFParagraph.java:83) at org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:145) at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159) at org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:115) at org.apache.poi.xwpf.extractor.XWPFWordExtractor.<init>(XWPFWordExtractor.java:53) at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:180) at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:63) at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:69) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) Looking at the poi code java is right here, there is no constructor with a SchemaType and a boolean, only with SchemaType. My guess is this one was missed during upgrade to poi beta4, but only a guess, anyway needs a fix :-).

    Apache's JIRA Issue Tracker | 5 years ago | Torsten Krah
    java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTMarkupImpl.<init>(org.apache.xmlbeans.SchemaType, boolean)
  3. 0

    Bug #1697: Import OOXML: java.lang.ClassNotFoundException for org.apache.xmlbeans.XmlException - Requality - Open-Source Projects

    ispras.ru | 5 months ago
    java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTMarkupImpl.<init>(org.apache.xmlbeans.SchemaType, boolean)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [indexation] failed on some documents

    GitHub | 1 year ago | florentgarin
    java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTBookmarkImpl.<init>(org.apache.xmlbeans.SchemaType, boolean)
  6. 0

    Map-reduce hadoop error

    Stack Overflow | 3 years ago | user2758378
    java.lang.RuntimeException: java.lang.NoSuchMethodException: WordCount$Reduce.&lt;init&gt;()

  1. empt-ak 1 times, last 1 month ago
  2. Luka 12 times, last 2 months ago
  3. andyglick 28 times, last 2 months ago
  4. ruifung 1 times, last 3 months ago
  5. Shadd518 1 times, last 4 months ago
8 more registered users
47 unregistered visitors
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.NoSuchMethodException

    org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTMarkupImpl.<init>(org.apache.xmlbeans.SchemaType, boolean)

    at java.lang.Class.getConstructor0()
  2. Java RT
    Class.getDeclaredConstructor
    1. java.lang.Class.getConstructor0(Class.java:2723)
    2. java.lang.Class.getDeclaredConstructor(Class.java:2002)
    2 frames
  3. XmlBeans
    Cursor.getObject
    1. org.apache.xmlbeans.impl.schema.SchemaTypeImpl.getJavaImplConstructor2(SchemaTypeImpl.java:1749)
    2. org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createUnattachedSubclass(SchemaTypeImpl.java:1886)
    3. org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createUnattachedNode(SchemaTypeImpl.java:1875)
    4. org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:1021)
    5. org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:893)
    6. org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1657)
    7. org.apache.xmlbeans.impl.store.Cur.getUser(Cur.java:2654)
    8. org.apache.xmlbeans.impl.store.Cur.getObject(Cur.java:2647)
    9. org.apache.xmlbeans.impl.store.Cursor._getObject(Cursor.java:995)
    10. org.apache.xmlbeans.impl.store.Cursor.getObject(Cursor.java:2904)
    10 frames
  4. Apache POI
    XWPFDocument.onDocumentRead
    1. org.apache.poi.xwpf.usermodel.XWPFParagraph.<init>(XWPFParagraph.java:83)
    2. org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:145)
    2 frames
  5. POI
    POIXMLDocument.load
    1. org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159)
    1 frame
  6. Apache POI
    ExtractorFactory.createExtractor
    1. org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:115)
    2. org.apache.poi.xwpf.extractor.XWPFWordExtractor.<init>(XWPFWordExtractor.java:53)
    3. org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:180)
    3 frames
  7. Apache Tika parsers
    OOXMLParser.parse
    1. org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:63)
    2. org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:69)
    2 frames
  8. Apache Tika core
    AutoDetectParser.parse
    1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
    2. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
    3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
    3 frames