|
版本: |
|
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
本帖最后由 江苏院-吴昊 于 2019-10-29 13:56 编辑
如果我把SA_code里wxMenuConfig的值置为null,发送微信消息是,pushserver就会报:
2019-10-29 10:38:48 [MQTT Call: PushServer.r] [com.justep.push.processor.WeiXinMessageProcessor] ERROR: null
java.lang.NullPointerException
at com.justep.push.processor.WeiXinMessageProcessor.a(Unknown Source)
at com.justep.push.processor.WeiXinMessageProcessor.execute(Unknown Source)
at com.justep.push.MessageEngine.a(Unknown Source)
at com.justep.push.MessageEngine.execute(Unknown Source)
at com.justep.push.a.messageArrived(Unknown Source)
at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:349)
at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:162)
at java.lang.Thread.run(Thread.java:745)
2019-10-29 10:38:48 [MQTT Call: PushServer.r] [com.justep.push.processor.WeiXinMessageProcessor] ERROR: 获取微信应用号出错!
2019-10-29 10:38:48 [MQTT Call: PushServer.r] [com.justep.push.MessageEngine] ERROR: 消息:{"aps":{"alert":"合同审批提醒"},"e":{"configKey":"XXXXXXXXXX","description":"[合同名称] 微信测试3.8\n[合同编号] XX-2019-039\n[合同金额] 1.00 元\n[承办人员] 吴昊\n[发送日期] 2019-10-29 10:38","task":"566AA20823524143976A1998D277C211"},"type":"default","url":"http://neu529.natappfree.cc/x5/UI2/COMS/cg/process/supplyContract/process1.a?task=566AA20823524143976A1998D277C211&process=/COMS/cg/process/supplyContract/supplyContractProcess&activity=process1"}发送到[/101023/weixin/101023/business, 101023,weixin, weixin失败!可能的原因:发送微信消息出错, 原因:获取的AppID为空!
java.lang.RuntimeException: 发送微信消息出错, 原因:获取的AppID为空!
at com.justep.push.processor.WeiXinMessageProcessor.execute(Unknown Source)
at com.justep.push.MessageEngine.a(Unknown Source)
at com.justep.push.MessageEngine.execute(Unknown Source)
at com.justep.push.a.messageArrived(Unknown Source)
at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:349)
at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:162)
at java.lang.Thread.run(Thread.java:745)
我不懂为什么要去查这个配置,发送消息,跟菜单有什么关系??
|
|