109
Views
2
Comments
Solved
[Ultimate PDF] Error when downloading PDF | Process with an Id of 
Question
Forge component by Leonardo Fernandes
15
Published on 08 Jan 2021

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

mvp_badge
MVP
Rank: #5
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.

Rank: #54

Hi Leonardo,


It is working now.

Thanks.


Best regards,

João Marques