How to render the TaskReportMacro

Hi Community,

i want to have a task-report-macro in my blueprint-index-page.
But i got following error message:

java.lang.NullPointerException
[INFO] [talledLocalContainer]   at XXX.TestMeetingNotesIndexContextProvider.renderTaskReportMacro

XXX.TestMeetingNotesIndexContextProvider.class

@Override
    protected BlueprintContext updateBlueprintContext(BlueprintContext context) {
        String spaceKey = context.getSpaceKey();
        String templateLabel = context.getTemplateLabel();

        context.put("taskReportMacro", renderTaskReportMacro(spaceKey, templateLabel));
        return context;
    }

    private String renderTaskReportMacro(String spaceKey, String label) {
        HashMap<String, String> soyContext = newHashMap();
        soyContext.put("spaces", spaceKey);
        soyContext.put("pageSize", "10");
        soyContext.put("spaceAndPage", "space:" + spaceKey);
        soyContext.put("labels", label);
        soyContext.put("status", "incomplete");

        return templateRendererHelper.renderMacroXhtml("tasks-report-macro", soyContext);
        // return soyContext.toString();
    }


Can anybody give me a hint, why this error comes?

Cheers,
Tim