I.Benini
7th March 2005, 15:16
Hi all,
I have a problem in printing report via AFS. Session A launchs via AFS session B: session A prints a report and session B prints a report, too. The second report is printed correctly, but when the execution goes back to session A at the statement stpapi.end.session("B") then a fatal error occurs:
"Use of null pointer on ' '. Can not continue in B in DLL: ottstpapihand".
If I skip the report in session B everything is ok. I can't find out the solution: when the action goes back to session A all spool variables seems to be correct (spool.device is filled with the right value, spool.report is filled with the right report name), or at least they are all filled.
I looked for a solution here in Baanboard, but I didn't find any. Just a doubt: solution 217484 "Use of null pointer error during end session" (dated 2003-12-12 )in ttstpapihand could solve my problem? I can't acces to Kowledge Base of BaaN support (it seems out of order now), so if someone could explain the above mentioned solution it would be great.
Thanks in advance.
I have a problem in printing report via AFS. Session A launchs via AFS session B: session A prints a report and session B prints a report, too. The second report is printed correctly, but when the execution goes back to session A at the statement stpapi.end.session("B") then a fatal error occurs:
"Use of null pointer on ' '. Can not continue in B in DLL: ottstpapihand".
If I skip the report in session B everything is ok. I can't find out the solution: when the action goes back to session A all spool variables seems to be correct (spool.device is filled with the right value, spool.report is filled with the right report name), or at least they are all filled.
I looked for a solution here in Baanboard, but I didn't find any. Just a doubt: solution 217484 "Use of null pointer error during end session" (dated 2003-12-12 )in ttstpapihand could solve my problem? I can't acces to Kowledge Base of BaaN support (it seems out of order now), so if someone could explain the above mentioned solution it would be great.
Thanks in advance.