web thread error

Hi,
I’ve a problem with a web application and Xojo 2013 3.3…
From the webpage if user push a button, I run a web thread where a database is elaborated. When the elaboration is ended (I’m trapping it in a timer)
I try to update some controls on the webpage with the new values.
All works well but a error splash is showed :

Please, help me !!

Thanks

Luciano

Could not execute returned javascript: ‘null’ is not an object (evaluating ‘this.object().className’)
Source: Xojo.controls[‘Kudz0zuU’].setVisible(true);
Xojo.controls[‘Kudz0zuU’].refresh();
Xojo.controls[‘W22mfKKC’].setValue(“ROYAL CARRIBEAN CRUISE “);
Xojo.controls[‘FORouXZE’].setValue(” Totale colli : 1600”);
Xojo.controls[‘Vlm7SM6f’].setVisible(true);
Xojo.controls[‘Vlm7SM6f’].refresh();
Xojo.controls[‘Iuup1W46’].setVisible(true);
Xojo.controls[‘Iuup1W46’].refresh();
Xojo.controls[‘MwKnce0V’].setVisible(true);
Xojo.controls[‘MwKnce0V’].refresh();
Xojo.controls[‘MwKnce0V’].setValue(“So.Ge.Tras.”);
Xojo.controls[‘HBe7tLfP’].deleteAllRows();
Xojo.controls[‘HBe7tLfP’].appendRow(“Abruzzo”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Campania”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Emilia Romagna”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Friuli Venezia Giulia”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Lazio”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Liguria”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Lombardia”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Marche”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Piemonte”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Puglia”);
Xojo.controls[‘HBe7tLfP’].appendRow(“San Marino”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Sardegna”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Sicilia”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Toscana”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Trentino Alto Adige”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Valle d\'Aosta”);
Xojo.controls[‘HBe7tLfP’].appendRow(“Veneto”);
Xojo.controls[‘HBe7tLfP’].setValue(0);
Xojo.controls[‘L7hHiBLk’].setVisible(true);
Xojo.controls[‘L7hHiBLk’].refresh();
Xojo.controls[‘ThUfiUoI’].dismiss();
setTimeout(“Xojo.controls[‘ThUfiUoI’].destroy();”,500);
Xojo.comm.ajax.begin();

Are you using a WebTimer or a regular Timer? A WebTimer exists on a page and should work. A regular timer doesn’t belong to any page and runs on the main thread on the server, and therefore doesn’t have any “tie” back to your session/page.

Also, I assume you’re updating the controls from the timer, not the thread, correct?

correct !!!
so, the problem is on Safari and doesn’t happen on Chrome and Firefox !!!