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

Mobile offline app packaging - ORA-01795: maximum number of expr

SA-41543

Summary



User has a mobile application and when the offline synchronization occurs, the packaging fails - the logs are showing ORA-01795.

Error Messages

2017-07-13 10:02:36,827 [ttp-nio-8080-exec-13] [ STANDARD] [ ] [ PegaRULES:07.10] (re.rdbms.JdbcConnectionManager) ERROR dev-eco-web-0host|ip|Rest|offlinehttp|DataSync|pzSynchronizationService|A686674A08F63DC34146667249818505F - Not returning connection 2 for database "pegarules" to the pool as it previously encountered the following error User ID: testUser

Last SQL: SELECT DISTINCT "PC0"."PYFIELDNAME" AS "pyFieldName" , "PC0"."PYFIELDVALUE" AS "pyFieldValue" , "PC0"."PYCLASSNAME" AS "pyClassName" , TO_CHAR("PC0"."PYLOCALIZEDVALUE") AS "pyLocalizedValue" , "PC0"."PZINSKEY" AS "pzInsKey" , "PC0"."PXINSNAME" AS "pxInsName" , "PC0"."PZRULESETVERSIONMAJOR" AS "pzRuleSetVersionMajor" , "PC0"."PZRULESETVERSIONMINOR" AS "pzRuleSetVersionMinor" , "PC0"."PZRULESETVERSIONPATCH" AS "pzRuleSetVersionPatch" FROM PEGA_RULES.pr4_fieldvalue "PC0" WHERE ( UPPER("PC0"."PXINSNAME") IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , <snip>
AND "PC0"."PYRULEAVAILABLE" = ? ) AND "PC0"."PXOBJCLASS" = ? ORDER BY 7 DESC, 8 DESC, 9 DESC
java.sql.SQLSyntaxErrorException: ORA-01795: maximum number of expressions in a list is 1000
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450) ~[ojdbc7.jar:12.1.0.1.0]
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) ~[ojdbc7.jar:12.1.0.1.0]
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1017) ~[ojdbc7.jar:12.1.0.1.0]


Steps to Reproduce



Not applicable.


Root Cause



A defect in Pegasystems’ code or rules. The pzPackageLocalization activity is generating a list of records to be handled (RecordFieldValuesList ). This process had been optimized in Pega 7.2.2 with HFix-33933 - when the process was contained in a now-withdrawn activity.

Resolution



Apply HFix-36024.

Published August 26, 2017 - 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?

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