Product: @pdftron/pdfnet-node, Node.JS
Product Version: ^9.3.0
Please give a brief summary of your issue:
(Think of this as an email subject)
I’m trying to process some string using replacer on a page. (Function: PDFNet.ContentReplacer.process)
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
typeof a&&a.name?e(b,a.name,c):e(b,typeof a,c)};for(c=0;c<maxNum;c++){var m=g[c],k=m[0],l=m[1];if(k instanceof Promise)throw new TypeError(v(c)+" input argument in function '"+d+"' is a Promise object. Promises require a 'yield' sta
tement before being accessed.");if("OptionBase"===l){if(k)if("object"===typeof k){if("function"!==typeof k.getJsonString)throw new TypeError(v(c)+" input argument in function '"+d+"' is an 'oject' which is expected to have the 'getJ
sonString' function");}else e(c,k.name,
^
TypeError: Cannot read properties of null (reading 'name')
I have an issue with library that’s not up to me.
Please provide a link to a minimal sample where the issue is reproducible:
I’m getting this issue after calling replacer.process() function.