求助:java开发一个微信项目,客户端 点击服务报服务器异常,tomcat报错如下:

坚强的糖糖 发布于 2016/07/25 21:23
阅读 650
收藏 0
17:32 DEBUG [o.s.j.d.DataSourceUtils] Fetching JDBC Connection from DataSource
17:32 DEBUG [C.queryCommSeq] ==>  Preparing: select YT_WEIXIN_COMM_LOG_SEQ.nextval from DUAL
17:32 DEBUG [C.queryCommSeq] ==> Parameters:
17:32 DEBUG [C.queryCommSeq] <==      Total: 1
17:32 DEBUG [o.s.j.d.DataSourceUtils] Returning JDBC Connection to DataSource
17:32 DEBUG [c.c.y.a.n.n.SocketClient] 服务器地址:  172.16.92.5 : 9910
17:32 DEBUG [c.c.y.a.n.n.SocketClient] request:0258221000                                                                  8901000197      e0197       WX2016072500007886053230                                                                                                                  010100122222       
17:32 INFO  [c.c.y.a.n.n.SocketClient] 返回的报文长度 = 0
17:32 DEBUG [c.c.y.a.n.n.SocketClient] response:
17:32 DEBUG [c.c.y.a.n.n.SocketClient] 交易耗时:2 ms
17:32 INFO  [c.c.y.a.n.n.NetConfParser4nmqz] xml路径:WEB-INF/disgram/nmqz/normal/dianQianQry.xml
17:32 ERROR [c.c.y.c.i.NormalFlowController] error
java.lang.ArrayIndexOutOfBoundsException: null
 at java.lang.System.arraycopy(Native Method) ~[na:1.6.0_43]
 at cn.com.yitong.ares.net.nmqz.NetResponse4nmqz.parseItem(NetResponse4nmqz.java:192) ~[classes/:na]
 at cn.com.yitong.ares.net.nmqz.NetResponse4nmqz.parseHeader(NetResponse4nmqz.java:73) ~[classes/:na]
 at cn.com.yitong.ares.net.nmqz.NetResponse4nmqz.parserResponseData(NetResponse4nmqz.java:51) ~[classes/:na]
 at cn.com.yitong.ares.net.nmqz.NetTools4nmqz.execute(NetTools4nmqz.java:38) ~[classes/:na]
 at cn.com.yitong.actions.net.NmqzTransOp.execute(NmqzTransOp.java:50) ~[classes/:na]
 at cn.com.yitong.ares.flow.AresServiceStep.run(AresServiceStep.java:28) ~[classes/:na]
 at cn.com.yitong.ares.flow.AresFlowDispatch.auto(AresFlowDispatch.java:62) ~[classes/:na]
 at cn.com.yitong.ares.flow.AresFlowDispatch.auto(AresFlowDispatch.java:63) ~[classes/:na]
 at cn.com.yitong.ares.flow.AresFlowDispatch.execute(AresFlowDispatch.java:43) ~[classes/:na]
 at cn.com.yitong.ctrls.inte.NormalFlowController.execute(NormalFlowController.java:92) ~[classes/:na]
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_43]
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_43]
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_43]
 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_43]
 at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440) [spring-webmvc-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428) [spring-webmvc-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) [spring-webmvc-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) [spring-webmvc-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at cn.com.yitong.ares.core.SpringDispatcherServlet.doService(SpringDispatcherServlet.java:22) [classes/:na]
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) [spring-webmvc-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838) [spring-webmvc-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) [servlet-api.jar:na]
 at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) [spring-webmvc-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) [servlet-api.jar:na]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.69]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.69]
 at cn.com.yitong.ares.filter.SessionFilter.doFilter(SessionFilter.java:79) [classes/:na]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.69]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.69]
 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.69]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.69]
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.69]
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.69]
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [catalina.jar:7.0.69]
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.69]
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.69]
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [catalina.jar:7.0.69]
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.69]
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [catalina.jar:7.0.69]
 at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-coyote.jar:7.0.69]
 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-coyote.jar:7.0.69]
 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-coyote.jar:7.0.69]
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_43]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_43]
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.69]
 at java.lang.Thread.run(Thread.java:662) [na:1.6.0_43]
17:32 DEBUG [c.c.y.c.i.NormalFlowController] end:false
17:32 INFO  [c.c.y.a.l.CommonLogOp] ---------CommonLogOp run---------
17:32 DEBUG [o.s.w.s.m.a.AnnotationMethodHandlerAdapter] Written [{MSG=系统异常,请稍候再访问, STATUS=common.system_error}] as "application/json" using [cn.com.yitong.ares.channel.JsonHttpMessageConverter@3a765e8c]
17:32 DEBUG [c.c.y.a.c.SpringDispatcherServlet] Null ModelAndView returned to DispatcherServlet with name 'appServlet': assuming HandlerAdapter completed request handling
17:32 DEBUG [c.c.y.a.c.SpringDispatcherServlet] times: 56 ms,end http://localhost:8081/ares_pmb/normal/dianQianQry.do
17:32 DEBUG [c.c.y.a.c.SpringDispatcherServlet] Successfully completed request
加载中
0
Mr_K
Mr_K
ArrayIndexOutOfBoundsException:非法索引访问数组时抛出的异常。
                                如果索引为负或大于等于数组大小,则该索引为非法索引

看你的c.c.y.c.i.NormalFlowController 里 使用数组或集合索引的地方~


返回顶部
顶部