Fórum

API error messages

thumbnail
Ken M. Penner, modificado 4 Anos atrás.

API error messages

Padawan Postagens: 31 Data de Entrada: 22/06/18 Postagens Recentes
At /community/vmr/api/projectmanagement/project/data/listchildren/ I get an error that starts out as follows:
​​​​​​​type Exception reportmessage Unable to compile class for JSP:description The server encountered an internal error that prevented it from fulfilling this request.exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 56 in the jsp file: /vmr/api/projectmanagement/project/data/listchildren/index.jsp
history cannot be resolved to a variable
53:         return;
54:     }
55:
56:     if (format == FORMAT_XML || history) out.print("<keyChildren projectID=\""+pr.getProjectID()+"\" projectName=\""+pr.getProjectName()+"\" key=\""+key+"\" keyPath=\""+path+"\" count=\""+keys.size()+"\">");
57:     else if (format == FORMAT_JSON) response.setContentType("application/json");
58:     else if (format == FORMAT_TXT) response.setContentType("text/plain");
59:     JSONArray jsonResults = (format == FORMAT_JSON ? new JSONArray() : null);