Domino & Notes error

Error while executing JavaScript action expression

Also seen as: Error while executing JavaScript computed expression

XPages error page; details follow on later lines.

What it means

Server-side JavaScript in an XPage failed while running, and the stack trace below shows where.

Common causes

  • A variable or Domino object is null, for example a missing view or document
  • A typo in a method or property name
  • The user does not have access to the data the code reads

Quick fixes

  1. Read the line and column under the message to find the faulty code
  2. Add checks for null values and wrap risky code in try/catch
  3. Check the logs in the domino/workspace/logs folder for the full stack trace

Need a hand with this?

Paste your exact message into What's That Error? for a plain-English explanation, or get in touch. I've been supporting Domino and Notes for 28 years.

Disclaimer

The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.

This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.