Page 1 of 1

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

Posted: Sat Oct 15, 2016 12:28 am
by tiaofw
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

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


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

Posted: Sat Oct 15, 2016 6:07 pm
by Enrico Maria Giordano
Any samples to test here?

EMG

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

Posted: Sun Oct 16, 2016 12:17 pm
by tiaofw
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


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


 
Thank you.

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

Posted: Sun Oct 16, 2016 1:30 pm
by Enrico Maria Giordano
Sorry, no timers in errsysw.prg... :?:

EMG

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

Posted: Sun Oct 16, 2016 8:29 pm
by Antonio Linares
Try changing this line in classes\msgbar.prg

Code: Select all

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
 

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

Posted: Mon Oct 17, 2016 12:23 pm
by tiaofw
Thank you Linhares.

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

Posted: Thu Oct 20, 2016 5:14 pm
by karinha
Maestro Antonio, mirando a mi nueva versión de FWHX16.08, esto no se ha solucionado en esta versión.

Gracias, saludos.

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

Posted: Thu Oct 20, 2016 5:33 pm
by Antonio Linares
João,

Lets wait for Tiao feedback :-)

Esperemos a ver que dice Tiao

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

Posted: Thu Oct 20, 2016 5:44 pm
by karinha
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.

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

Posted: Fri Oct 21, 2016 12:40 pm
by tiaofw
Solved!

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

Posted: Fri Oct 21, 2016 7:41 pm
by Antonio Linares
Fix included for next FWH 16.09

many thanks! :-)