TypeError: Cannot read property 'length' of undefined
Closed, ResolvedPublic

Description

https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2016.12.07/parsoid?id=AVjbHE4zEOj-wvmpzbTb&_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-24h,mode:quick,to:now))

TypeError: Cannot read property 'length' of undefined
    at escapeLine (/srv/deployment/parsoid/deploy-cache/revs/e41b23597480ff051080a481d5ae4a3a8de0311a/src/lib/html2wt/ConstrainedText.js:52:59)
    at SerializerState.SSP.flushLine (/srv/deployment/parsoid/deploy-cache/revs/e41b23597480ff051080a481d5ae4a3a8de0311a/src/lib/html2wt/SerializerState.js:185:14)
    at SerializerState.SSP.emitChunk (/srv/deployment/parsoid/deploy-cache/revs/e41b23597480ff051080a481d5ae4a3a8de0311a/src/lib/html2wt/SerializerState.js:360:8)
    at WikitextSerializer.<anonymous> (/srv/deployment/parsoid/deploy-cache/revs/e41b23597480ff051080a481d5ae4a3a8de0311a/src/lib/html2wt/WikitextSerializer.js:1286:9)
    at tryCatch1 (/srv/deployment/parsoid/deploy-cache/revs/e41b23597480ff051080a481d5ae4a3a8de0311a/node_modules/babybird/lib/promise.js:40:12)
    at promiseReactionJob (/srv/deployment/parsoid/deploy-cache/revs/e41b23597480ff051080a481d5ae4a3a8de0311a/node_modules/babybird/lib/promise.js:269:19)
    at PromiseReactionJobTask.call (/srv/deployment/parsoid/deploy-cache/revs/e41b23597480ff051080a481d5ae4a3a8de0311a/node_modules/babybird/lib/promise.js:284:3)
    at flush (/srv/deployment/parsoid/deploy-cache/revs/e41b23597480ff051080a481d5ae4a3a8de0311a/node_modules/babybird/node_modules/asap/raw.js:50:29)
    at nextTickCallbackWith0Args (node.js:420:9)
    at process._tickCallback (node.js:349:13)