Page MenuHomePhabricator

TypeError: Cannot read property 'length' of null in a.getLookupResults / SyntaxError: Invalid regular expression: /[\p{L}\p{M}\p{N}\p{S}]+/: Invalid escape
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

https://logstash.wikimedia.org/app/dashboards#/doc/logstash-*/logstash-2021.03.17?id=fFwbQXgBGiM4niWIIphI

message
TypeError: Cannot read property 'length' of null

Impact

Notes

Details

Request URL
n/a
Stack Trace
exception.trace
at a.getLookupResults  https://commons.wikimedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%2Cvuex%7Cjquery.ui%7Cwikibase.mediainfo.mediasearch.vue&skin=vector&version=o54hn:792:592

Event Timeline

Jdlrobson renamed this task from TypeError: Cannot read property 'length' of null in a.getLookupResults to TypeError: Cannot read property 'length' of null in a.getLookupResults / SyntaxError: Invalid regular expression: /[\p{L}\p{M}\p{N}\p{S}]+/: Invalid escape .Apr 2 2021, 7:43 PM

marked as logspam and filtering out on board.

Screen Shot 2021-04-02 at 12.44.24 PM.png (62×340 px, 7 KB)

I believe this error has been addressed by a regex-related patch from two weeks ago (this one).

I just went back to Logstash and disabled Jon's filter; the only occurrences of the normalized message TypeError: Cannot read property 'length' of null on commons in the last week seem to be non-MediaSearch related (they're coming from different pages, and there are only a handful of them).

I think this can be closed.

CBogen claimed this task.