PDA

View Full Version : Uncaught TypeError: Cannot read property 'removeCls' of null



dylan.thomas
28 Mar 2017, 7:07 AM
I seem to be getting this exception at random places within scripts. It never appears when running scripts in isolation, only when running whole suites or just multiple scripts. Once it occurs once during the running of a suite, it then occurs frequently throughout the rest of the scripts.

Uncaught TypeError: Cannot read property 'removeCls' of null
at constructor.removeCls (AbstractComponent.js?_dc=1490706398996:2945)
at constructor.removeClsWithUI (AbstractComponent.js?_dc=1490706398996:1795)
at constructor.onMouseUp (Button.js?_dc=1490706398809:1538)
at constructor.onDocumentMouseUp (Manager.js?_dc=1490706399013:78)
at HTMLDocument.eval (eval at cacheableFunctionFactory (ext-dev.js:746), <anonymous>:6:13)
at HTMLDocument.wrap (ext-dev.js:16924)
at ctor.fireMouseEvent (Injector.js?_dc=1490706395677:269)
at ctor.injectEvent (Injector.js?_dc=1490706395677:129)
at ctor.inject (Local.js?_dc=1490706395677:133)
at Player.js?_dc=1490706395677:437

craigcomstock
29 Mar 2017, 7:46 AM
Can you recreate the problem with a small example that you could include? It looks like it breaks on the test trying to click on a component.