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

Getting BadStreamDataException migrating rules from PRPC 6.1SP2

SA-21380

Summary



Running the migrate script as first step of upgrade from PRPC 6.1 SP2 to 7.1.9 fails.

Error Messages



Problem decompressing a storage stream
[java] com.pega.pegarules.data.internal.clipboard.directstream.BadStreamDataException: Problem decompressing a storage stream
[java] at com.pega.pegarules.data.internal.clipboard.directstream.InflaterV7.inflateV7(InflaterV7.java:94)
[java] at com.pega.pegarules.util.deploy.SchemaAssignmentUtility.getProperty(SchemaAssignmentUtility.java:589)
[java] at com.pega.pegarules.util.deploy.SchemaAssignmentUtility.validateTableSet(SchemaAssignmentUtility.java:786)
[java] at com.pega.pegarules.util.deploy.SchemaAssignmentUtility.main(SchemaAssignmentUtility.java:926)
[java] Caused by: java.util.zip.DataFormatException: incorrect header check
[java] at java.util.zip.Inflater.inflateBytes(Native Method)
[java] at java.util.zip.Inflater.inflate(Inflater.java:259)
[java] at java.util.zip.Inflater.inflate(Inflater.java:280)
[java] at com.pega.pegarules.data.internal.clipboard.directstream.InflaterV7.inflateV7(InflaterV7.java:48)
[java] ... 3 more


Steps to Reproduce



Try to run migrate.sh script from server

Root Cause



A defect in Pegasystems’ code or rules.  A check to determine if the storage stream was compressed before trying to inflate was missing.

Resolution



Perform the following local-change: 

Replace prdeploy.jar in scripts directory of media with version provided in SE-26643
Suggest Edit

Published March 25, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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