Keep getting a browser error when displaying new element.
One of the two types of errors occur.
I wasn't able to figure out what actions determine what error occurs. Seems to be random.
1. ERROR: "_13 is null", ISC_Core: ln 1948*
STACK TRACE:
14:59:58.403:RDQ6[E]:WARN:Log:TypeError: _13 is null
[c]Element.getOffset(_1=>"left", _2=>[object HTMLSpanElement], _3=>[object HTMLDivElement], _4=>false, _5=>undef)
[c]Element.getLeftOffset(_1=>[object HTMLSpanElement], _2=>[object HTMLDivElement])
CanvasItem.placeCanvas()
DynamicForm._notifyCanvasItems("placeCanvas")
DynamicForm._placeCanvasItems()
DynamicForm.modifyContent()
Canvas._completeHTMLInit()
Canvas.draw(undef, undef, undef, undef, undef, undef, undef, undef)
Class.invokeSuper(_1=>{Obj}, _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef)
DynamicForm.draw()
Layout.layoutChildren("initial draw")
Layout.drawChildren()
Canvas.draw()
Layout.layoutChildren("member changed visibility: [VStack ID:p..."[ 154])
Layout.reflowNow("member changed visibility: [VStack ID:p..."[ 154], 11)
unnamed()
[c]EventHandler.runTeas()
EventHandler._clearThread()
[c]Canvas.clearRedrawQueue()
[c]Class.fireCallback(_1=>{Obj}, _2=>undef, _3=>[object Array], _4=>{Obj}, _5=>true)
Timer._fireTimeout("$ir430")
unnamed()
unnamed() @
2. ERROR: "_13.scrollLeft is null", ISC_Core: ln 1948*
STACK TRACE:
14:44:51.762:WARN:Log:TypeError: _13.scrollLeft is null
[c]Element.getOffset(_1=>"left", _2=>[object HTMLSpanElement], _3=>[object HTMLDivElement], _4=>false, _5=>undef)
[c]Element.getLeftOffset(_1=>[object HTMLSpanElement], _2=>[object HTMLDivElement])
CanvasItem.placeCanvas()
DynamicForm._notifyCanvasItems("placeCanvas")
DynamicForm._placeCanvasItems()
DynamicForm.modifyContent()
Canvas._completeHTMLInit()
Canvas.draw(undef, undef, undef, undef, undef, undef, undef, undef)
Class.invokeSuper(_1=>{Obj}, _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef)
DynamicForm.draw()
Layout.layoutChildren("initial draw")
Layout.drawChildren()
Canvas.draw()
Layout.layoutChildren("member changed visibility: [VStack ID:p..."[ 154])
Layout.reflowNow("member changed visibility: [VStack ID:p..."[ 154], 33)
unnamed()
[c]EventHandler.runTeas()
EventHandler._clearThread()
[c]Canvas.clearRedrawQueue()
[c]Class.fireCallback(_1=>{Obj}, _2=>undef, _3=>[object Array], _4=>{Obj}, _5=>true)
Timer._fireTimeout("$ir1564")
unnamed()
unnamed() @
Please suggest a fix or what can we do to debug and understand what's happening.
* Isc_Core: ln 1948
1948var _13=_11.offsetParent;if(isc.Browser.isMoz&&_13==null)return 0;var _14=_12.offsetParent,_15=_11,_16=0,_17=(_1==isc.Canvas.LEFT),_18=(_17?this.$w2:this.$w3),_19=(_17?this.$oi:this.$ok);if(!_17)_4=false;else if(_4==null)_4=(isc.Page.getTextDirection()==isc.Canvas.RTL);var _20=0;while(_13!=_12&&_13!=_14){var _21=(_17?this.ns.Element.getOffsetLeft(_15):this.ns.Element.getOffsetTop(_15));_16+=_21;if(!_4){_16-=((_17?_13.scrollLeft:_13.scrollTop)||0)}else{if(isc.isA.Number(_13.scrollLeft)){var _22=(_13.scrollWidth-_13.clientWidth);_16+=(_22-_13.scrollLeft)}}
SmartClient Version: SC_SNAPSHOT-2011-11-10/PowerEdition Development Only (built 2011-11-10)
One of the two types of errors occur.
I wasn't able to figure out what actions determine what error occurs. Seems to be random.
1. ERROR: "_13 is null", ISC_Core: ln 1948*
STACK TRACE:
14:59:58.403:RDQ6[E]:WARN:Log:TypeError: _13 is null
[c]Element.getOffset(_1=>"left", _2=>[object HTMLSpanElement], _3=>[object HTMLDivElement], _4=>false, _5=>undef)
[c]Element.getLeftOffset(_1=>[object HTMLSpanElement], _2=>[object HTMLDivElement])
CanvasItem.placeCanvas()
DynamicForm._notifyCanvasItems("placeCanvas")
DynamicForm._placeCanvasItems()
DynamicForm.modifyContent()
Canvas._completeHTMLInit()
Canvas.draw(undef, undef, undef, undef, undef, undef, undef, undef)
Class.invokeSuper(_1=>{Obj}, _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef)
DynamicForm.draw()
Layout.layoutChildren("initial draw")
Layout.drawChildren()
Canvas.draw()
Layout.layoutChildren("member changed visibility: [VStack ID:p..."[ 154])
Layout.reflowNow("member changed visibility: [VStack ID:p..."[ 154], 11)
unnamed()
[c]EventHandler.runTeas()
EventHandler._clearThread()
[c]Canvas.clearRedrawQueue()
[c]Class.fireCallback(_1=>{Obj}, _2=>undef, _3=>[object Array], _4=>{Obj}, _5=>true)
Timer._fireTimeout("$ir430")
unnamed()
unnamed() @
2. ERROR: "_13.scrollLeft is null", ISC_Core: ln 1948*
STACK TRACE:
14:44:51.762:WARN:Log:TypeError: _13.scrollLeft is null
[c]Element.getOffset(_1=>"left", _2=>[object HTMLSpanElement], _3=>[object HTMLDivElement], _4=>false, _5=>undef)
[c]Element.getLeftOffset(_1=>[object HTMLSpanElement], _2=>[object HTMLDivElement])
CanvasItem.placeCanvas()
DynamicForm._notifyCanvasItems("placeCanvas")
DynamicForm._placeCanvasItems()
DynamicForm.modifyContent()
Canvas._completeHTMLInit()
Canvas.draw(undef, undef, undef, undef, undef, undef, undef, undef)
Class.invokeSuper(_1=>{Obj}, _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef)
DynamicForm.draw()
Layout.layoutChildren("initial draw")
Layout.drawChildren()
Canvas.draw()
Layout.layoutChildren("member changed visibility: [VStack ID:p..."[ 154])
Layout.reflowNow("member changed visibility: [VStack ID:p..."[ 154], 33)
unnamed()
[c]EventHandler.runTeas()
EventHandler._clearThread()
[c]Canvas.clearRedrawQueue()
[c]Class.fireCallback(_1=>{Obj}, _2=>undef, _3=>[object Array], _4=>{Obj}, _5=>true)
Timer._fireTimeout("$ir1564")
unnamed()
unnamed() @
Please suggest a fix or what can we do to debug and understand what's happening.
* Isc_Core: ln 1948
1948var _13=_11.offsetParent;if(isc.Browser.isMoz&&_13==null)return 0;var _14=_12.offsetParent,_15=_11,_16=0,_17=(_1==isc.Canvas.LEFT),_18=(_17?this.$w2:this.$w3),_19=(_17?this.$oi:this.$ok);if(!_17)_4=false;else if(_4==null)_4=(isc.Page.getTextDirection()==isc.Canvas.RTL);var _20=0;while(_13!=_12&&_13!=_14){var _21=(_17?this.ns.Element.getOffsetLeft(_15):this.ns.Element.getOffsetTop(_15));_16+=_21;if(!_4){_16-=((_17?_13.scrollLeft:_13.scrollTop)||0)}else{if(isc.isA.Number(_13.scrollLeft)){var _22=(_13.scrollWidth-_13.clientWidth);_16+=(_22-_13.scrollLeft)}}
SmartClient Version: SC_SNAPSHOT-2011-11-10/PowerEdition Development Only (built 2011-11-10)
Comment