Page MenuHomePhabricator

Logstash: Cannot read properties of undefined (reading 'source')
Closed, ResolvedPublicPRODUCTION ERROR

Description

Description

Around 260 instances in past 24 hrs

Single document - https://logstash.wikimedia.org/app/discover#/doc/logstash-*/logstash-default-1-7.0.0-1-2024.08.08?id=xCrAMpEB0bw1V4rv0qYG

stack trace

	at setup  https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:490:850
at jt  https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:872:309
at https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:907:358
at https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:907:514
at M  https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:907:537
at F  https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:905:898
at v  https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:903:38
at Z  https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:913:978
at mount  https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:895:219
at t.mount  https://he.wikipedia.org/w/load.php?lang=he&modules=ext.CodeMirror.v6.lib%7Cext.cx.entrypoints.newbytranslation%7Cjquery%2Coojs-ui-core%2Cvue%7Cjquery.ui%7Cmw.cx.util%7Cwikibase.client.action.edit.collapsibleFooter&skin=vector&version=c7scr:995:871

Event Timeline

Aklapper added a subscriber: Izno.

@Izno: I don't see how this is an issue with Logstash itself?

Aklapper changed the subtype of this task from "Task" to "Production Error".

@bwang: For future reference, please file these using the production error form/template - thanks!

Offending url: props.suggestion.thumbnail.source comes from line 112 of CX's modules/entrypoints/ext.cx.entrypoints.newbytranslation/NewByTranslationPopup.vue

ngkountas changed the task status from Open to In Progress.Aug 20 2024, 2:59 PM
ngkountas claimed this task.
ngkountas triaged this task as Medium priority.

Change #1064054 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX NewByTranslationPopup: Add check to avoid "TypeError"

https://gerrit.wikimedia.org/r/1064054

Change #1064054 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX NewByTranslationPopup: Add check to avoid "TypeError"

https://gerrit.wikimedia.org/r/1064054

The last occurrence of this error was on August 29th, which is the day that the fix has been deployed to group2 wikis. Logstash search: https://logstash.wikimedia.org/app/discover#/?_g=h@7b5aa23&_a=h@9b739dd.

@Pginer-WMF I think we can close this task as done!