binarywang / weixin-java-miniapp-demo

基于Spring Boot 和 WxJava 实现的微信小程序Java后端Demo
1.34k stars 679 forks source link

获取token报空指针异常 #78

Open libeimarch opened 2 months ago

libeimarch commented 2 months ago

检查了配置和代码也没解决,麻烦指导一下,使用4.6.0 出现NullPointerException 异常 at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.getAccessToken(BaseWxMaServiceImpl.java:173) at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.executeInternal(BaseWxMaServiceImpl.java:290) at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.execute(BaseWxMaServiceImpl.java:253) at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.post(BaseWxMaServiceImpl.java:227) at cn.binarywang.wx.miniapp.api.impl.WxMaMsgServiceImpl.sendSubscribeMsg(WxMaMsgServiceImpl.java:36) cgm3

cgm4

binarywang commented 6 days ago

空指针你调试下不就知道问题原因了吗?