Uncaught error

My setup: latest updates on Scriptcase, installed on Ubuntu linux, grid application.

I try to generate the code on a grid application and get the following error message:

Fatal error: Uncaught Error: Call to a member function SelectLimit() on null in /opt/NetMake/v9/wwwroot/scriptcase/devel/lib/php/database.inc.php:793 Stack trace: #0 /opt/NetMake/v9/wwwroot/scriptcase/devel/compat/nm_select.class.php(478): nm_db_fields(‘conn_ctrack’, ‘T_Employee’, ‘/opt/NetMake/v9…’, 478, NULL, ‘pdo_mysql’, Object(nmConnection), false, true) #1 /opt/NetMake/v9/wwwroot/scriptcase/devel/compat/nm_select.class.php(154): nm_select->_PrepareFields() #2 /opt/NetMake/v9/wwwroot/scriptcase/devel/lib/php/database.inc.php(1839): nm_select->AnalizeSql() #3 /opt/NetMake/v9/wwwroot/scriptcase/devel/generator/nm_gp_analiz_lookup.php(344): nm_db_fields_type(‘conn_welltrack’, ‘ISO-8859-1’, NULL, Object(nmConnection), ‘select Employee…’, ‘’, false, true) #4 /opt/NetMake/v9/wwwroot/scriptcase/devel/generator/nm_gp_gera_lookup.php(140): nm_gp_analiz_lookup(‘SELECT Employee…’, ‘conn_ctrack’, ‘t_manager_repor…’) #5 /opt/NetMake/v9/wwwroot/scriptcase/devel/generator/nm_gp_gera_lookup.php(31): nm_lookup_autom in /opt/NetMake/v9/wwwroot/scriptcase/devel/lib/php/database.inc.php on line 793

That bold-text file doesn’t exist after the compile is done, so it’s difficult to track this down.

UPDATE: this error is generated if I “generate source” for any grid application in my project now. I thought it was just this new grid application, but no, it appears to be a bad Scriptcase update.

I tried setting a limit on the records returned. Same error.
I tried clearing the limit on the records. Same error.

I’m completely down, and considering back-porting everything to Scriptcase 8, even though that will be extremely difficult. SC9 is not stable, at least with projects converted from SC8.

A complete reinstall of Scriptcase corrected this problem.

The lesson: Never Update Scriptcase If Your Dev Platform Is Linux