Type Exception Report
Message String index out of range: -1
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.String.substring(String.java:1967) twinfeats.template.SiteTemplate.getBody(SiteTemplate.java:368) twinfeats.template.SiteTemplate.doPost(SiteTemplate.java:224) twinfeats.template.SiteTemplate.doGet(SiteTemplate.java:197) javax.servlet.http.HttpServlet.service(HttpServlet.java:656) javax.servlet.http.HttpServlet.service(HttpServlet.java:765) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.