Domino & Notes error

No RESUME

What it means

An On Error GoTo handler ran to the end of the sub or function without a Resume statement, so LotusScript doesn't know where to continue.

Common causes

  • The error handler label falls through to End Sub or End Function
  • A missing Exit Sub or Exit Function before the error handler label
  • Handler code that has its own error, leaving the original one unresolved

Quick fixes

  1. End every error handler with Resume Next, Resume [label] or Exit Sub/Exit Function after Resume
  2. Put Exit Sub or Exit Function before the handler label so normal code doesn't run into it
  3. Log Error, Err and Erl in the handler so the real error is not lost

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.