Page MenuHomeDevCentral

Null exception in PhabricatorStory::getItemProjectsPHIDsThroughApplicationSearch() when notifications user account doesn't have an access to a paste
Closed, ResolvedPublic

Description

Similar to T1136 but for paste.

Payload

{"storyID":"11900","storyType":"PhabricatorApplicationTransactionFeedStory","storyData":{"objectPHID":"PHID-PSTE-o36cfqpc2ssagop3sqcq","transactionPHIDs":{"PHID-XACT-PSTE-xclw52oh7xfuibv":"PHID-XACT-PSTE-xclw52oh7xfuibv"}},"storyAuthorPHID":"PHID-USER-fnetlprx7zdotfm2hdrz","storyText":"dereckson edited P242 Eglide zone file 2017-01-25.","epoch":"1485469454"}

Stacktrace

Trying to get property of non-object  
() at /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorStory.php:259
Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorStory.php:259
Nasqueron\Notifications\Phabricator\PhabricatorStory->getItemProjectsPHIDsThroughApplicationSearch() at /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorStory.php:173
Nasqueron\Notifications\Phabricator\PhabricatorStory->getProjectsPHIDs() at /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorStory.php:281
Nasqueron\Notifications\Phabricator\PhabricatorStory->attachProjects() at /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorStory.php:269
Nasqueron\Notifications\Phabricator\PhabricatorStory->getProjects() at /home/ubuntu/workspace/notifications/app/Analyzers/Phabricator/PhabricatorPayloadAnalyzer.php:56
Nasqueron\Notifications\Analyzers\Phabricator\PhabricatorPayloadAnalyzer->getGroup() at /home/ubuntu/workspace/notifications/app/Notifications/PhabricatorNotification.php:55
Nasqueron\Notifications\Notifications\PhabricatorNotification->getGroup() at /home/ubuntu/workspace/notifications/app/Notifications/PhabricatorNotification.php:30
Nasqueron\Notifications\Notifications\PhabricatorNotification->__construct() at /home/ubuntu/workspace/notifications/app/Console/Commands/NotificationsPayload.php:169

Event Timeline

dereckson renamed this task from Null exception in PhabricatorStory::getRepositoryPHID() when notifications user account doesn't have an access to a paste to Null exception in PhabricatorStory::getItemProjectsPHIDsThroughApplicationSearch() when notifications user account doesn't have an access to a paste.Jan 28 2017, 00:11
dereckson created this task.