Ich denke es ist was der Art (wenn es auch nicht das exakt gleiche Problem ist). Da kann man wohl nichts machen.
Title:
The LotusScript CopyItem Method Causes a Crash when Executed on Certain Rich Text Fields
Product: Lotus Notes > Lotus Notes > 6.x, 5.x
Platform(s): Platform Independent
Document Number: 1099476 Date: 30.07.2003
This document is based on the following :
About SPRs
SPR Number SPR Status SPR Fixed Release
MGAN5FCLGN
SIWA5B3AT7 Open/Reproduced
Not a Bug Not Applicable
Not Applicable
Problem
A web application that uses the LotusScript CopyItem method (of the NotesDocument class) causes HTTP to crash when executed on Rich Text fields of particular documents. The server console may display the following error:
"PANIC: LookupHandle: null handle"
Attempting to execute the CopyItem from a Notes Client on the same Rich Text field typically results in an error, but may at times result in a red box crash:
Client user interface error:
In R5:
Notes Error: Maximum number of memory segments that Notes can support has been exceeded (Body)
Notes Domino 6, and sometimes R5:
Notes Error: Insufficient memory (Body)
Client crash error:
Sorry an uncorrectable error has occurred.
LookupHandle: null handle
Press ENTER to abort the application
followed by:
<dbname> - <view name> - Lotus Notes: NLNOTES.EXE - Application Error
The issue may be tied to documents where the Rich Text field is in MIME format and/or documents which contain multiple entries for the Rich Text field.
The crash issue has been reported to Lotus Software Quality Engineering in Software Problem Report (SPR) MGAN5FCLGN. As a workaround, use the LotusScript AppendRTItem method (of the NotesRichTextItem class) rather than the CopyItem method.
For example, rather than using this construction:
Dim item1 As Variant
Set item1 = doc.GetFirstItem( "Body" )
Dim item2 As NotesItem
Set item2 = item1
Call doc2.CopyItem(item2,"")
Call doc2.save(True, False)
use the following:
Dim item1 As Variant
Set item1 = doc.GetFirstItem( "Body" )
Dim item2 As New notesrichtextitem(doc2, "Body")
Call doc2.save(True, False)
Call item2.appendrtitem(item1)
Call doc2.save(True, False)
Note: There is a more general issue where the CopyItem method is known to cause a crash when being applied to newly created Rich Text fields. For more information on this issue see the following document (# 176299 ) "Using the CopyItem Method on an Unsaved NotesRichTextItem in LotusScript Causes Crash".