Question7Replies168Views MaximI83 Member since 2018 16 posts Alfa Bank Posted: 8 months agoLast activity: 8 months 2 weeks ago Null Pointer Exception in Connect-Rest methodHelloWhen I try to call in activity Connect-Rest method, I get the following errors.In the Connect Rest rule, Test Connectivity works well and I get the expected result. Testing in PostMan also works correctly. Please tell me what could be the problem.***Moderator Edit-Vidyaranjan: Updated images to remove proprietary information *** Low-Code App Development Dev/Designer Studio Data Integration Java and Activities Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 8 months agoMarcLasserre_GCS PEGA replied to MaximI83Hello, Can you check your logs? Maybe you can share the logs with us for analysis. Posted: 8 months agovaspoz BPM Company replied to MaximI83The name of an activity is not visible from your screenshots. But you could also put more lights on what's going on inside the java step by adding additional logging. You need to check out in your private ruleset the rule. Please refer the post: https://community1.pega.com/community/pega-product-support/question/how-trace-java-step-activity Posted: 8 months agovaspoz BPM Company replied to MaximI83And, as a rule of thumb, try to hide all data from screenshots which could reveal your client (ВСК, Страховой дом - довольно очевидно из имени класса, клиент может быть недоволен :)) Posted: 8 months agobhars1 PEGA replied to MaximI83Hello, Which version of Pega are you using? , can you please attach the logs. Thanks Posted: 8 months agopalas3 PEGA replied to MaximI83Hi Maxim, Please find the below video which is helpful to debug the java steps in the activity. https://community.pega.com/video-library/support-guide-debugging-java-activities-and-rule-utility-functions Posted: 8 months agoAbhinav7 PEGA replied to MaximI83Hi, Can you please share error stack trace present in pega rules log.If service works fine with postman then definitely there is some issue with pega-rest integration.Exact reason can be found by analysing logs. Thanks, Abhinav Posted: 8 months agoBharathan Tekclan Software Solutions replied to MaximI83Hi , Step Page is "unnamed" , this may cause failure? Thanks, Bharathan.