Message Boards

API error messages

thumbnail
Ken M. Penner, modified 4 Years ago.

API error messages

Padawan Posts: 31 Join Date: 6/22/18 Recent Posts
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);