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

            Bug ID: 59195
           Summary: POIXMLTypeLoader depends on XMLBeans 2.6.0
           Product: POI
           Version: 3.14-FINAL
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: regression
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]

Seems we introduced a dependency on XMLBeans > 2.3.0, see the discussion at
http://stackoverflow.com/questions/36063592/exception-in-thread-main-org-apache-poi-poixmlexception-exception-appearing-wh

Caused by: java.lang.NoSuchMethodError:
org.apache.xmlbeans.XmlOptions.setLoadEntityBytesLimit(I)Lorg/apache/xmlbeans/XmlOptions;
    at org.apache.poi.POIXMLTypeLoader.<clinit>(POIXMLTypeLoader.java:50)
    at org.apache.poi.xssf.model.ThemesTable.<init>(ThemesTable.java:85)
    ... 10 more

Either we should update to XMLBeans 2.6.0 officially or try to work around this
by catching the NoSuchMethodError at this place.

If we want to stay compatible, we also should enhance the "source build tests"
in src/integrationtest/build.xml to run a full build/test with XMLBeans 2.3.0
to verify that it keeps working in the future.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to