Monday, May 4, 2009

Notes Exception

Last day I got into a Exception "Notes Exception : The document is already exist in the collection".
This was a unfamiliar exception for me, and I am happy that google didn't give me answer for that.

LotusNotes usually give a loot of exception, but this was different from that. The problem was with NotesViewEntryCollection and NotesDocumentCollection. One of the Program was trying to convert NotesViewEntryCollection to NotesDocumentCollection directly by getting the viewentry and using the method .add() to NotesDocumentCollection. I dont know why that result the above error, may the problem of the implementation as well.

I believe that Direct casting(Convertion) of Domino objects are not so efficient as Java


Thiyagarajan said...

I'm really fed up with notes 8.0.2. Its not as rigid as the previous version. Now and then I get JVM error and have to rename workspace folder to keep the notes running. Its tooo annoying.
Also, DXL importer made me carzy for few days. may be i should move out from Lotus script and concentrate on Java..

Thiyagarajan said...

havent tried 8.5 yet :)