NSD error when code placed within JS header of subform

Issue:

An application that has been running fine under an R5 environment (5.0.6) now generates an NSD error under R6 (6.0.1).

Cause:

  • one specific web-based Domino form.

  • the form has multiple ‘computed subforms’ on the form.

Through a process of elimination, I have determined that one computed subform on this form is causing an NSD error and thus crashing the server.

The only unique thing that I could find on this subform is that it has JavaScript code within the JS Header section.

Validation of Error:

I removed the Javascript code from the JS Header section and the server no longer exhibits any problems. However, if I go back into the JS header section and add a simple ‘alert(“hello world!”);’ JS statement into this JS Header section, upon reloading the form, the server immediately reacts and causes a NSD error.

Has anyone else experienced this kind of NSD issue?

Subject: NSD error when code placed within JS header of subform.

I just experienced this same problem when trying to enter Common Javascript. I changed the script option from Common to either Web or Client script only, entered some Javascript and accepted the changes. When I put it back to Common Javascript, it appeared to accept the code without causing the NSD error.

Hope this helps…