We originally saw it on v5.0.7, when access the document properties in the lotus script debugger.
We tried deleting the cache.dsk in case it was a temporary caching problem.
We tried it on Notes v4.6 and it still failed.
We tried it on V5.0.11 and it worked ok.
Narrowing it down to a field that had no name i.e. "". It was of null type and null value.
After finding it worked on 5.0.11, we lost interest, but I reckon removing the field with script like:
' From http://www.NotesNinjas.com/#ReadMemoryError
Dim s As New notessession
Dim db As notesdatabase
Set db = s.currentdatabase
Dim doc As notesdocument
Dim col As notesdocumentcollection
Set col = db.unprocesseddocuments
Set doc = col.getfirstdocument()
Forall i In doc.items
If i.name = "" Then
i.remove
End If
End Forall
Call doc.save(False,False)
would have sorted it.
Stick this in a view action and select the document and press the button.
Make a backup first!