You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2019/02/06 11:41:34 UTC

[Bug 63149] New: When opening the attached .docx file, I get java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTPictureBaseImpl.(org.apache.xmlbeans.SchemaType, boolean)

https://bz.apache.org/bugzilla/show_bug.cgi?id=63149

            Bug ID: 63149
           Summary: When opening the attached .docx file, I get
                    java.lang.NoSuchMethodException:
                    org.openxmlformats.schemas.wordprocessingml.x2006.main
                    .impl.CTPictureBaseImpl.<init>(org.apache.xmlbeans.Sch
                    emaType, boolean)
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: nadavbenedek@gmail.com
  Target Milestone: ---

Created attachment 36425
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36425&action=edit
Example for getting the exception

When opening the attached .docx file, I get:

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

Code:

FileInputStream fis = new FileInputStream("b2.docx");        
XWPFDocument    doc = new XWPFDocument(fis);

I am using Apache POI 3.17

Is this solved in later versions or is it still a bug later on?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 63149] When opening the attached .docx file, I get java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTPictureBaseImpl.(org.apache.xmlbeans.SchemaType, boolean)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63149

Tim Allison <ta...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Tim Allison <ta...@apache.org> ---
Y, this is fixed in later versions. See:
https://bz.apache.org/bugzilla/show_bug.cgi?id=61991

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org