[Bug 63149] New: 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)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 63149] New: 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)

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63149] 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)

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

Tim Allison <[hidden email]> changed:

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

--- Comment #1 from Tim Allison <[hidden email]> ---
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: [hidden email]
For additional commands, e-mail: [hidden email]