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

Unable to import Excel file from harness using local action

SA-83678

Summary



Unable to import an Excel file from the harness using a local action. This occurs after upgrade from Pega 7.4 to Pega 8.2.1.


Error Messages

The Flow Action post-processing activity CreateBulkWO failed:java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.ooxml.util.Documenthelper




Steps to Reproduce

  1. Create a custom activity
  2. Call a local action for post processing activity
  3. Use the pxParseExcel activity in the post processing activity to generate the pagelist
  4. In User portal, click the Upload File button and import the Excel file


Root Cause



Issues with poi jar after application upgrade.


Resolution

Perform the following local-change:
  1. Install the missing jar file, xercesImpl-2.12.0 jar
  2. Change the upload file button control to the pzFilePathWithForm control with the setEncodingNow parameter checked in the Parameter tab of the control


 

Published August 15, 2019 - 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