Come across a little error with UCCX Scripting. I had a working script configured. As the scripts are object based, sometimes the objects can be moved accidently while you are working on the script. Today I accidently moved the “Start” step and dropped it somewhere in the middle of the script. I moved this step back to beginning, however, the script would now fail. All the debugs would show java.lang.NullPointerException.
I ended up creating a new script and copy/paste the original to the new. Debugs then worked fine and the script was back in action.