https://issues.apache.org/bugzilla/show_bug.cgi?id=55923
Bug ID: 55923
Summary: Xml data export leads to a NPE sorting output data
Product: POI
Version: 3.9
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
The class XSSFExportToXml fails when comparing two similiar xPaths. It
continous comparing the xPath nodes after the last common node which then leads
to a null pointer exception.
Example
-----------
Given to xPaths:
1. A/B/C/E
2. A/B/D/E
Expected behaviour: Iterating up to node B. Testing if C or D appears first in
the schema xml.
Actual beahviour: It continous comparing node E after node C/D whichs then
leads to a NPE.
I'm going to provide a patch for this issue.
--
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]