apache tomcat/7.0.62 - error report http status 500 - string index out of range: -10
\r
type exception report\r
message string index out of range: -10\r
description the server encountered an internal error that prevented it from fulfilling this request.\r
exception
java.lang.stringindexoutofboundsexception: string index out of range: -10
java.lang.string.substring(string.java:1911)
com.lib.decryptutil.filedecrypt(decryptutil.java:22)
com.encrypt.action.execute(action.java:61)
sun.reflect.generatedmethodaccessor38.invoke(unknown source)
sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)
java.lang.reflect.method.invoke(method.java:606)
com.opensymphony.xwork2.defaultactioninvocation.invokeaction(defaultactioninvocation.java:452)
com.opensymphony.xwork2.defaultactioninvocation.invokeactiononly(defaultactioninvocation.java:291)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:254)
com.opensymphony.xwork2.interceptor.defaultworkflowinterceptor.dointercept(defaultworkflowinterceptor.java:176)
com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.validator.validationinterceptor.dointercept(validationinterceptor.java:263)
org.apache.struts2.interceptor.validation.annotationvalidationinterceptor.dointercept(annotationvalidationinterceptor.java:68)
com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.conversionerrorinterceptor.intercept(conversionerrorinterceptor.java:133)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:207)
com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:207)
com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.staticparametersinterceptor.intercept(staticparametersinterceptor.java:190)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
org.apache.struts2.interceptor.multiselectinterceptor.intercept(multiselectinterceptor.java:75)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
org.apache.struts2.interceptor.checkboxinterceptor.intercept(checkboxinterceptor.java:94)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
org.apache.struts2.interceptor.fileuploadinterceptor.intercept(fileuploadinterceptor.java:243)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.modeldriveninterceptor.intercept(modeldriveninterceptor.java:100)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.scopedmodeldriveninterceptor.intercept(scopedmodeldriveninterceptor.java:141)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
org.apache.struts2.interceptor.debugging.debugginginterceptor.intercept(debugginginterceptor.java:267)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.chaininginterceptor.intercept(chaininginterceptor.java:142)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.prepareinterceptor.dointercept(prepareinterceptor.java:166)
com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:98)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.i18ninterceptor.intercept(i18ninterceptor.java:176)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
org.apache.struts2.interceptor.servletconfiginterceptor.intercept(servletconfiginterceptor.java:164)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.aliasinterceptor.intercept(aliasinterceptor.java:190)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
com.opensymphony.xwork2.interceptor.exceptionmappinginterceptor.intercept(exceptionmappinginterceptor.java:187)
com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:248)
org.apache.struts2.impl.strutsactionproxy.execute(strutsactionproxy.java:52)
org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:485)
org.apache.struts2.dispatcher.ng.executeoperations.executeaction(executeoperations.java:77)
org.apache.struts2.dispatcher.ng.filter.strutsprepareandexecutefilter.dofilter(strutsprepareandexecutefilter.java:91)
\r
note the full stack trace of the root cause is available in the apache tomcat/7.0.62 logs.
apache tomcat/7.0.62
(梨树文学http://www.lishu123.com)