java.lang.ArrayIndexOutOfBoundsException
- Stack trace
-
- javassist.bytecode.StackMapTable$Walker.stackMapFrames(StackMapTable.java:192)
- javassist.bytecode.StackMapTable$Walker.parse(StackMapTable.java:179)
- javassist.bytecode.StackMapTable$Shifter.doit(StackMapTable.java:714)
- javassist.bytecode.StackMapTable.shiftPc(StackMapTable.java:693)
- javassist.bytecode.CodeIterator.insertGap0(CodeIterator.java:676)
- javassist.bytecode.CodeIterator.insertGap(CodeIterator.java:636)
- javassist.bytecode.CodeIterator.insertGapCore(CodeIterator.java:467)
- javassist.bytecode.CodeIterator.insertGap(CodeIterator.java:413)
- javassist.expr.Expr.replace0(Expr.java:298)
- javassist.expr.FieldAccess.replace(FieldAccess.java:213)
- org.apache.tapestry5.internal.services.InternalClassTransformationImpl$2.edit(InternalClassTransformationImpl.java:1739)
- javassist.expr.ExprEditor.loopBody(ExprEditor.java:197)
- javassist.expr.ExprEditor.doit(ExprEditor.java:90)
- javassist.CtClassType.instrument(CtClassType.java:1289)
- org.apache.tapestry5.internal.services.InternalClassTransformationImpl.replaceFieldAccess(InternalClassTransformationImpl.java:1745)
- org.apache.tapestry5.internal.services.InternalClassTransformationImpl.performFieldTransformations(InternalClassTransformationImpl.java:1673)
- org.apache.tapestry5.internal.services.InternalClassTransformationImpl.finish(InternalClassTransformationImpl.java:1336)
- org.apache.tapestry5.internal.services.ComponentClassTransformerImpl.transformComponentClass(ComponentClassTransformerImpl.java:172)
- org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.onLoad(ComponentInstantiatorSourceImpl.java:201)
- javassist.Loader.findClass(Loader.java:340)
- org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass(ComponentInstantiatorSourceImpl.java:92)
- javassist.Loader.loadClass(Loader.java:311)
- java.lang.ClassLoader.loadClass(ClassLoader.java:252)
- org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.findClass(ComponentInstantiatorSourceImpl.java:292)
- org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.findInstantiator(ComponentInstantiatorSourceImpl.java:272)
- org.apache.tapestry5.internal.services.PageElementFactoryImpl.newRootComponentElement(PageElementFactoryImpl.java:262)
- org.apache.tapestry5.internal.services.PageLoaderProcessor.loadRootComponent(PageLoaderProcessor.java:412)
- org.apache.tapestry5.internal.services.PageLoaderProcessor.loadPage(PageLoaderProcessor.java:390)
- org.apache.tapestry5.internal.services.PageLoaderImpl.loadPage(PageLoaderImpl.java:59)
- org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
- org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99)
- org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51)
- org.apache.tapestry5.internal.services.RequestSecurityManagerImpl.checkForInsecureRequest(RequestSecurityManagerImpl.java:59)
- org.apache.tapestry5.services.TapestryModule$35.handle(TapestryModule.java:1771)
- org.apache.tapestry5.internal.services.PageRenderDispatcher.process(PageRenderDispatcher.java:92)
- org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:71)
- org.apache.tapestry5.services.TapestryModule$17.service(TapestryModule.java:1029)
- cn.com.zzzz.store.services.AppModule$1.service(AppModule.java:88)
- org.apache.tapestry5.internal.services.LocalizationFilter.service(LocalizationFilter.java:42)
- org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
- org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:621)
- org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:611)
- org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
- org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
- org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:84)
- org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:83)
- org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
- org.apache.tapestry5.services.TapestryModule$16.service(TapestryModule.java:1007)
- org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44)
- org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
- org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:179)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
- org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
- org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
- org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
- org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
- org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
- org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
- java.lang.Thread.run(Thread.java:619)
------------------------------------------------
转换.java文件时出错,错误竟然是“超出数组边界”,但文件中并没有使用任何数组,百思不得其解。
在此.java文件中有用到@ApplicationState private User user;
但没有为user设置get和set方法,而是直接在.java文件中使用user=.....;
后修改为加上user的get和set方法,在.java文件中用setUser(....); getUser().....
上述错误解决,页面顺利显示。