Support Article
JS error NullPointerException in SafeURL.put(key,value) {Thread}
SA-9060
Summary
NullPointerException in SafeURL.put(key,value) {ThreadName}, {undefined} when there is a newline in strPyLabel which stores the subject line of incoming emails digested by an email listener.
Error Messages
NullPointerException in SafeURL.put(key,value) {Thread}
Steps to Reproduce
Attempt to view an email attached to a work object that contains NewLine characters in the subject line.
Root Cause
Message.getHeader (Subject) is being used to retreive the email subject, and this method does not properly handle NewLine characters.
Resolution
This issue is scheduled to be resolved in Pega 7.1.8 release.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.