PDFTron throws error when creating new bookmark

Product: PDFTron

Product Version: 8.5.0

Please give a brief summary of your issue:
(Think of this as an email subject)

When trying to add a bookmark into outlines panel, get a PDFTron error

Please describe your issue and provide steps to reproduce it:
Error message being received:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘getFirstBookmark’)
at OutlineUtils.js:354:30

Please provide a link to a minimal sample where the issue is reproducible:

Click the add item button at the bottom of the outline panel, enter title, hit enter to save the bookmark and that is when the error message shows up.

Hi Ryan,

I wasn’t able to reproduce the issue. Are you able to reproduce this issue on our demo site?

Is this issue specific to a document? If so please send that document.

Which WebViewer version are you using?

Best Regards,
Ahmad Moaaz
Software Developer
PDFTron Systems, Inc.