•  
      request #29261 Crash when computing burnup graphs
    Infos
    #29261
    Thomas Gerbet (tgerbet)
    2022-10-28 14:24
    2022-10-28 10:54
    30855
    Details
    Crash when computing burnup graphs

    The generation crashes when the information about a burnup cannot be retrieved. Introduced by request #28875.

    Trace:

    PHP Fatal error:  Uncaught TypeError: Tuleap\AgileDashboard\FormElement\BurnupDataDAO::getBurnupInformationBasedOnDuration(): Return value must be of type array, null returned in /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataDAO.php:129
    Stack trace:
    #0 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_GENERATE.php(108): Tuleap\AgileDashboard\FormElement\BurnupDataDAO->getBurnupInformationBasedOnDuration()
    #1 /usr/share/tuleap/src/common/system_event/SystemEventProcessor.class.php(107): Tuleap\AgileDashboard\FormElement\SystemEvent\SystemEvent_BURNUP_GENERATE->process()
    #2 /usr/share/tuleap/src/common/system_event/SystemEventProcessor.class.php(86): SystemEventProcessor->executeSystemEvent()
    #3 /usr/share/tuleap/src/common/system_event/SystemEventProcessor.class.php(67): SystemEventProcessor->loopOverEventsForOwner()
    #4 /usr/share/tuleap/src/common/system_event/SystemEventProcessorMutex.class.php(62): SystemEventProcessor->execute()
    #5 /usr/share/tuleap/src/common/CLI/Command/ProcessSystemEventsCommand.php(81): SystemEventProcessorMutex->execute()
    #6 /usr/share/tuleap/src/vendor/symfony/console/Command/Command.php(291): Tuleap\CLI\Command\ProcessSystemEventsCommand->execute()
    #7 /usr/share/tuleap/src/vendor/symfony/console/Application.php(998): Symfony\Component\Console\Command\Command->run()
    #8 /usr/share/tuleap/src/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()
    #9 /usr/share/tuleap/src/common/CLI/Application.php(75): Symfony\Component\Console\Application->doRun()
    #10 /usr/share/tuleap/src/vendor/symfony/console/Application.php(171): Tuleap\CLI\Application->doRun()
    #11 /usr/share/tuleap/src/utils/tuleap.php(287): Symfony\Component\Console\Application->run()
    #12 {main}
      thrown in /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataDAO.php on line 129
    
    Agile Dashboard
    14.1
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2022-10-28
    Attachments
    Empty
    References

    Follow-ups