Bug 56169

Summary: [PATCH] XSSFExportToXml.exportToXML() throws NPE when schema has tag <xs:all> instead of <xs:sequence>
Product: POI Reporter: kingdom2k
Component: XSSFAssignee: POI Developers List <dev>
Severity: normal CC: kingdom2k
Priority: P2 Keywords: PatchAvailable
Version: 3.9-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Patch to fix the Bug
Patch to fix the Bug 56169

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!