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

InvalidStream error while running BIX command line extract

SA-16478

Summary



Below exception while extracting the data for BIX.

2015-10-12 07:03:00,884 [ itgsydsrv220] [ ] [ ] ( internal.access.ExtractImpl) INFO - {b=1, a=pegabixuser, i=ASSIGN-WORKBASKET!ASSIGNWORKBASKETEXTRACTDDL, p=}
2015-10-12 07:03:01,834 [ itgsydsrv220] [ ] [ ] ( internal.access.ExtractImpl) ERROR - Exception attempting to open an application. Database-General problem creating a page from a stream: InvalidStream StorageStreamCommon.create(byte []) Invalid signature found in stream. Stream length = 18054; signature: PR7d; compressed = false InvalidStream StorageStreamCommon.create(byte []) Invalid signature found in stream. Stream length = 18054; signature: PR7d; compressed = false
java.lang.NullPointerException: Exception attempting to open an application. Database-General problem creating a page from a stream: InvalidStream StorageStreamCommon.create(byte []) Invalid signature found in stream. Stream length = 18054; signature: PR7d; compressed = false InvalidStream StorageStreamCommon.create(byte []) Invalid signature found in stream. Stream length = 18054; signature: PR7d; compressed = false
at com.pega.pegarules.session.internal.authorization.context.BasicApplicationContext.createAppStackForAccessGroup(BasicApplicationContext.java:661)


Error Messages



ERROR - Exception attempting to open an application. Database-General problem creating a page from a stream: InvalidStream StorageStreamCommon.create(byte []) Invalid signature found in stream. Stream length = 18054; signature: PR7d; compressed = false InvalidStream StorageStreamCommon.create(byte []) Invalid signature found in stream. Stream length = 18054; signature: PR7d; compressed = false
java.lang.NullPointerException: Exception attempting to open an application. Database-General problem creating a page from a stream: InvalidStream StorageStreamCommon.create(byte []) Invalid signature found in stream. Stream length = 18054; signature: PR7d; compressed = false InvalidStream StorageStreamCommon.create(byte []) Invalid signature found in stream. Stream length = 18054; signature: PR7d; compressed = false


Steps to Reproduce



There is no specific use case to replicate the issue.


Root Cause



The Install and Update Assistant (IUA) crashed while importing the Rules for 7.1.8 Upgrade. When restarted, the IUA did not take into account that this was an Update and changed the DSS database/StorageVersion to 7 (introduced in 7.1.8) instead of retaining earlier value of 6.

The BIX runtime was an earlier releases so it did not work correctly with StorageVersion 7 being set on BLOBs in the PRPC instance after the Update was finished. Upgrading BIX to match 7.1.8 resolved the issue.

The IUA will be changed in a future release to cater for resuming an Update in case of a crash and that will ensure that Update will finish as expected and avoid such an issue in future.

Resolution



Perform the following local-change:

Upgrade BIX run-time was upgraded 7.1.8 to bring it in line with PRPC environment (7.1.8). This is recommended regardless.

Published January 31, 2016 - Updated October 8, 2020

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?

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