Page MenuHomePhabricator

Call to a member function getUser() on a non-object (NULL)
Closed, ResolvedPublic

Description

Seeing this on Beta Cluster:

See: https://logstash-beta.wmflabs.org/#dashboard/temp/AU_ioEtFa1EjumVd_UK5

[
  {
    "file": "/srv/mediawiki/php-master/extensions/CirrusSearch/includes/Updater.php",
    "line": 358,
    "function": "getParserOutput",
    "class": "Flow\\Content\\BoardContent",
    "type": "->",
    "args": [
      "Title",
      "integer"
    ]
  },
  {
    "file": "/srv/mediawiki/php-master/extensions/CirrusSearch/includes/Updater.php",
    "line": 292,
    "function": "getContentAndParserOutput",
    "class": "CirrusSearch\\Updater",
    "type": "->",
    "args": [                                                                                                                                                                                                      
      "WikiPage"
    ]                                                                                                                                                                                                              
  },                                                                                                                                                                                                               
  {                                                                                                                                                                                                                
    "file": "/srv/mediawiki/php-master/extensions/CirrusSearch/includes/Updater.php",                                                                                                                              
    "line": 194,                                                                                                                                                                                                   
    "function": "buildDocumentsForPages",                                                                                                                                                                          
    "class": "CirrusSearch\\Updater",                                                                                                                                                                              
    "type": "->",                                                                                                                                                                                                  
    "args": [                                                                                                                                                                                                      
      "array",                                                                                                                                                                                                     
      "integer"
    ]
  },
  {
    "file": "/srv/mediawiki/php-master/extensions/CirrusSearch/includes/Updater.php",
    "line": 71,
    "function": "updatePages",
    "class": "CirrusSearch\\Updater",
    "type": "->",
    "args": [
      "array",
      "string",
      "integer",
      "integer"
    ]
  },
  {
    "file": "/srv/mediawiki/php-master/extensions/CirrusSearch/includes/Job/LinksUpdate.php",
    "line": 49,
    "function": "updateFromTitle",
    "class": "CirrusSearch\\Updater",
    "type": "->",
    "args": [
      "Title"
    ]
  },
  {
    "file": "/srv/mediawiki/php-master/extensions/CirrusSearch/includes/Job/Job.php",
    "line": 57,
    "function": "doJob",
    "class": "CirrusSearch\\Job\\LinksUpdate",
    "type": "->",
    "args": []
  },
  {
    "file": "/srv/mediawiki/php-master/includes/jobqueue/JobRunner.php",
    "line": 180,
    "function": "run",
    "class": "CirrusSearch\\Job\\Job",
    "type": "->",
    "args": []
  },
  {
    "file": "/srv/mediawiki/rpc/RunJobs.php",
    "line": 42,
    "function": "run",
    "class": "JobRunner",
    "type": "->",
    "args": [
      "array"
    ]
  }
]

Details

Related Gerrit Patches:
mediawiki/extensions/Flow : masterAssume wgUser when no ParserOptions are given

Event Timeline

greg created this task.Sep 18 2015, 10:42 PM
greg raised the priority of this task from to Needs Triage.
greg updated the task description. (Show Details)
greg moved this task to Untriaged on the Wikimedia-production-error board.
greg added a subscriber: greg.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
greg updated the task description. (Show Details)Sep 18 2015, 10:43 PM
greg set Security to None.
greg added a subscriber: EBernhardson.
Mattflaschen-WMF updated the task description. (Show Details)
Mattflaschen-WMF triaged this task as Unbreak Now! priority.Sep 18 2015, 10:54 PM

Change 239768 had a related patch set uploaded (by Matthias Mullie):
Assume wgUser when no ParserOptions are given

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

Change 239768 merged by jenkins-bot:
Assume wgUser when no ParserOptions are given

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

Will re-check https://logstash-beta.wmflabs.org/#dashboard/temp/AU_ioEtFa1EjumVd_UK5 after deploy(defining as global $wgUser should work).

DannyH closed this task as Resolved.Sep 22 2015, 6:31 PM