Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.5.0版本公众号消息异常 #3003

Closed
qianyingchao opened this issue May 4, 2023 · 2 comments · Fixed by #2999
Closed

4.5.0版本公众号消息异常 #3003

qianyingchao opened this issue May 4, 2023 · 2 comments · Fixed by #2999

Comments

@qianyingchao
Copy link

image
如图所示,跟踪了下代码,WxMpMessageRouter类上的问题。
WxMpXmlOutMessage route(final WxMpXmlMessage wxMessage, final Map<String, Object> context, WxMpService wxMpService)
这个方法中调用this.wxMpService.switchoverTo(appId);报错,wxMpServiceb变量是null.

@binarywang
Copy link
Owner

请先参考#2995 进行特殊处理,这个问题后面版本会尽快做修复

@binarywang binarywang linked a pull request May 4, 2023 that will close this issue
@biubiubiu3971
Copy link

image 如图所示,跟踪了下代码,WxMpMessageRouter类上的问题。 WxMpXmlOutMessage route(final WxMpXmlMessage wxMessage, final Map<String, Object> context, WxMpService wxMpService) 这个方法中调用this.wxMpService.switchoverTo(appId);报错,wxMpServiceb变量是null.

@qianyingchao 是不是初始化 WxMpMessageRouter 这个bean的时候设置的WxMpService为null对象呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants