PdfProcessing: NullReferenceException is thrown when cloning or merging documents containing a Link with Action collection
When cloning or merging a document containing a Link with Actions collection an exception is thrown: NullReferenceException: 'Object reference not set to an instance of an object.'
3 comments
ADMIN
Yoan
Posted on:04 Dec 2024 12:09
Hello,
Each Link can have Actions that define its behavior. These actions are stored in an ActionCollection. For example, the PDF file can contain a link with an action that redirects to a section of the document (GoToAction) or an action that redirects to a URI (UriAction). If links with such or any other type of action (JavaScriptAction) exist in the document, the issue will be triggered and an exception will be thrown.
That said, please accept my apologies for the caused inconvenience however there is no workaround I can offer you for this scenario.
On the other side, I would like to inform you that this task currently has our attention and is under development. We will try our best to include it in our next official release however I am not in a position to make any promises. This is why the best I can offer you for now is to subscribe to the task so you can track its progress by receiving notifications about any status updates.
Thank you in advance for your patience and understanding.