Please give a brief summary of your issue:
annotManager.exportAnnotations() stops working sometimes with no error and the code that follows stops being hit.
Please describe your issue and provide steps to reproduce it:
The following code block gets annotations from whatever file is present and saves them off. On occasion annotManager.exportAnnotations() just stops working and all other code following is not executed. No error is thrown and there is no obvious difference in the files that would cause this. This behavior is pretty random and may or may not happen to the same file. I was able to reproduce this in all of our environments.
Please provide a link to a minimal sample where the issue is reproducible:
Best Regards,
Diego Felix
Web Software Developer
PDFTron Systems, Inc. www.pdftron.com
CONFIDENTIALITY NOTICE: This message (and any attachment to it) is intended only for the use of the individual or entity to which it is addressed in the header, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Any reproduction, distribution, modification or use of the contents of this message (and any attachment to it) by any individual or entity other than the intended recipient is prohibited. If you have received this communication in error, please notify us immediately and delete the original.
My setup is Chrome (latest version) and WebViewer 7.3 (latest 7.3 version).
Can you run the same code snippet on your end and see if there is an issue with it? If there is not, I would recommend updating your WebViewer version (It can be the case that this issue was already fixed) and checking how your code is hooked up with the rest of the application’s code (The problem might be somewhere else).
Let me know how this works for you and if you have any further questions.
Best Regards,
Diego Felix
Web Software Developer
PDFTron Systems, Inc. www.pdftron.com
CONFIDENTIALITY NOTICE: This message (and any attachment to it) is intended only for the use of the individual or entity to which it is addressed in the header, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Any reproduction, distribution, modification or use of the contents of this message (and any attachment to it) by any individual or entity other than the intended recipient is prohibited. If you have received this communication in error, please notify us immediately and delete the original.