Created attachment 38368 [details] Sample Java code and sample *.xlsx file Take the code ReadExcelPivotTableSource.java and the ExcelPivotTableSample.xlxs from my attachment. Run the code. You will see that pivotTable.getPivotCacheDefinition() always returns `null` although the POIXMLDocumentPart is present.
Definitely a bug - pivotTable.getCTPivotTableDefinition() does work I'll look into the issue with pivotTable.getPivotCacheDefinition()
I added a fix using r1903442