Java Client - getTemplate response is null



  • When using the java client, the jsReportService getTemplate service the response is always null.
    In the getTemplate request response, the template value is in the list of values ​​as well as in the listTemplates, but as you can see in the jsReportService it is taken from the template attribute.

    public Template getTemplate(String id) throws JsReportException {
        return ((GetTemplateResponse)processSyncCall(this.jsreportRetrofitService.getTemplate(id)).body()).getTemplate();
    }
    
    public List<Template> listTemplates() throws JsReportException {
        return ((ListTemplateResponse)processSyncCall(this.jsreportRetrofitService.listTemplates()).body()).getValue();
    }

Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.