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)
.lib.decryptutil.filedecrypt(decryptutil.java:22)
.encrypt.action.execute(action.java:59)
sun.reflect.generatedmethodaccessor38.comvoke(unknoethodaccessorimpl.comvoke(delega挺methodaccessorimpl.java:43)
java.lang.reflect.method.comvoke(method.java:606)
.opensymphony.xinvocation.comvokeaction(defaultactioninvocation.java:452)
.opensymphony.xinvocation.comvokeactiononly(defaultactioninvocation.java:291)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:254)
.opensymphony.xterceptor.dointercept(defaultphony.xterceptor.comtercept(methodfilterinterceptor.java:98)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xinterceptor.dointercept(validationinterceptor.java:263)
.apache.struts2.comterceptor.validation.annotationvalidationinterceptor.dointercept(annotationvalidationinterceptor.java:68)
.opensymphony.xterceptor.comtercept(methodfilterinterceptor.java:98)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xversionerrorinterceptor.comtercept(conversionerrorinterceptor.java:133)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xterceptor.dointercept(parametersinterceptor.java:207)
.opensymphony.xterceptor.comtercept(methodfilterinterceptor.java:98)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xterceptor.dointercept(parametersinterceptor.java:207)
.opensymphony.xterceptor.comtercept(methodfilterinterceptor.java:98)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xterceptor.comtercept(staticparametersinterceptor.java:190)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.apache.struts2.comterceptor.multiselectinterceptor.comtercept(multiselectinterceptor.java:75)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.apache.struts2.comterceptor.checkboxinterceptor.comtercept(checkboxinterceptor.java:94)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.apache.struts2.comterceptor.fileuploadinterceptor.comtercept(fileuploadinterceptor.java:243)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xinterceptor.comtercept(摸deldriveninterceptor.java:100)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xinterceptor.comtercept(scoped摸deldriveninterceptor.java:141)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.apache.struts2.comterceptor.debugging.debugginginterceptor.comtercept(debugginginterceptor.java:267)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xinginterceptor.comtercept(chaininginterceptor.java:142)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xterceptor.dointercept(prepareinterceptor.java:166)
.opensymphony.xterceptor.comtercept(methodfilterinterceptor.java:98)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xinterceptor.comtercept(i18ninterceptor.java:176)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.apache.struts2.comterceptor.comrvletconfiginterceptor.comtercept(servletconfiginterceptor.java:164)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xterceptor.comtercept(aliasinterceptor.java:190)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.opensymphony.xmappinginterceptor.comtercept(exceptionmappinginterceptor.java:187)
.opensymphony.xinvocation.comvoke(defaultactioninvocation.java:248)
.apache.struts2.impl.strutsactionproxy.execute(strutsactionproxy.java:52)
.apache.struts2.dispatcher.dispatcher.comrviceaction(dispatcher.java:485)
.apache.struts2.dispatcher.ng.executeoperations.executeaction(executeoperations.java:77)
.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.