poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59128] ooxml-schemas 1.3 and ooxml-security 1.1 have outdated xmlbeans dependency
Date Sat, 05 Mar 2016 20:55:59 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59128

David North <dtn-asfbugs@corefiling.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |---
             Status|RESOLVED                    |REOPENED

--- Comment #3 from David North <dtn-asfbugs@corefiling.co.uk> ---
Sorry, I should have made it clear how I arrived at raising this bug.

With the following JARs on its classpath:

poi-3.14-20160307.jar
poi-ooxml-3.14-20160307.jar
poi-ooxml-schemas-3.14-20160307.jar
xmlbeans-2.3.0.jar


The following piece of code:

new XSSFWorkbook();


Fails with a stack trace:

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.xmlbeans.XmlOptions.setLoadEntityBytesLimit(I)Lorg/apache/xmlbeans/XmlOptions;
    at org.apache.poi.POIXMLTypeLoader.<clinit>(POIXMLTypeLoader.java:50)
    at
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook$Factory.newInstance(Unknown
Source)
    at
org.apache.poi.xssf.usermodel.XSSFWorkbook.onWorkbookCreate(XSSFWorkbook.java:425)

Looking at the commits on POIXMLTypeLoader suggests that the fix to 58617 means
we do now require XMLBeans 2.6.0 at runtime (or at any rate, one new enough to
contain setLoadEntityBytesLimit, which 2.3.0 does not).

-- 
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


Mime
View raw message