Last modified: 2014-07-16 14:01:23 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 T69474, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67474 - PHP Fatal error: Call to a member function isRedirect() on a non-object
PHP Fatal error: Call to a member function isRedirect() on a non-object
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks: 66067
  Show dependency treegraph
 
Reported: 2014-07-03 10:57 UTC by Aude
Modified: 2014-07-16 14:01 UTC (History)
5 users (show)

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


Attachments

Description Aude 2014-07-03 10:57:56 UTC
when running tests in non-experimental mode....

PHP Fatal error:  Call to a member function isRedirect() on a non-object in /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/extensions/Wikidata/extensions/Wikibase/repo/tests/phpunit/includes/content/EntityContentFactoryTest.php on line 254
PHP Stack trace:
PHP   1. {main}() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/tests/phpunit/phpunit.php:0
PHP   2. MediaWikiPHPUnitCommand::main() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/tests/phpunit/phpunit.php:160
PHP   3. PHPUnit_TextUI_Command->run() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/tests/phpunit/MediaWikiPHPUnitCommand.php:42
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:176
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:349
PHP   6. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
PHP   7. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
PHP   8. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
PHP   9. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
PHP  10. PHPUnit_Framework_TestSuite->runTest() /usr/share/php/PHPUnit/Framework/TestSuite.php:745
PHP  11. MediaWikiTestCase->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:775
PHP  12. PHPUnit_Framework_TestCase->run() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/tests/phpunit/MediaWikiTestCase.php:133
PHP  13. PHPUnit_Framework_TestResult->run() /usr/share/php/PHPUnit/Framework/TestCase.php:783
PHP  14. PHPUnit_Framework_TestCase->runBare() /usr/share/php/PHPUnit/Framework/TestResult.php:648
PHP  15. PHPUnit_Framework_TestCase->runTest() /usr/share/php/PHPUnit/Framework/TestCase.php:838
PHP  16. ReflectionMethod->invokeArgs() /usr/share/php/PHPUnit/Framework/TestCase.php:983
PHP  17. Wikibase\Test\EntityContentFactoryTest->testNewFromRedirect() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/extensions/Wikidata/extensions/Wikibase/repo/tests/phpunit/includes/content/EntityContentFactoryTest.php:0

Fatal error: Call to a member function isRedirect() on a non-object in /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/extensions/Wikidata/extensions/Wikibase/repo/tests/phpunit/includes/content/EntityContentFactoryTest.php on line 254

Call Stack:
    0.0006     708416   1. {main}() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/tests/phpunit/phpunit.php:0
    0.1162   19353888   2. MediaWikiPHPUnitCommand::main() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/tests/phpunit/phpunit.php:160
    0.1163   19370744   3. PHPUnit_TextUI_Command->run() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/tests/phpunit/MediaWikiPHPUnitCommand.php:42
   20.1680  398799592   4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:176
   20.1718  399364256   5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:349
   20.4520  399365792   6. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
   20.4523  399367144   7. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
  382.1507  628010472   8. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
  382.3012  628134368   9. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
  382.3013  628135800  10. PHPUnit_Framework_TestSuite->runTest() /usr/share/php/PHPUnit/Framework/TestSuite.php:745
  382.3013  628135800  11. MediaWikiTestCase->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:775
  382.3038  628136152  12. PHPUnit_Framework_TestCase->run() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/tests/phpunit/MediaWikiTestCase.php:133
  382.3038  628136152  13. PHPUnit_Framework_TestResult->run() /usr/share/php/PHPUnit/Framework/TestCase.php:783
  382.3040  628137688  14. PHPUnit_Framework_TestCase->runBare() /usr/share/php/PHPUnit/Framework/TestResult.php:648
  382.3042  628179752  15. PHPUnit_Framework_TestCase->runTest() /usr/share/php/PHPUnit/Framework/TestCase.php:838
  382.3043  628181984  16. ReflectionMethod->invokeArgs() /usr/share/php/PHPUnit/Framework/TestCase.php:983
  382.3043  628182040  17. Wikibase\Test\EntityContentFactoryTest->testNewFromRedirect() /var/lib/jenkins/jobs/wikibase-build-repo-tests-nonexperimental/workspace/extensions/Wikidata/extensions/Wikibase/repo/tests/phpunit/includes/content/EntityContentFactoryTest.php:0
Comment 1 Marius Hoch 2014-07-03 15:40:55 UTC
Fixed: https://gerrit.wikimedia.org/r/143854

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


Navigation
Links