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 expose child embedded properties through comma line

SA-58121

Summary



Unable to expose the child embedded properties through the command line.

 

Branch is the parent embedded page which is of type Page List and it contains the child embedded page Agent, which is also of type Page List.
 



 

Both the Page List properties have 'Refer to a data page' data access. The requirement is to expose the embedded properties and populate the old value from the source Page List to the new created table against the index class 'Index-LICI-Data-Agent'.


Error Messages

On the initial run, the command line utility failed with the below error:

[java] Mar 28, 2018 12:38:45 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
[java] SEVERE: Problem during method invocation (main)
[java] com.pega.pegarules.pub.PRRuntimeError: Can't get a PublicAPI reference.
[java] at com.pega.pegarules.priv.rulemgmt.ReindexAndExposeOptions.getTools(ReindexAndExposeOptions.java:707)
[java] at com.pega.pegarules.priv.rulemgmt.ReindexAndExposeOptions.validateStartEndDates(ReindexAndExposeOptions.java:677)
[java] at com.pega.pegarules.priv.rulemgmt.ReindexAndExposeOptions.validate(ReindexAndExposeOptions.java:629)
[java] at com.pega.pegarules.deploy.internal.exposecols.tasks.ExposeOptionsReader.loadIndexOptions(ExposeOptionsReader.java:125)
[java] at com.pega.pegarules.deploy.internal.util.ExposeCols.main(ExposeCols.java:210)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega
[java] SEVERE: Problem during method invocation (main)
[java] com.pega.pegarules.pub.PRRuntimeError: Can't get a PublicAPI reference.
[java] at com.pega.pegarules.priv.rulemgmt.ReindexAndExposeOptions.getTools(ReindexAndExposeOptions.java:707)
[java] at com.pega.pegarules.priv.rulemgmt.ReindexAndExposeOptions.validateStartEndDates(ReindexAndExposeOptions.java:677)
[java] at com.pega.pegarules.priv.rulemgmt.ReindexAndExposeOptions.validate(ReindexAndExposeOptions.java:629)
[java] at com.pega.pegarules.deploy.internal.exposecols.tasks.ExposeOptionsReader.loadIndexOptions(ExposeOptionsReader.java:125)
[java] at com.pega.pegarules.deploy.internal.util.ExposeCols.main(ExposeCols.java:210)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java]
[java] Exception in thread "main" java.lang.RuntimeException: Problem during method invocation (main)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:279)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] Caused by: com.pega.pegarules.pub.PRRuntimeError: Can't get a PublicAPI reference.
com.pega.pegarules.deploy.internal.exposecols.tasks.ExposeOptionsReader.loadIndexOptions(ExposeOptionsReader.java:125)
[java] at com.pega.pegarules.deploy.internal.util.ExposeCols.main(ExposeCols.java:210)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
[java] ... 1 more
[echo][echo]
[echo] Performing 'expose' on system using properties /opt/prpc/pega_software/pega722/scripts/utils/prpcUtils.properties failed.
[echo] Cause:
[echo] The following error occurred while executing this line:
[echo] /opt/prpc/pega_software/pega722/scripts/utils/prpcUtils.xml:1141: Java returned: 1

BUILD FAILED
/opt/prpc/pega_software/pega722/scripts/utils/prpcUtilsWrapper.xml:117: PegaRULES Process Commander expose failed



Steps to Reproduce

Run the command line utility with a successful build. The new index table corresponding to the class 'Index-LICI-Data-Agent' is either truncated or the exposed columns will are Null.


Root Cause

A defect in Pegasystems’ code or rules.

With 'Refer to a data page' data access, when the work object is persisted to the database system, a new data page is loaded and the property does not contain the <pzIndexes> tag in the XML metadata.


Resolution



Perform the following local-change:

Change the data access to 'Copy data from a data page'.



 

Published August 24, 2018 - 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