SalReportPrintToFile crash

Report TD 5.x and 6.x bugs and possible workarounds.
e.russo
Italy
Posts: 45
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: 1121
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

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: 45
Joined: 16 Feb 2018, 14:02
Location: Turin, Italy

SalReportPrintToFile crash

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

Thank you

Enrico

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

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: 1121
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

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

santoc
Italy
Posts: 1
Joined: 10 Aug 2018, 11:07
Location: Italy

SalReportPrintToFile crash

Post by santoc » 11 Sep 2018, 08:27

Hi, sorry to reply here but I think a user inside my company has a similar issue, the only difference is the line number inside the popup error message, it's 210 in my case but, popup is the same.

User has a Win 10 64 bit machine, while I have a Win 7 64 bit and I don't have any issue at all. So, apparently this is something related to Windows 10 anyway, are you facing this issue on Windows 10 o also on 7?

Thank you very much.

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

SalReportPrintToFile crash

Post by e.russo » 14 Sep 2018, 08:36

Hello,

in win81, win10 the program crashes with TD6.3 SP1 and 9 (I don't have win7 machine in TD63 to test...).
You can try with the attached test program.

Enrico

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 0 guests