Question
1
Replies
753
Views
Coforge Limited
Posted: April 5, 2019
Last activity: April 11, 2019
Closed
NullPointerException in SafeURL.put(key,value) {TaskIndex}, {undefined}-PEGA8
Hi All,
After upgrading to pega 8 i am facing below error while click on button.
***Moderator Edit-Vidyaranjan: Updated Platform Capability***
Hi Vinod,
The alert says that the value of key 'TaskIndex' is not available, so an exception is thrown by safeurl.put method.
Can you check what is the action configured on the button, if you are running some script then handle the null value check in the method:
eg: if(TaksIndex != undefined){
Osafeurl.put("TaskIndex", TaskIndex);
}
Hope it helps.
Thanks.