View Full Version : GWT - BETA 1 - Firefox - Charts throw error on widget.clear

27 Dec 2011, 7:35 AM
Whenever I clear a widget containing a chart (so I can add another chart widget), I get the following error in FireFox.

(NS_ERROR_FAILURE): Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMSVGLocatable.getBBox]
QueryInterface: function QueryInterface() {
[native code]

I don't get the error in IE, but the chart also fails to load.

The compiled code error is around here

if (tspans.java_util_ArrayList_size > 0) {
height = com_google_gwt_lang_Cast_dynamicCastJso__Ljava_lang_Object_2Ljava_lang_Object_2(java_util_AbstractHashMap_$get__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_sencha_gxt_chart_client_draw_engine_SVG_elements, sprite)).getBBox().height;

in function

function com_sencha_gxt_chart_client_draw_engine_SVG_$tuneText__Lcom_sencha_gxt_chart_client_draw_engine_SVG_2Lcom_sencha_gxt_chart_client_draw_sprite_TextSprite_2V(this$static, sprite){

any chance of a fix?