Inconsistent 'Nonexistent frame' error in Lotus script. What's causing it?

Greetings.

We have a long running database with some simple buttons running lotusscript that launch a new frameset containing a folder or view. Some have a default view, some have the folder set after the frameset is open.

The problem is, lately after upgrading the server to 8.5.2 (could be a client issue as well, but this happens on various versions 8.5.x) the agent often crashes claiming ‘Nonexistent frame or frameset specified’.

For example, simply called with:

Call workspace.openframeset(“DefaultFrameTemplate”)

Call workspace.SetTargetFrame(“Content”)

Call uidb.OpenView(“Display Calendar”)

Any ideas?

Subject: more information…

Where this doesn’t work:Dim workspace As New NotesUIWorkspace

Call workspace.openframeset(“DefaultFrameTemplate”)

A simple @Command works every time:

@Command( [OpenFrameset] ; “DefaultFrameTemplate” )

But I don’t want to convert everything back to formula, as some of the scripts would be practically impossible.

Subject: We’ve seen same error since upgrading to 8.5.2 FP1, FP2 and FP3; and 8.5.3

We’ve seen same error since upgrading to 8.5.2 FP1, FP2 and FP3; and now 8.5.3.

To get around it we had to open the desired frameset in a new window:

Call wk.SetTargetFrame(“”)

Call wk.openframeset(framesetName)

We couldn’t come up with a solution to open the frameset in the current window.