收藏
回答

微信支付,使用信用卡+所属银行优惠券,回调时报错,是不是信用卡+优惠券返回消息和其他支付方式不一致

2020-07-07 07:34:56  [ http-nio-8080-exec-32:488570 ] - [ WARN ]  Error@/br/wxPay/notify/pay/order :

java.lang.NullPointerException

at com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult.toMap(WxPayOrderNotifyResult.java:347)

at com.registration.service.impl.MyWxPayServiceImpl.payCallback(MyWxPayServiceImpl.java:305)

at com.registration.action.WxPayAction.notify_pay_order(WxPayAction.java:50)

at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31)

at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)

at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:38)

at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)

at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)

at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)

at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)

at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)

at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)

at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)

at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)

at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)

at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)

at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)

at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:609)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)

回答关注问题邀请回答
收藏

4 个回答

  • Dyn
    Dyn
    2020-08-23

    遇到同样的问题

    2020-08-23
    有用
    回复 1
    • O_o
      O_o
      2020-08-31
      我的是weixin-java-pay-3.6.8.B.jar 版本问题
      2020-08-31
      回复
  • Coding
    Coding
    2020-08-15

    楼主解决了吗?

    2020-08-15
    有用
    回复 1
    • O_o
      O_o
      2020-08-31
      限制了信用卡支付,没有从根本上解决问题
      2020-08-31
      回复
  • Mr.sòng
    Mr.sòng
    2020-07-08

    微信的回调没有问题,你还是按照文档看一下相应的回调参数吧。

    2020-07-08
    有用
    回复
  • 微信支付技术助手8
    微信支付技术助手8
    2020-07-08

    你好,你这个是空指针异常。是你本地代码有问题。

    2020-07-08
    有用
    回复 1
    • O_o
      O_o
      2020-07-08
      是,但是我想知道是不是这种支付方式 返回和 其他支付方式返回 不同 ,因为其他支付方式都没问题
      2020-07-08
      回复
登录 后发表内容
问题标签