Same method twice

A DLL contains C# functions available for PEGA automation.

This DLL has been modified because SAPCheck functions was modified.

pdfTextCheck contains this function.

SAPCheck function is now present twice in methods list and when running the message “Object reference not set to an instance of an object” is returned.

All other functions in pdfTextCheck run correctly.

@JeanChristopheD17042937 I suspect there might be something odd with that DLL. Is it possible to attach it here?

@ThomasSasnett

PdfTextExtractLib.zip (27.4 KB)

@JeanChristopheD17042937 I think the DLL is fine. You might try deleting it from your project and deleting the references. Restart Studio and then re-add it. To be sure, you could try creating a new project from scratch and implementing that method into a sample automation there to confirm it has to do with your project.

@ThomasSasnett

Resolved by changing function’s name and replace DLL