Page MenuHomePhabricator

Tasks with `null` data: Normal or a sign of breakage?
Closed, ObsoletePublic

Asked by devurandom on Aug 20 2015, 1:00 PM.

Details

I have lots of tasks that are logging exceptions in /var/tmp/phd/log/daemons.log:

[20-Aug-2015 12:57:14 UTC] [2015-08-20 12:57:14] EXCEPTION: (PhutilProxyException) Error while executing Task ID 668502. {>} (InvalidArgumentException) Argument 1 passed to idx() must be of the type array, null given, called in /opt/phabricator/phabricator/src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php on line 32 and defined at [<phutil>/src/error/PhutilErrorHandler.php:200]
[20-Aug-2015 12:57:14 UTC] arcanist(head=stable, ref.master=999eb9376568, ref.stable=1e5059f16a3b), libphremoteuser(head=master, ref.master=53b5b5064ff7), phabricator(head=stable, ref.master=f0bf7a8e2621, ref.stable=978a456c1007), phutil(head=stable, ref.master=aa6cd8f7e5e5, ref.stable=52eb080a28a6), sprint(head=production, ref.master=4912ecf41ef1, ref.production=19bfd1a80a77)
[20-Aug-2015 12:57:14 UTC]   #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phutil>/src/utils/utils.php:36]
[20-Aug-2015 12:57:14 UTC]   #1 <#2> idx(NULL, string) called at [<phabricator>/src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php:32]
[20-Aug-2015 12:57:14 UTC]   #2 <#2> PhabricatorApplicationTransactionPublishWorker::loadObject() called at [<phabricator>/src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php:17]
[20-Aug-2015 12:57:14 UTC]   #3 <#2> PhabricatorApplicationTransactionPublishWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:91]
[20-Aug-2015 12:57:14 UTC]   #4 <#2> PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:162]
[20-Aug-2015 12:57:14 UTC]   #5 <#2> PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
[20-Aug-2015 12:57:14 UTC]   #6 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
[20-Aug-2015 12:57:14 UTC]   #7 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]

On the /daemon/ console these task show up with null data and a very high failure count.

Is it normal for a task to have null data (i.e. the daemons should be able to deal with it) or did something break in my database (we had a power outage recently) that I need to fix manually?

Answers

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.