TreadedPageCache exception
Any idea what could be causing this Access Violation while previewing a report?
Using RB 19.04, Delphi 10.2. Running Win10 on a tablet
Error is "Access violation at address 02229157 in module 'CC.exe'. Write of address 00000088."
Stack Trace is
main thread ($4f3c):
00e11b11 +039 CC.exe ppThreadedPageCache TppThreadedPageCache.ehExceptionTimer
0067aa9f +00f CC.exe Vcl.ExtCtrls TTimer.Timer
0067a983 +02b CC.exe Vcl.ExtCtrls TTimer.WndProc
005540e0 +014 CC.exe System.Classes StdWndProc
76bd7a7b +00b user32.dll DispatchMessageW
006f85c7 +0f3 CC.exe Vcl.Forms TApplication.ProcessMessage
006f860a +00a CC.exe Vcl.Forms TApplication.HandleMessage
006f39c6 +1aa CC.exe Vcl.Forms TCustomForm.ShowModal
01028b37 +01f CC.exe ppForms TppForm.ShowModal
01020c49 +089 CC.exe ppProd TppProducer.PrintToScreen
01020883 +05f CC.exe ppProd TppProducer.Print
0108cd29 +02d CC.exe ppReport TppReport.Print
03e85c65 +209 CC.exe fBookingChangeForm 347 +43 TfrmBookingChangeForm.ProcessReport
Using RB 19.04, Delphi 10.2. Running Win10 on a tablet
Error is "Access violation at address 02229157 in module 'CC.exe'. Write of address 00000088."
Stack Trace is
main thread ($4f3c):
00e11b11 +039 CC.exe ppThreadedPageCache TppThreadedPageCache.ehExceptionTimer
0067aa9f +00f CC.exe Vcl.ExtCtrls TTimer.Timer
0067a983 +02b CC.exe Vcl.ExtCtrls TTimer.WndProc
005540e0 +014 CC.exe System.Classes StdWndProc
76bd7a7b +00b user32.dll DispatchMessageW
006f85c7 +0f3 CC.exe Vcl.Forms TApplication.ProcessMessage
006f860a +00a CC.exe Vcl.Forms TApplication.HandleMessage
006f39c6 +1aa CC.exe Vcl.Forms TCustomForm.ShowModal
01028b37 +01f CC.exe ppForms TppForm.ShowModal
01020c49 +089 CC.exe ppProd TppProducer.PrintToScreen
01020883 +05f CC.exe ppProd TppProducer.Print
0108cd29 +02d CC.exe ppReport TppReport.Print
03e85c65 +209 CC.exe fBookingChangeForm 347 +43 TfrmBookingChangeForm.ProcessReport
Comments
This may be a conflict with the threaded page cache and another aspect of your application. As a test, try setting the PreviewFormSettings.SinglePageOnly property to True and re-run your application.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks
SinglePageOnly = True has fixed it
Martin