Has anyone experienced problems with LNItem.GetValueSize() in the C++ API hanging for some documents? (The call is being made to try and determine the size of a rich text item.)
The document in question doesn’t appear overly long or malformed, but the call blocks indefinitely for this particular document.
(C++ API version 3.0 on windows, Notes Client 6.5.4)
using nsd (which can also be done at runtime) could be usefull to check sequence of calls that are involved in this deadlock. that might give you a chance to see if it’s a bug in c++ api (so you maybe could use an earlier api version) or it’s in c-api stuff (nnotes.dll).
next thing to try: put this document in a new db to sort out any problems with this specific database. if you’re lucky it could be corrupt in some way.
i can’t think of any workaround apart from using c-api to get rt-size (starting with LNNote::GetNoteHandle)…