FWH 16.05 - error occurred when the system is idle (SOLVED)

FWH 16.05 - error occurred when the system is idle (SOLVED)

Postby tiaofw » Sat Oct 15, 2016 12:28 am

Good evening.

Does anyone have any idea what motivated this error?

System is idle and when I move gave the error below:

Code: Select all  Expand view

Application
===========
   Path and name: C:\SALCVERSAO215FONTES\SALC.EXE (32 bits)
   Size: 6,079,488 bytes
   Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20160705)
   FiveWin  Version: FWHX 16.05
   Windows version: 6.1, Build 7601 Service Pack 1

   Time from start: 1 hours 14 mins 32 secs
   Error occurred at: 14/10/2016, 21:21:26
   Error description: Error BASE/1004  Class: 'NIL' has no exported method: TIMEREVAL
   Args:
     [   1] = U  

Stack Calls
===========
   Called from:  => TIMEREVAL( 0 )
   Called from: .\source\classes\MSGBAR.PRG => (b)TMSGBAR:CHECKTIMER( 481 )
   Called from: .\source\classes\TIMER.PRG => TIMEREVENT( 73 )
   Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW:TWINDOW( 648 )
   Called from:  => TMSGBAR:TIMER( 0 )
   Called from:  => TWINDOW:HANDLEEVENT( 0 )
   Called from: .\source\classes\CONTROL.PRG => TMSGBAR:HANDLEEVENT( 1731 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3280 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 293 )
   Called from: errsysw.prg => ERRORDIALOG( 426 )
   Called from: errsysw.prg => (b)ERRORSYS( 23 )
   Called from:  => TIMEREVAL( 0 )
   Called from: .\source\classes\MSGBAR.PRG => (b)TMSGBAR:CHECKTIMER( 481 )
   Called from: .\source\classes\TIMER.PRG => TIMEREVENT( 73 )
   Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW:TWINDOW( 648 )
   Called from:  => TMSGBAR:TIMER( 0 )
   Called from:  => TWINDOW:HANDLEEVENT( 0 )
   Called from: .\source\classes\CONTROL.PRG => TMSGBAR:HANDLEEVENT( 1731 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3280 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 293 )
   Called from: errsysw.prg => ERRORDIALOG( 426 )
   Called from: errsysw.prg => (b)ERRORSYS( 23 )
   Called from:  => TIMEREVAL( 0 )
   Called from: .\source\classes\MSGBAR.PRG => (b)TMSGBAR:CHECKTIMER( 481 )
   Called from: .\source\classes\TIMER.PRG => TIMEREVENT( 73 )
   Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW:TWINDOW( 648 )
   Called from:  => TMSGBAR:TIMER( 0 )
   Called from:  => TWINDOW:HANDLEEVENT( 0 )
   Called from: .\source\classes\CONTROL.PRG => TMSGBAR:HANDLEEVENT( 1731 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3280 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 293 )
   Called from: errsysw.prg => ERRORDIALOG( 426 )
   Called from: errsysw.prg => (b)ERRORSYS( 23 )
   Called from:  => TIMEREVAL( 0 )
   Called from: .\source\classes\MSGBAR.PRG => (b)TMSGBAR:CHECKTIMER( 481 )
   Called from: .\source\classes\TIMER.PRG => TIMEREVENT( 73 )
   Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW:TWINDOW( 648 )
   Called from:  => TMSGBAR:TIMER( 0 )
   Called from:  => TWINDOW:HANDLEEVENT( 0 )
   Called from: .\source\classes\CONTROL.PRG => TMSGBAR:HANDLEEVENT( 1731 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3280 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 293 )
   Called from: errsysw.prg => ERRORDIALOG( 426 )
   Called from: errsysw.prg => (b)ERRORSYS( 23 )
   Called from:  => TIMEREVAL( 0 )
   Called from: .\source\classes\MSGBAR.PRG => (b)TMSGBAR:CHECKTIMER( 481 )
   Called from: .\source\classes\TIMER.PRG => TIMEREVENT( 73 )
   Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW:TWINDOW( 648 )
   Called from:  => TMSGBAR:TIMER( 0 )
   Called from:  => TWINDOW:HANDLEEVENT( 0 )
   Called from: .\source\classes\CONTROL.PRG => TMSGBAR:HANDLEEVENT( 1731 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3280 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 293 )
   Called from: errsysw.prg => ERRORDIALOG( 426 )
   Called from: errsysw.prg => (b)ERRORSYS( 23 )
   Called from:  => TIMEREVAL( 0 )
   Called from: .\source\classes\MSGBAR.PRG => (b)TMSGBAR:CHECKTIMER( 481 )
   Called from: .\source\classes\TIMER.PRG => TIMEREVENT( 73 )
   Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW:TWINDOW( 648 )
   Called from:  => TMSGBAR:TIMER( 0 )
   Called from:  => TWINDOW:HANDLEEVENT( 0 )
   Called from: .\source\classes\CONTROL.PRG => TMSGBAR:HANDLEEVENT( 1731 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3280 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 293 )
   Called from: errsysw.prg => ERRORDIALOG( 426 )
   Called from: errsysw.prg => (b)ERRORSYS( 23 )

