Question
American International Group Inc.
US
Last activity: 13 May 2021 2:50 EDT
Null Pointer exception on finish Assignment NullPointerException in SafeURL.put(key,value) {TaskIndex}, {undefined}
Hi ,
can some one help how to avoid below null pointer exception which is coming when do finish Assignment action
NullPointerException in SafeURL.put(key,value) {TaskIndex}, {undefined}
Attached screen shot for reference
Thanks,
Raja
***Edited by Moderator: Lochan to update platform capability tags***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
FR
Hello,
Do you have the full stack trace from your logs?
Pegasystems Inc.
AU
Hi RajaSekharReddy,
From your screenshot , It looks like there is a problem while creating the SafeURL object,
Can you please check if you are creating SafeURL object properly and passing it to FinishAssignment Action.
You can create a safeURL object like below.
var oSafeUrl = new SafeURL("/Here Goes action name/ ",getReqURI());
oSafeUrl.put('propertyName',this.state.name);
oSafeUrl.put('propertyValue',newval);
American International Group Inc.
US
Hi karma,
Thanks for your reply we have configured OOTB Finish Assignment event on Click Action in button .
could not understand your comment could you please elaborate more.
Thanks,
Raja
Pegasystems Inc.
AU
Hi RajaSekahar,
Can you please provide a screenshot of your action sets configuration on button click.
American International Group Inc.
US
Hi Karma ,
Attached button action set.
Thanks,
Raja
Pegasystems Inc.
FR
Calling a FinishAssignment in an Action Set of a button is a bit strange but why not. Can we have the full stack trace of the error from the logs.
BNYMellon Technology
IN
@RajaSekharReddyA1975 do you have solution for this?
Pegasystems Inc.
US
Hi @Arvind,
It doesn't appear that this is an active thread. Please ask your own Question and our SMEs will be alerted to assist you.
You may reference this thread in your new Question.
Thank you!
Asurion
US
Facing similar problem, did you find the the solution to this.
Thanks in Advance.
HCL Corporation
IN
Facing Similar problem, Need help on this
Solutions
IN