http status 500 - string index out of range: -10
\r type exceptn report\r message string index out of range: -10\r descriptn the server encountered an internal error that prevented it from fulfilling this request.\r exceptn java.ng.stringindexoutofboundsexceptn: string index out of range: -10 java.ng.string.substring(string.java:1911) .lib.decryptutil.filedecrypt(decryptutil.java:22) .encrypt.actn.execute(actn.java:59) sun.reflect.generatedmethodaccessor38.invoke(unknown source) sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) java.ng.reflect.method.invoke(method.java:606) .opensymphony.xwork2.defaultactninvocatn.invokeactn(defaultactninvocatn.java:452) .opensymphony.xwork2.defaultactninvocatn.invokeactnonly(defaultactninvocatn.java:291) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:254) .opensymphony.xwork2.interceptor.defaultworkflowinterceptor.dointercept(defaultworkflowinterceptor.java:176) .opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.validator.validatninterceptor.dointercept(validatninterceptor.java:263) org.apache.struts2.interceptor.validatn.annotatnvalidatninterceptor.dointercept(annotatnvalidatninterceptor.java:68) .opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.conversnerrorinterceptor.intercept(conversnerrorinterceptor.java:133) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:207) .opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:207) .opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.staticparametersinterceptor.intercept(staticparametersinterceptor.java:190) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) org.apache.struts2.interceptor.multiselectinterceptor.intercept(multiselectinterceptor.java:75) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) org.apache.struts2.interceptor.checkboxinterceptor.intercept(checkboxinterceptor.java:94) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) org.apache.struts2.interceptor.fileuploadinterceptor.intercept(fileuploadinterceptor.java:243) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.modeldriveninterceptor.intercept(modeldriveninterceptor.java:100) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.scopedmodeldriveninterceptor.intercept(scopedmodeldriveninterceptor.java:141) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) org.apache.struts2.interceptor.debugging.debugginginterceptor.intercept(debugginginterceptor.java:267) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.chaininginterceptor.intercept(chaininginterceptor.java:142) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.prepareinterceptor.dointercept(prepareinterceptor.java:166) .opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.i18ninterceptor.intercept(i18ninterceptor.java:176) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) org.apache.struts2.interceptor.servletconfiginterceptor.intercept(servletconfiginterceptor.java:164) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.aliasinterceptor.intercept(aliasinterceptor.java:190) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) .opensymphony.xwork2.interceptor.exceptnmappinginterceptor.intercept(exceptnmappinginterceptor.java:187) .opensymphony.xwork2.defaultactninvocatn.invoke(defaultactninvocatn.java:248) org.apache.struts2.impl.strutsactnproxy.execute(strutsactnproxy.java:52) org.apache.struts2.dispatcher.dispatcher.serviceactn(dispatcher.java:485) org.apache.struts2.dispatcher.ng.executeoperatns.executeactn(executeoperatns.java:77) org.apache.struts2.dispatcher.ng.filter.strutsprepareandexecutefilter.dofilter(strutsprepareandexecutefilter.java:91) \r note the full stack trace of the root cause is avaible in the apache tomcat/7.0.62 logs.