Unexpected runtime error

The runtime has encountered an unexpected error.

Error source

Page Name:/home.xsp
Control Id: _id33

Exception

Error while executing JavaScript action expression
Script interpreter error, line=15, col=7: Error calling method 'getHTML()' on java class 'com.ibm.xsp.model.domino.wrapped.DominoRichTextItem'
Zugriff auf die Datei {0} bzw. diese zu ändern ist nicht zulässig

JavaScript code

   1: try
   2: 					{
   3: 					var html=value.getHTML();
   4: 					var findAddress = /href="(mailto:[a-zA-Z0-9_\.]+@[a-zA-Z0-9_\.]+)"/;
   5: 					while(found = findAddress.exec(html))
   6: 					{
   7: 						var replaceString = "javascript:sendMail('" + encryptString(found[1]) + "');";
   8: 						html = html.replace(found[0], 'href="' + replaceString + '"');
   9: 					}
  10: html
  11: }
  12: catch(e)
  13: {
  14: value.getHTML();
  15: }

Stack Trace