Page MenuHomePhabricator

Uncaught TypeError: Cannot read property 'marktype' of undefined in CanvasHandler.pick() / undefined
Open, LowPublic

Description

There are currently 22 occurrences of the following error:

Uncaught TypeError: Cannot read property 'marktype' of undefined
at CanvasHandler.prototype.pick  https://www.mediawiki.org/w/load.php?lang=fr&modules=ext.graph.vega2%7Cjquery&skin=vector&version=1l2n8:470:276
at CanvasHandler.prototype.pickEvent  https://www.mediawiki.org/w/load.php?lang=fr&modules=ext.graph.vega2%7Cjquery&skin=vector&version=1l2n8:470:105
at CanvasHandler.mousemove  https://www.mediawiki.org/w/load.php?lang=fr&modules=ext.graph.vega2%7Cjquery&skin=vector&version=1l2n8:468:446
at HTMLCanvasElement.<anonymous>  https://www.mediawiki.org/w/load.php?lang=fr&modules=ext.graph.vega2%7Cjquery&skin=vector&version=1l2n8:467:854

I can reproduce by visiting the page in the log on Firefox v78.0.1 for Ubuntu v20.04.

Event Timeline

Jdlrobson renamed this task from Uncaught TypeError: Cannot read property 'marktype' of undefined in CanvasHandler.pick() to Uncaught TypeError: Cannot read property 'marktype' of undefined in CanvasHandler.pick() / undefined.Oct 8 2020, 12:43 AM
Jdlrobson subscribed.

This is now in the top 10 errors on production wikis, evidently because of certain graphs on popular pages. See related T269308.

https://tr.wikipedia.org/wiki/COVID-19_pandemisi
https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2020.12.02/clienterror/?id=AXYlmgfoISDMpKoGijer

Jdlrobson raised the priority of this task from High to Needs Triage.Feb 8 2021, 8:23 PM

Volume has decreased so logspam levels are now lower.

This is no longer a production error as it is caught and instead errors to the console, but the error still exists.

I fixed various instances of this manually, but this remains a problem until T270404 is taken care of.

After fix of T260542 I would assume this old production error cannot longer happen. Would be nice to get fresh stats from logs.