Bug 56169 - [PATCH] XSSFExportToXml.exportToXML() throws NPE when schema has tag <xs:all> instead of <xs:sequence>
Summary: [PATCH] XSSFExportToXml.exportToXML() throws NPE when schema has tag <xs:all>...
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.9-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2014-02-20 10:07 UTC by kingdom2k
Modified: 2014-03-15 17:23 UTC (History)
1 user (show)



Attachments
Patch to fix the Bug (8.14 KB, text/plain)
2014-02-20 13:03 UTC, kingdom2k
Details
Patch to fix the Bug 56169 (8.14 KB, application/x-gzip)
2014-02-20 13:12 UTC, kingdom2k
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kingdom2k 2014-02-20 10:07:37 UTC
When exporting a xml schema (which includes the tag <xs:all> for e.g. complex types) from an excel worbook with the method XSSFExportToXml.exportToXML(), then a NullPointerException is thrown.
Comment 1 kingdom2k 2014-02-20 13:03:50 UTC
Created attachment 31339 [details]
Patch to fix the Bug

Fixes the described Bug
Comment 2 kingdom2k 2014-02-20 13:04:55 UTC
Patch is uploaded
Comment 3 kingdom2k 2014-02-20 13:12:41 UTC
Created attachment 31340 [details]
Patch to fix the Bug 56169
Comment 4 Dominik Stadler 2014-03-15 17:23:34 UTC
Patch applied in r1577901, thanks for the Patch!