The given key '1' was not present in the dictionary.
While setting breakpoints in the code, I see that the memory cache does have the key that is provided in the jsonObject's hashId property with a value that is a syncfusion cache entry. So, there does not seem to be anything missing from the cache.
Do you have any more info about what the error could be describing?
AAAkshaya Arivoli Syncfusion Team November 12, 2019 08:21 AM
Thank you for contacting Syncfusion support.
We can reproduce the reported issue with the provided details, we will analyze further on this and update you with more details on November 15th, 2019.
AAAkshaya Arivoli Syncfusion Team November 15, 2019 07:50 AM
We have analyzed further on the reported behavior and found that loaded PDF document stream is removed from the PdfRenderer stream manager object if we initialize it in the ‘using’ keyword. In our architecture, we are rendering the pages in the PDF Viewer by on demand rendering method, if we initialize the PdfRenderer object in 'using' keyword and it will clear the loaded PDF document stream from the PdfRenderer stream manager object. So, on further processing for rendering or retrieving the annotation details from the loaded document and it's thrown the not found exception. We are maintaining the currently loaded document stream in our stream manager and it should in live to work further with that document. The stored document will be removed on unloading/closing that document. We can unload the PDF document manually by calling the unload() API available in PDF Viewer. Please find the below UG link for reference,