I have a web project developed with 2013r2 that crashes if I run it with 2013r3. The crash occurs when the main window should show up, after the user have passed the login page.
The (long) error message starts with:
Could not execute returned javascript: ‘undefined’ is not an object (evaluating ‘Xojo.controls[‘Mff8cGiw’].object’)
Source: document.title = “Main”;
document.getElementById(‘Mff8cGiw’).style.overflow = ‘auto’;
Xojo.controls[‘Mff8cGiw’].object().style.top = ‘67px’;
Xojo.controls[‘Mff8cGiw’].refresh();
Xojo.controls[‘Mff8cGiw’].setVisible(true);
Xojo.controls[‘Mff8cGiw’].refresh();
document.getElementById(‘Mff8cGiw’).style.overflow = ‘auto’;
document.getElementById(‘TQdjXsGb’).style.overflow = ‘auto’;
Xojo.controls[‘TQdjXsGb’].setVisible(false);
Xojo.controls[‘TQdjXsGb’].refresh();
document.getElementById(‘TQdjXsGb’).style.overflow = ‘auto’;
document.getElementById(‘SJlr79Jr’).style.overflow = ‘auto’;
…
…
and ends with:
…
…
Xojo.refreshControl(‘CnpPM2Xo’);
Xojo.refreshControl(‘IsIfUrUI’);
Xojo.refreshControl(‘Re9szSsX’);
Xojo.refreshControl(‘HvZZD73o’);
document.cookie = ‘UserName=xeris;’;
Xojo.controls[‘FTAxdvhp’].setValue("");
It’s a fairly complicated project, I need to go on with its development, so I’ll stick with 2013r2 for now.
After some non-obvious debugging attempts, I finally discovered that control Mff8cGiw mentioned in the first line of the error message is a container control.
I stepped through the debugging session both in 2012r2 and 2013r3. I get with both to the last statement before the page should be shown. One more step with r2 and the page shows up. One more step with r3 and the black error dialog appears.
Are there known issues with 2012r3 on this regard?
Thanks
Franco