Preview ToolBar Error (no bug)

Preview ToolBar Error (no bug)

Postby Sakis » Sun Nov 27, 2005 11:19 am

Hi Antonio /All

When by accident press the button LastPage on the Reprot Preview toolbal an error occurs and the program quits. The same happens and with the NextPage Button. This happens if we have only one page to preview / print.

Error Log for the Last Page Error occurance folows:
    Application
    ===========
    Path and name: C:\Easy Container\easyc.exe (32 bits)
    Size: 1,823,744 bytes
    Time from start: 0 hours 0 mins 16 secs
    Error occurred at: 27/11/2005, 13:06:29
    Error description: Error BASE/1132 Bound error: array access
    Args:
    [ 1] = A { ... }
    [ 2] = N 0

    Stack Calls
    ===========
    Called from: => BOTTOMPAGE(698)
    Called from: rpreview.prg => (b)RPREVIEW(178)
    Called from: toolbar.prg => TTOOLBAR:COMMAND(162)
    Called from: window.prg => TWINDOW:COMMAND(935)
    Called from: window.prg => TWINDOW:HANDLEEVENT(0)
    Called from: window.prg => _FWH(3128)
    Called from: => DIALOGBOX(0)
    Called from: dialog.prg => TDIALOG:ACTIVATE(264)
    Called from: JOBS.PRG => POLICY(2847)
    Called from: JOBS.PRG => (b)JOBS(1073)
    Called from: btnbmp.prg => TBTNBMP:CLICK(319)
    Called from: btnbmp.prg => TBTNBMP:LBUTTONUP(487)
    Called from: window.prg => TWINDOW:HANDLEEVENT(0)
    Called from: control.prg => TBTNBMP:HANDLEEVENT(1322)
    Called from: window.prg => _FWH(3128)
    Called from: => DIALOGBOX(0)
    Called from: dialog.prg => TDIALOG:ACTIVATE(264)
    Called from: JOBS.PRG => JOBS(1116)
    Called from: EasyC.prg => (b)BUILDMENU(266)
    Called from: menu.prg => TMENU:COMMAND(407)
    Called from: window.prg => TWINDOW:COMMAND(932)
    Called from: window.prg => TWINDOW:HANDLEEVENT(0)
    Called from: window.prg => _FWH(3128)
    Called from: => WINRUN(0)
    Called from: window.prg => TWINDOW:ACTIVATE(881)
    Called from: EasyC.prg => MAIN(151)

Error Log for the Next Page Error occurance folows:
    Application
    ===========
    Path and name: C:\Easy Container\easyc.exe (32 bits)
    Size: 1,823,744 bytes
    Time from start: 0 hours 0 mins 15 secs
    Error occurred at: 27/11/2005, 13:04:52
    Error description: Error BASE/1132 Bound error: array access
    Args:
    [ 1] = A { ... }
    [ 2] = N 2

    Stack Calls
    ===========
    Called from: => NEXTPAGE(591)
    Called from: rpreview.prg => (b)RPREVIEW(173)
    Called from: toolbar.prg => TTOOLBAR:COMMAND(162)
    Called from: window.prg => TWINDOW:COMMAND(935)
    Called from: window.prg => TWINDOW:HANDLEEVENT(0)
    Called from: window.prg => _FWH(3128)
    Called from: => DIALOGBOX(0)
    Called from: dialog.prg => TDIALOG:ACTIVATE(264)
    Called from: JOBS.PRG => POLICY(2847)
    Called from: JOBS.PRG => (b)JOBS(1073)
    Called from: btnbmp.prg => TBTNBMP:CLICK(319)
    Called from: btnbmp.prg => TBTNBMP:LBUTTONUP(487)
    Called from: window.prg => TWINDOW:HANDLEEVENT(0)
    Called from: control.prg => TBTNBMP:HANDLEEVENT(1322)
    Called from: window.prg => _FWH(3128)
    Called from: => DIALOGBOX(0)
    Called from: dialog.prg => TDIALOG:ACTIVATE(264)
    Called from: JOBS.PRG => JOBS(1116)
    Called from: EasyC.prg => (b)BUILDMENU(266)
    Called from: menu.prg => TMENU:COMMAND(407)
    Called from: window.prg => TWINDOW:COMMAND(932)
    Called from: window.prg => TWINDOW:HANDLEEVENT(0)
    Called from: window.prg => _FWH(3128)
    Called from: => WINRUN(0)
    Called from: window.prg => TWINDOW:ACTIVATE(881)
    Called from: EasyC.prg => MAIN(151)


Thanks in Advance
Dionisis
User avatar
Sakis
 
Posts: 42
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Postby Antonio Linares » Sun Nov 27, 2005 11:58 am

Dionisis,

Could you provide a small and self contained sample to reproduce it ?

We have modified samples\TestPrn2.prg to just generate one page and it works ok.
Last edited by Antonio Linares on Sun Nov 27, 2005 2:39 pm, edited 1 time in total.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Preview ToolBar Error

Postby Sakis » Sun Nov 27, 2005 2:38 pm

Antonio

Iam very sorry . It is my mistake just release the printer object before finish the page.
Enerything is ok now.

Sorry for the trouble. :oops:

Trully Your's
Dionisis
User avatar
Sakis
 
Posts: 42
Joined: Fri Oct 21, 2005 2:12 pm
Location: Athens

Postby Antonio Linares » Sun Nov 27, 2005 2:40 pm

Dionisis,

No problem :)

You are welcome,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to Bugs report & fixes / Informe de errores y arreglos

Who is online

Users browsing this forum: No registered users and 15 guests