Last modified: 2013-06-21 06:00:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51916, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49916 - TemplateHandler crashes in nested ref code
TemplateHandler crashes in nested ref code
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: ssastry
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-20 23:05 UTC by Gabriel Wicke
Modified: 2013-06-21 06:00 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gabriel Wicke 2013-06-20 23:05:14 UTC
From the production logs:

starting parsing of enwiki:Luis_D._Ortiz
starting parsing of zhwiki:毛西番蓮
http://10.2.2.29/enwiki/Luis_D._Ortiz?oldid=560778411
No cache hit for Luis_D._Ortiz
http://10.2.2.29/zhwiki/毛西番蓮?oldid=26914214
No cache hit for 毛西番蓮

/srv/deployment/parsoid/Parsoid/js/lib/ext.core.TemplateHandler.js:599
                                        dp.tagWidths = [matchInfo[1].length,matchInfo[2].length];
                                                                 ^
TypeError: Cannot read property '1' of null
    at TemplateHandler._startTokenPipeline.pipelineOpts.isInclude (/srv/deployment/parsoid/Parsoid/js/lib/ext.core.TemplateHandler.js:599:31)
    at TemplateHandler._onChunk (/srv/deployment/parsoid/Parsoid/js/lib/ext.core.TemplateHandler.js:772:2)
    at TemplateHandler._startTokenPipeline (/srv/deployment/parsoid/Parsoid/js/lib/ext.core.TemplateHandler.js:589:8)
    at ApiRequest._processListeners.processSome (/srv/deployment/parsoid/Parsoid/js/lib/mediawiki.ApiRequest.js:99:17)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
worker 16497 died (1), restarting.
Comment 1 Gerrit Notification Bot 2013-06-20 23:18:41 UTC
Related URL: https://gerrit.wikimedia.org/r/69813 (Gerrit Change I2ba48bd0201bd9d782f7cf19d73c7b1025ab63b2)
Comment 2 Gerrit Notification Bot 2013-06-20 23:20:54 UTC
https://gerrit.wikimedia.org/r/69813 (Gerrit Change I2ba48bd0201bd9d782f7cf19d73c7b1025ab63b2) | change APPROVED and MERGED [by jenkins-bot]
Comment 3 Gabriel Wicke 2013-06-21 01:57:48 UTC
This is being worked around in production by making up the required information. A proper fix is still needed.
Comment 4 Gerrit Notification Bot 2013-06-21 05:24:05 UTC
Related URL: https://gerrit.wikimedia.org/r/69837 (Gerrit Change I6d805e5876752d61a3ef4d0872fce8f8a96a9f15)
Comment 5 Gerrit Notification Bot 2013-06-21 05:50:10 UTC
https://gerrit.wikimedia.org/r/69837 (Gerrit Change I6d805e5876752d61a3ef4d0872fce8f8a96a9f15) | change APPROVED and MERGED [by jenkins-bot]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links