Question

1
Replies
120
Views
IMENS0687 Member since 2017 5 posts
Oligos
Posted: September 7, 2018
Last activity: September 24, 2018
Closed

Log4j Public API issues

Hello team,

I have a requirement to modify the standard log files so I customized the log4j appender and patterns and I imported a jar file to pega.

I used prpublic.jar to retrieve informations from pega data pages but I have an issue when I use ThreadContainer.get().getPublicAPI() to retrieve pega public API,I get a null pointer exception

on ThreadContainer.get().getPublicAPI()

PublicAPI api = ThreadContainer.get().getPublicAPI();
ClipboardProperty property = api.findPage("pxRequestor").getProperty("pzRequestorId");
if (property != null) {
return property.getStringValue();
}

Any suggestions please !! Thank you .

Best Regards,

Imen

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn