Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
1.8.4
-
None
-
None
-
-
Rank:0|0hzyc4:
Description
To recreate this:
- Go to a subject [report] page.
- Click "Email" in the Actions box.
- Enter an email address (that you can read), and email title, but leave the "personal message" empty.
- Send the email
When the email arrives, the entirety of the contents is just "empty" (literally the string "empty"). The cause is an NPE getting swallowed up that's thrown on this line: https://bitbucket.org/%7Ba425d3cf-8a00-4e5a-9c6b-ae7fe2442305%7D/xdat/commits/3bdf87c1b2b464e40160682b1a1488d99c6b27a7#Lsrc/main/java/org/nrg/xdat/turbine/modules/actions/EmailReportAction.javaT123 . The previous StringBuilder implementation was robust to this, but String#replaceAll is not.