Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1086513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:49:23+00:00 2026-05-16T22:49:23+00:00

Straight to the question and then the background. What would cause a Notes 7.0.3

  • 0

Straight to the question and then the background.

What would cause a Notes 7.0.3 client to throw a JavaScript error “Error in compile JavaScript”?

Followup Question: what’s a good tool for tracking JS errors in the Notes Client?

My suspcions:
– flaky JS written by developer(s)
– unusual input by user
– memory management issues (Win XP, SP3)
– corrupt Notes installation.

I’ve done my best to account for the first two and can’t reproduce the error myself… full details below.

Google turns up nill for “Error in compile JavaScript” and I’ve gone through my usual channels for odd Notes errors to no avail.

Recap: A Notes 7.0.3 client throws the JavaScript error: Error in compile JavaScript when a form that has been compiled by Domino Designer 8.x has been opened and running on (you guessed it) some machines, not all. Two users complained that the error would be thrown after 10 -15 and 45-50 minutes of having the form in Edit mode whilst doing nothing else. “Just edit and let in go”, they say. I got my hands on the same version of hardware and software they are running (waiting for one to stop by to show me what they actually launch during the day) and tried to reproduce the problem without success, even leaving the form in edit mode all day.

The JavaScript in question is pretty simple. Event onFocus() calls to a function that uses setInterval to track input field lengths to provide validation, but these fields do not need to be entered for the error to emerge. OnLoad has a call to a function that does a replace substring using a JS function that was custom built and is widely deployed without incident. All of this seems to be working fine for myself and our QA group which tested this thoroughly before deployment.

So my thought is that there may be some memory issues affecting their Notes Client, or something has caused their Notes Client installation to become flaky, maybe requiring an reinstall. Any ideas as to how this might be caused or how to prevent it would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:49:23+00:00Added an answer on May 16, 2026 at 10:49 pm

    The answer seems to be “don’t do this” when you have long edit times on a given field (the period matters here 100 ms gives us 5 min or so, 600 ms up to 18 or 20).

    Use of setInterval over the short term with a reasonable period, say 500 ms, at least here in the Notes 7.0.3 client, is OK, especially where inputs are short and users are navigating over fields at a normal pace.

    But, once you reach a condition where the document has been opened for a long period of time and the interval has not been cleared with clearInterval (such as from onBlur()), memory begins to leak in a predictable fashion.

    The only operations taking place within our interval target function had to do with getting and setting values on the document object. If I comment everything out, there’s no problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I do apologize if the answer to my question would be very obvious. I
Undoubtedly this question has been asked before, except I completely lack the knowledge to
I am asking this question after I looked up tons of blogs and webpages
I have a design question about the communication between the model and the presenter
So I understand you need NSNumber to save integers in Core Data. My question
Greetings! Lets cut the excessive intro this time and get straight to the point.
UPDATE 3: This happens when I have saved the vb6 script, close word, start
I need help figuring out the best, cross-browser compatible way to SAVE user input
I log quite a bit of stuff, and have noticed that Eclipse Console makes
So I am delving into MVVM using C# with WPF (using Expression Blend) and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.