Question

1
Replies
126
Views
Close popover
IMEN SELLAMI (IMENS0687)
Oligos

Oligos
FR
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.