Question

3
Replies
1953
Views
NAGARAJAN KADHIRESAN (NAGARAJANK8342)
TSYS
Associate Director
TSYS
US
NAGARAJANK8342 Member since 2013 23 posts
TSYS
Posted: September 18, 2018
Last activity: November 30, 2018
Posted: 18 Sep 2018 12:16 EDT
Last activity: 30 Nov 2018 14:58 EST
Closed
Solved

NullPointerException in SafeURL.put(key,value) {InteractionID}, {undefined} error Pega Customer service 7.4

HI ,


After upgrading Pega and associated framework to 7.4 , we are getting java script error pop up with message "NullPointerException in SafeURL.put(key,value) {InteractionID}, {undefined}".



This happens when we click 'Add Task, select a 'service Intent' and click 'Add Task(s)' within in popup.


Is this a product bug in upgraded 7.4 version?

HI ,

After upgrading Pega and associated framework to 7.4 , we are getting java script error pop up with message "NullPointerException in SafeURL.put(key,value) {InteractionID}, {undefined}".

This happens when we click 'Add Task, select a 'service Intent' and click 'Add Task(s)' within in popup.

Is this a product bug in upgraded 7.4 version?

Based on further investigation we found that file "pega_cpm_IP_EventManager • js" has below function that has 'InteractionID' undefined. and also the 'console.log' is not commented.
The above js file has function
function queueselectedtasks(copySelectedTasksStack, interactionID, createWorkCall){
var QueuedTasks = "";
for(var selectedTaskIndex in copySelectedTasksStack) {
var selectedTask = copySelectedTasksStack[selectedTaskIndex];
if(!selectedTask) continue;

QueuedTasks += selectedTask.TaskName + ":" + selectedTask.TaskClass + ":" + selectedTask.TaskFlow + ":" + selectedTask.label;
QueuedTasks += ",";
}
var oSafeURL = new SafeURL("PegaCA-Work-Interaction.CSQueueTasks");
oSafeURL.put("QueuedTasks",QueuedTasks);
oSafeURL.put("InteractionID",interactionID);
pega.util.Connect.asyncRequest('POST', oSafeURL.toURL(), {
success:function(oResponse){
console.log("success");
/* Display the busy indicator * 
parent.showCPMBusyIndicator("driver");
createWorkCall();
},
failure: function(){
console.log("failed");
}
}, "");
}

Is this a product bug?

Thanks,

Nagarajan kadhiresan

***Moderator Edit-Vidyaranjan: Updated SR details***

Pega Customer Service System Administration Upgrades Support Case Parallel
Moderation Team has archived post, 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.