NSD's when opening documents

Our database has documents which retrieve data from another system using a java agent (which sends and reads XML).

The javaagent is called from a lotusscript agent. It updates a document (maindoc), updates another document (userdoc) with any messages found then passes that maindoc back to the lotusscript agent.

The lotusscript checks the userdoc for messages. If there are any it displays them in a message box and opens the maindoc in Read Only mode. If not it opens the maindoc normally.

All this code is called from the ViewQueryOpen of the views.

Our problem is if there are messages… sometimes notes will NSD when opening the maindoc. Sometimes it wont. It is not specific document as you can use the same document and sometimes it will error and sometimes it wont.

Our system is due to go live in 2 weeks and this is a major problem. Any ideas or suggestions would be great.

Subject: NSD’s when opening documents

I think you will have problems in your java agent. Do you recycle() the domino objects you have created in your Agent? Maybe you can strip down code of the java agent and post it here so i can have a look on the code.

Greetings

Ralf M Petter