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

Issue with Declare expressions while geting data frm pyWorkCover

SA-6935

Summary



User  have a declare expression .SumOfEmployeePremiums defined in a data class (Pegains-data-Quote) which will be running in pyWorkPage.ApplicationPage.Quotes context. We have a page list in pyWorkCover called Census.
Expression name: SumOfEmployeePremiums
Class: Pegains-data-quote
Accessing pyWorkCover.SubmissionData.ActiveCensusFile.Census().EmpPremium


Error Messages



Can not be null. Details: Invalid value for aDirectory passes to Property.getTopPage(ClipboardPage, PageDirectory, Clipboardpage)

Steps to Reproduce



Login into the PRPC isntance.
Open work item . Click on any of the BEN sub cases BEN-225 or BEN-224. Click submit in the 1st assignment.


Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules.

PropertyReferenceImpl.filter() API is throwing exception when directory is null for changes. Directory will be null if a copy of top level page is made.

As part of hot fix, PropertyReferenceImpl.filter() API is modified to use PRThread as directory if page directory is null.

Resolution



This issue is resolved by hotfix item HFix-21059
 

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?

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