FoxInCloud
Error explanation request
Gravatar is a globally recognized avatar based on your email address. Error explanation request
  Michele
  All
  Sep 13, 2022 @ 08:59am

I have a customer that, while using our app, has these kind of error in different situations.... Our app is not updated since 2 months and the problem is recent....

  • awajax.lSuccess(.f.): Error detected at code line #15,362 of method 'awajax.propchangedhtml_grid' "Method or procedure gethtml_grd_aw_cscript_events_cols(): error #1924 ("COLUMNS is not an object") at code line #12,972" FoxInCloud Application Server will attempt to re-instantiate form 'main_scx' and retry the user request. Call stack: 01 .processhit (561) > 02 .process (951) > 03 .routerequest (970) > 04 mobprocess.process (2808) > 05 wwprocess.process (255) > 06 mobprocess.domevent (4765) > 07 mobprocess.ajaxformrequest (4784) > 08 awajax.formrequest (9561) > 09 awajax.useraction (14345) > 10 awapphost.useraction (3276) > 11 awapphost.useraction_ (3467) > 12 main_scx._pageframe1.page1._commandbutton5.clickinet (29) > 13 main_scx._pageframe1.page1._commandbutton5.click (6) > 14 main_scx._pageframe1.page1._commandbutton5.buttonclick (2) > 15 main_scx.wform (55) > 16 main_scx.wformshow (48) > 17 awajax.dialogadd (16583) > 18 awajax.xmldialogadd (16867) > 19 awajax.xmlpropschangedadd (16306) > 20 awajax.propschangedhtml (14777) > 21 awajax.propchangedhtml_grid (15363) Exe: "C:\Program Files (x86)\AcutMobile\mobtest.exe", version 11.2.440 of 2022-07-05 03:40:44 PM (2 months ago) Process ID: 5152 Client: 176.200.87.17 userID: 66U15TXR2 URL: http://93.45.34.201/acutmobile/bin/wc.dll?IntuiCat~DOMEvent~&Event=click&ObjAddr=main_scx-_pageframe1-page1-_commandbutton5&UserID=66U15TXR2&PageInit=&nReq=6 Form variables: nKeyCode=, nButton=1, nShiftAltCtrl=0, nXcoord=70, nYcoord=205, nRow=229, nCol=85, lastKey=0, version=2.31.0, sync=false, vpw=384, vph=678, userID=66U15TXR2, reqID=5152_6FD17FPWV-001, nInet=0.000, nCli=0.000 FAS version: 2.31.0 of 2021-01-27 10:10:23 AM GMT (1 year ago) Table New: 'C:\Program Files (x86)\AcutMobile\Temp\66U15TXR2_66u15txr2_main_scx_New.DBF' can't be found

Can it be an antivirus problem ? Thanks

Gravatar is a globally recognized avatar based on your email address. re: Error explanation request
  FoxInCloud Support - Thierry N.
  Michele
  Sep 14, 2022 @ 03:15am

Ciao Michele,

COLUMNS is not an object means grid has destroyed its columns, happens when (.recordSource) is closed without being cleared:

o = CreateObject('grid')
? o.ColumnCount && -1
use "someTable" alias someAlias 
o.RecordSource = 'someAlias'
? o.ColumnCount && eg. 15
use
? o.ColumnCount && 0
? o.Columns && error "COLUMNS is not an object"

As this error occurs inside FoxInCloud, when identifying changes in the grid, the only cause I see possible is that:

© 1996-2022