Problem solve Get help with specific problems with your technologies, process and projects.

Errors when debugging in R6.5

I developed the code below using version 5, and we just upgraded to version 6.5. Now when I debug the code, it fails when I click in the window to see my variable. The error I get comes up in a red box saying, "Sorry, an uncorrectable error has occurred. Lookup Handle: null handle; press Enter to abort the application."

I do not get this error at all while debugging in version 5. When I'm debugging in version 6.5 and go to view my variable "V" is when it bombs.

Is there a particular reason why this is happening in 6.5 but not in 5?

Sub Querysave(Source As Notesuidocument, Continue As Variant)
 Dim s As New NotesSession
 Dim db As NotesDatabase
 Dim doc As NotesDocument
 Dim configdoc As NotesDocument
 Dim v As NotesView
 Dim column As Variant
 Dim cell As Variant
 Dim Red As Variant
 Dim Green As Variant
 'Set items
 Set db=s.CurrentDatabase
 Set v=db.GetView("ConFig")
 Set configdoc=v.GetFirstDocument
 Do Until configdoc Is Nothing
  Set cell=configdoc.GetFirstItem("scorecardFldName")
  Set configdoc = v.GetNextDocument(configdoc)
I haven't run into this type of problem myself, but I did see a limited number of references to similar issues on some of the forums. The problem seems to occur if you are accessing a R5 server using a R6 or above client. Verify that the server you are accessing is also R6.5.

The other issue may be that you have multiple versions of Notes running on the same client PC and the R6.5 version is accessing some R5 programs because of the way the versions were installed.

Another option might be to make a small change to the code with the R6.5 client and then save it so it is recompiled in version 6.5.

Do you have comments on this Ask the Expert question and response? Let us know.

Dig Deeper on Lotus Notes Domino Application Development

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...