System
======
   CPU type: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz 2394 Mhz
   Hardware memory: 6052 megs

   Free System resources: 90 %
        GDI    resources: 90 %
        User   resources: 90 %

   Windows total applications running: 6
      1 ,                                                                                                    
      2 , C:\SALCVERSAO215FONTES\SALC.EXE                                                                    
      3 , C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855
      4 DDE Server Window, C:\Windows\syswow64\OLE32.DLL                                                                      
      5 GDI+ Window, C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23545_none_5c06d189a00e2c
      6 SALC.EXE, C:\Windows\syswow64\USER32.dll                                                                      

Variables in use
================
   Procedure     Type   Value
   ==========================
   TIMEREVAL
     Local   1:    A    Len:    0
     Local   2:    U    
     Local   3:    U    
   (b)TMSGBAR:CHECKTIMER
     Local   1:    U    
   TIMEREVENT
     Param   1:    N    7
     Local   1:    N    1
   (b)TWINDOW:TWINDOW
     Param   1:    O    Class: TMSGBAR
     Param   2:    N    7
     Param   3:    N    0
   TMSGBAR:TIMER
     Param   1:    N    7
     Param   2:    N    0
   TWINDOW:HANDLEEVENT
     Param   1:    N    275
     Param   2:    N    7
     Param   3:    N    0
   TMSGBAR:HANDLEEVENT
     Param   1:    N    275
     Param   2:    N    7
     Param   3:    N    0
     Local   1:    O    Class: TMSGBAR
     Local   2:    U    
   _FWH
     Param   1:    N    0
     Param   2:    N    275
     Param   3:    N    7
     Param   4:    N    0
     Param   5:    N    3
     Local   1:    O    Class: TMSGBAR
   DIALOGBOXINDIRECT
     Param   1:    N    4194304
     Param   2:    C    "€ Ȁ     ÿŸÿâ °     F i v e W i n   f o r   H a r b o u r   J  P    4  u  ê S T A T I C         E r r o r   d e s c r i p t i o n :   E r r o r   B A S E / 1 0 0 4     C l a s s :   ' N I L '   h a s   n o   e x p o r t e d   m e t h o d :   T I M E R E V A L
 
          P      H  ë S T A T I C   & S t a c k   L i s t        ¡P     ! Ü { ì L I S T B O X          P    a ž  í B U T T O N   & Q u i t       "

     Param   3:    N    1247424
     Param   4:    O    Class: TDIALOG
   TDIALOG:ACTIVATE
     Param   1:    U    
     Param   2:    U    
     Param   3:    B    {|| ... }
     Param   4:    L    .T.
     Param   5:    U    
     Param   6:    L    .T.
     Param   7:    U    
     Param   8:    U    
     Param   9:    U    
     Param  10:    U    
     Param  11:    U    
     Local   1:    O    Class: TDIALOG
     Local   2:    N    1247424
     Local   3:    U    
     Local   4:    U    
     Local   5:    U    
     Local   6:    O    Class: TDIALOG
   ERRORDIALOG
     Param   1:    O    Class: ERROR
     Local   1:    O    Class: TDIALOG
     Local   2:    O    Class: TLISTBOX
     Local   3:    U    
     Local   4:    U    
     Local   5:    C    "   Called from:  => TIMEREVAL( 0 )"
     Local   6:    N    1
     Local   7:    C    "   Error description: Error BASE/1004  Class: 'NIL' has no exported method: TIMEREVAL
"

     Local   8:    A    Len:   72
     Local   9:    O    Class: TSAY
     Local  10:    N    -335207450
     Local  11:    N    1
     Local  12:    C    "Application

Last edited by tiaofw on Mon Oct 17, 2016 1:06 pm, edited 1 time in total.
Contagem/Brazil
FWH/xharbour 15.12/PELLES C, MED, DBF
tiaofw
 
Posts: 99
Joined: Fri Dec 12, 2008 4:39 pm
Location: Brasil


Re: FWH 16.05 - error occurred when the system is idle

Postby tiaofw » Sun Oct 16, 2016 12:17 pm

Good morning Enrico.

I do not know not how or why the error occurred, as said the system was on standby, and when wiggled the mouse the error occurred.

Looking at the error log apparently what prompted the error was a problem in errsysw.prg on the line below:

Code: Select all  Expand view


   ACTIVATE DIALOG oDlg CENTERED ;
      ON PAINT DrawBitmap( hDC, hLogo, 6, 6 )


 


Thank you.
Contagem/Brazil
FWH/xharbour 15.12/PELLES C, MED, DBF
tiaofw
 
Posts: 99
Joined: Fri Dec 12, 2008 4:39 pm
Location: Brasil


Re: FWH 16.05 - error occurred when the system is idle

Postby Antonio Linares » Sun Oct 16, 2016 8:29 pm

Try changing this line in classes\msgbar.prg

Code: Select all  Expand view
METHOD CheckTimer() CLASS TMsgBar

   if ::oTimer == nil
      DEFINE TIMER ::oTimer OF Self INTERVAL TIMER_INTERVAL;
         ACTION If( Self != nil, Self:TimerEval(),)

      ACTIVATE TIMER ::oTimer
   endif

return nil
 
regards, saludos

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

Re: FWH 16.05 - error occurred when the system is idle

Postby tiaofw » Mon Oct 17, 2016 12:23 pm

Thank you Linhares.
Contagem/Brazil
FWH/xharbour 15.12/PELLES C, MED, DBF
tiaofw
 
Posts: 99
Joined: Fri Dec 12, 2008 4:39 pm
Location: Brasil

Re: FWH 16.05 - error occurred when the system is idle (SOLVED)

Postby karinha » Thu Oct 20, 2016 5:14 pm

Maestro Antonio, mirando a mi nueva versión de FWHX16.08, esto no se ha solucionado en esta versión.

Gracias, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7814
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: FWH 16.05 - error occurred when the system is idle (SOLVED)

Postby Antonio Linares » Thu Oct 20, 2016 5:33 pm

João,

Lets wait for Tiao feedback :-)

Esperemos a ver que dice Tiao
regards, saludos

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

Re: FWH 16.05 - error occurred when the system is idle (SOLVED)

Postby karinha » Thu Oct 20, 2016 5:44 pm

Maestro habló con él en facebook, y dijo que resolvió el problema.

Mestre, conversei com ele no facebook, e ele disse que resolveu o problema.

Saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7814
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: FWH 16.05 - error occurred when the system is idle (SOLVED)

Postby tiaofw » Fri Oct 21, 2016 12:40 pm

Solved!
Contagem/Brazil
FWH/xharbour 15.12/PELLES C, MED, DBF
tiaofw
 
Posts: 99
Joined: Fri Dec 12, 2008 4:39 pm
Location: Brasil

Re: FWH 16.05 - error occurred when the system is idle (SOLVED)

Postby Antonio Linares » Fri Oct 21, 2016 7:41 pm

Fix included for next FWH 16.09

many thanks! :-)
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 44 guests