SalReportPrintToFile crash

Post found bugs and possible workarounds.
e.russo
Italy
Posts: 18
Joined: 16 Feb 2018, 14:02
Location: Turin, Italy

SalReportPrintToFile crash

Post by e.russo » 21 Feb 2018, 09:37

Hi,

I need to print over 8000 reports with SalReportPrintFile format PDF.
In CTD63 SP1 the program crashes after some reports (Dialog box EndDocument: Failed to create PDF document Exception: LineNumber: 92)
In WIN10 CTD61 SP2 works.

Any ideas?

I attach a simple program.

Enrico
You do not have the required permissions to view the files attached to this post.

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 468
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: SalReportPrintToFile crash

Post by Dave Rabelink » 21 Feb 2018, 10:42

I do not see a reason from the code.

Reading the fixlists though, I find these fixes:

Code: Select all

TD-63-UPD2-45680 (UPDATE 2):
TD-20942	Cryptic PDF exception from TD SalReportPrintToFile() in specific scenario

TD-63SP2-UPD2-45680 (UPDATE 2):
TD-23305	SalReportPrintToFile() crashing when passing binary data of certain size to QRP
Did you try the latest TD63 version to see if the crash is there?
(latest = TD 639)
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

e.russo
Italy
Posts: 18
Joined: 16 Feb 2018, 14:02
Location: Turin, Italy

Re: SalReportPrintToFile crash

Post by e.russo » 21 Feb 2018, 10:59

Thank you

Enrico

e.russo
Italy
Posts: 18
Joined: 16 Feb 2018, 14:02
Location: Turin, Italy

Re: SalReportPrintToFile crash

Post by e.russo » 09 Mar 2018, 10:23

Hi,

in TD639 crashes also.

Enrico

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 468
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: SalReportPrintToFile crash

Post by Dave Rabelink » 09 Mar 2018, 13:41

I can reproduce it on TD 6.3 SP2 and TD 7.0.3.

I recommend to create a OpenText ticket for this issue.

Looking at the code, the QRP file and the produced tmp files there seems nothing wrong.
Also saving each PDF to unique filename does not solve it.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Bug Reports”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests