•  
      request #10629 Cross tracker search: impossible to select trackers
    Infos
    #10629
    Manuel Vacelet (vaceletm)
    2017-09-08 16:01
    2017-09-07 12:05
    10869
    Details
    Cross tracker search: impossible to select trackers
    When I want to select trackers, I'm getting an error related to the following REST call:
    
    
    https://tuleap-web.tuleap-aio-dev.docker/api/v1/projects/?limit=50&query={"is_member_of":true}&offset=0
    <br />
    <font size='1'><table class='xdebug-error xe-fatal-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
    <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to a member function getId() on null in /usr/share/tuleap/plugins/agiledashboard/include/Planning/Planning.class.php on line <i>159</i></th></tr>
    <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
    <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
    <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0000</td><td bgcolor='#eeeeec' align='right'>240136</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='/usr/share/tuleap/src/www/api/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>0</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0344</td><td bgcolor='#eeeeec' align='right'>8021600</td><td bgcolor='#eeeeec'>Luracast\Restler\Restler->handle(  )</td><td title='/usr/share/tuleap/src/www/api/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>94</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0367</td><td bgcolor='#eeeeec' align='right'>8142752</td><td bgcolor='#eeeeec'>Luracast\Restler\Restler->call(  )</td><td title='/usr/share/restler/vendor/Luracast/Restler/Restler.php' bgcolor='#eeeeec'>../Restler.php<b>:</b>304</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0456</td><td bgcolor='#eeeeec' align='right'>10270464</td><td bgcolor='#eeeeec'><a href='http://www.php.net/function.call-user-func-array:{/usr/share/restler/vendor/Luracast/Restler/Restler.php:1030}' target='_new'>call_user_func_array:{/usr/share/restler/vendor/Luracast/Restler/Restler.php:1030}</a>
    (  )</td><td title='/usr/share/restler/vendor/Luracast/Restler/Restler.php' bgcolor='#eeeeec'>../Restler.php<b>:</b>1030</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0456</td><td bgcolor='#eeeeec' align='right'>10271160</td><td bgcolor='#eeeeec'>Tuleap\Project\REST\v1\ProjectResource->get(  )</td><td title='/usr/share/restler/vendor/Luracast/Restler/Restler.php' bgcolor='#eeeeec'>../Restler.php<b>:</b>1030</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0482</td><td bgcolor='#eeeeec' align='right'>10536992</td><td bgcolor='#eeeeec'>Tuleap\Project\REST\v1\ProjectResource->sendProjectRepresentations(  )</td><td title='/usr/share/tuleap/src/common/project/REST/v1/ProjectResource.class.php' bgcolor='#eeeeec'>../ProjectResource.class.php<b>:</b>255</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.1412</td><td bgcolor='#eeeeec' align='right'>13448192</td><td bgcolor='#eeeeec'>Tuleap\Project\REST\v1\ProjectResource->getProjectRepresentation(  )</td><td title='/usr/share/tuleap/src/common/project/REST/v1/ProjectResource.class.php' bgcolor='#eeeeec'>../ProjectResource.class.php<b>:</b>262</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.1439</td><td bgcolor='#eeeeec' align='right'>13544152</td><td bgcolor='#eeeeec'>EventManager->processEvent(  )</td><td title='/usr/share/tuleap/src/common/project/REST/v1/ProjectResource.class.php' bgcolor='#eeeeec'>../ProjectResource.class.php<b>:</b>404</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.1439</td><td bgcolor='#eeeeec' align='right'>13544152</td><td bgcolor='#eeeeec'>EventManager->processEventOnListener(  )</td><td title='/usr/share/tuleap/src/common/event/EventManager.class.php' bgcolor='#eeeeec'>../EventManager.class.php<b>:</b>94</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.1439</td><td bgcolor='#eeeeec' align='right'>13544152</td><td bgcolor='#eeeeec'>PluginProxy->processEvent(  )</td><td title='/usr/share/tuleap/src/common/event/EventManager.class.php' bgcolor='#eeeeec'>../EventManager.class.php<b>:</b>106</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.1439</td><td bgcolor='#eeeeec' align='right'>13544152</td><td bgcolor='#eeeeec'>AgileDashboardPlugin->rest_project_additional_informations(  )</td><td title='/usr/share/tuleap/src/common/plugin/PluginProxy.php' bgcolor='#eeeeec'>../PluginProxy.php<b>:</b>64</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.1439</td><td bgcolor='#eeeeec' align='right'>13545048</td><td bgcolor='#eeeeec'>PlanningFactory->getRootPlanning(  )</td><td title='/usr/share/tuleap/plugins/agiledashboard/include/agiledashboardPlugin.class.php' bgcolor='#eeeeec'>../agiledashboardPlugin.class.php<b>:</b>704</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.1439</td><td bgcolor='#eeeeec' align='right'>13545048</td><td bgcolor='#eeeeec'>PlanningFactory->getOrderedPlanningsWithBacklogTracker(  )</td><td title='/usr/share/tuleap/plugins/agiledashboard/include/Planning/PlanningFactory.class.php' bgcolor='#eeeeec'>../PlanningFactory.class.php<b>:</b>218</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.1439</td><td bgcolor='#eeeeec' align='right'>13545048</td><td bgcolor='#eeeeec'>PlanningFactory->getPlannings(  )</td><td title='/usr/share/tuleap/plugins/agiledashboard/include/Planning/PlanningFactory.class.php' bgcolor='#eeeeec'>../PlanningFactory.class.php<b>:</b>346</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.1444</td><td bgcolor='#eeeeec' align='right'>13558336</td><td bgcolor='#eeeeec'>PlanningFactory->getPlanningFromRow(  )</td><td title='/usr/share/tuleap/plugins/agiledashboard/include/Planning/PlanningFactory.class.php' bgcolor='#eeeeec'>../PlanningFactory.class.php<b>:</b>156</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.1450</td><td bgcolor='#eeeeec' align='right'>13574400</td><td bgcolor='#eeeeec'>Planning->setBacklogTrackers(  )</td><td title='/usr/share/tuleap/plugins/agiledashboard/include/Planning/PlanningFactory.class.php' bgcolor='#eeeeec'>../PlanningFactory.class.php<b>:</b>409</td></tr>
    </table></font>

     

    Trackers
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Manuel Vacelet (vaceletm)
    Closed
    2017-09-08
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    According to my tests, it seems to be related to 1 project in the list because when I change the limit to lower the amount of results, I'm getting the right result