Rest service throwing nullPointer exception in Pega 8.2
I am currently running Rest service via simulation mode in Pega 8.2. But while doing so I am getting nullPointer exception. But the same service is working fine in Pega 7. I am getting below stack trace. So, can anyone please suggest about what might be the reason for same.