Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Export to excel from Reports is not working

SA-76170

Summary



Export to Excel functionality from any report  fails with an error.


Error Messages



Caused by: java.lang.NoSuchMethodError: org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet(Ljava/lang/String;)


Steps to Reproduce

  1. Navigate to My Reports in the CPMInteractionPortal.
  2. Select a category (for example, Throughput reports).
  3. Execute a report from that category (for example, Case Volume - Resolved).
  4. Select 'Export to Excel' from the Actions menu when the report loads.


Root Cause



A defect or configuration issue in the operating environment.

Conflicting old POI related JARs (3.11) remained in the database.

poi-ooxml-3.11-20141221.jar
poi-3.11-20141221.jar
poi-excelant-3.11-20141221.jar
poi-scratchpad-3.11-20141221.jar
poi-ooxml-schemas-3.11-20141221.jar

While in Pega Platform 7.4, JAR 3.15 is used.
poi-ooxml-3.15.jar
poi-ooxml-schemas-3.15.jar
poi-3.15.jar
poi-scratchpad-3.15.jar



Resolution



Perform the following local-change: 
  1. Stop the servers.
  2. Backup the database.
  3. Run Delete from the pr_engineclasses where pzjar is '%poi%3.11%'.
  4. Perform a Commit.
  5. Start the servers.

Published February 17, 2020 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us