Fórumok

API error messages

thumbnail
Ken M. Penner, módosítva 5 év-val korábban

API error messages

Padawan Bejegyzések: 31 Csatlakozás dátuma: 2018.06.22. Legújabb bejegyzések
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);