[Ultimate PDF] Error when downloading PDF | Process with an Id of

Forge Component
(6)
Published on 8 May by leonardo.fernandes
6 votes
Published on 8 May by leonardo.fernandes

Hi Leonardo,


As I was trying to download an example PDF using your component, I often get an error (it works some times but it often generates the following stack error:


Error:  Process with an Id of 2688 is not running.
   at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
   at OutSystems.NssPuppeteer.ProcessUtils.KillProcessTree(Process root)
   at OutSystems.NssPuppeteer.PuppeteerUtils.Dispose()
   at OutSystems.NssPuppeteer.CssPuppeteer.MssPrintPDF(String ssURL, RCViewportRecord ssViewport, RCPaperRecord ssPaper, Int32 ssBrowserRevision, Byte[]& ssPDF)
   at ssReportSystem.RssExtensionPuppeteer.MssPrintPDF(HeContext heContext, String inParamURL, IRecord inParamViewport, IRecord inParamPaper, Int32 inParamBrowserRevision, Byte[]& outParamPDF)


I have a button using a screen action with Submit Method like this:

The page of the report is as follows:



Can you help?


Thanks in advance.


Best regards,

João

Solution

Hi João. That was a bug in the previous release. I've fixed it, please update and you should have no more problems.

Thanks for reporting.

Solution

Hi Leonardo,


It is working now.

Thanks.


Best regards,

João Marques