HTTP Status 500 - String index out of range: -10
\rtype Exception report \rmessageString index out of range: -10 \rdescriptionThe server encountered an internal error that prevented it from fulfilling this request. \rexception 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.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) .opensymphony.xwork2.DefauActionInvocation.invokeAction(DefauActionInvocation.java:452) .opensymphony.xwork2.DefauActionInvocation.invokeActionOnly(DefauActionInvocation.java:291) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:254) .opensymphony.xwork2.interceptor.DefauWorkflowInterceptor.doIntercept(DefauWorkflowInterceptor.java:176)这章没有结束,请点击下一页继续阅读! .opensymphony.xwork2.interceptor.MethodFierInterceptor.intercept(MethodFierInterceptor.java:98) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263) org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) .opensymphony.xwork2.interceptor.MethodFierInterceptor.intercept(MethodFierInterceptor.java:98) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207) .opensymphony.xwork2.interceptor.MethodFierInterceptor.intercept(MethodFierInterceptor.java:98) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207) .opensymphony.xwork2.interceptor.MethodFierInterceptor.intercept(MethodFierInterceptor.java:98) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) org.apache.struts2.interceptor.MuiselectInterceptor.intercept(MuiselectInterceptor.java:75) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)小主,这个章节后面还有哦,请点击下一页继续阅读,后面更精彩! .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166) .opensymphony.xwork2.interceptor.MethodFierInterceptor.intercept(MethodFierInterceptor.java:98) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248) .opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.java:248)本小章还未完,请点击下一页继续阅读后面精彩内容! .opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187) .opensymphony.xwork2.DefauActionInvocation.invoke(DefauActionInvocation.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.fier.StrutsPrepareAndExecuteFier.doFier(StrutsPrepareAndExecuteFier.java:91) \rnoteThe full stack trace of the root cause is available in the Apache Tomcat/7.0.62 logs.