jfinal weixin1.2 公众平台通过,测试数据的时候抛出一个异常然后进不去protected void processInTextMsg(InTextMsg inTextMsg) 方法

weixin_38113326 2015-06-13 03:45:41
 开发四年只会写业务代码,分布式高并发都不会还做程序员?->>>    JFinal action report -------- 2015-06-13 15:42:17 ------------------------------ Controller  : com.npc.weixin.controller.WeixinMsgController.(WeixinMsgController.java:1) Method      : index Interceptor : com.jfinal.weixin.sdk.jfinal.MsgInterceptor.(MsgInterceptor.java:1) Parameter   : timestamp=1434181332  weixinId=123  nonce=2018124069  signature=c2c85271e5f9689ea04a9cee805958eb37a645d9   -------------------------------------------------------------------------------- 接收消息: 六月 13, 2015 3:42:17 下午 com.jfinal.core.ActionHandler error 严重: /msg?weixinId=123&signature=c2c85271e5f9689ea04a9cee805958eb37a645d9×tamp=1434181332&nonce=2018124069 java.lang.RuntimeException: java.lang.NullPointerException at com.jfinal.weixin.sdk.kit.MsgEncryptKit.decrypt(MsgEncryptKit.java:74) at com.jfinal.weixin.sdk.jfinal.MsgController.getInMsgXml(MsgController.java:117) at com.jfinal.weixin.sdk.jfinal.MsgController.index(MsgController.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.jfinal.core.ActionInvocation.invoke(ActionInvocation.java:55) at com.jfinal.weixin.sdk.jfinal.MsgInterceptor.intercept(MsgInterceptor.java:46) at com.jfinal.core.ActionInvocation.invoke(ActionInvocation.java:51) at com.jfinal.core.ActionHandler.handle(ActionHandler.java:73) at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:365) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.jfinal.weixin.sdk.kit.MsgEncryptKit.decrypt(MsgEncryptKit.java:61) ... 34 more
...全文
25 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

430

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