You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input
at com.wechat.pay.java.core.util.PemUtil.loadX509FromStream(PemUtil.java:114)
at com.wechat.pay.java.core.util.PemUtil.loadX509FromString(PemUtil.java:172)
at com.wechat.pay.java.core.notification.RSANotificationConfig$Builder.certificates(RSANotificationConfig.java:64)
at com.mineway.crm.service.pay.WxPayService.getDecryptObject(WxPayService.java:139)
at com.mineway.crm.service.impl.OrderServiceImpl.payNotify(OrderServiceImpl.java:276)
重现bug的步骤
java.lang.IllegalArgumentException: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input
at com.wechat.pay.java.core.util.PemUtil.loadX509FromStream(PemUtil.java:114)
at com.wechat.pay.java.core.util.PemUtil.loadX509FromString(PemUtil.java:172)
at com.wechat.pay.java.core.notification.RSANotificationConfig$Builder.certificates(RSANotificationConfig.java:64)
at com.mineway.crm.service.pay.WxPayService.getDecryptObject(WxPayService.java:139)
at com.mineway.crm.service.impl.OrderServiceImpl.payNotify(OrderServiceImpl.java:276)
预期行为
java.lang.IllegalArgumentException: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input
at com.wechat.pay.java.core.util.PemUtil.loadX509FromStream(PemUtil.java:114)
at com.wechat.pay.java.core.util.PemUtil.loadX509FromString(PemUtil.java:172)
at com.wechat.pay.java.core.notification.RSANotificationConfig$Builder.certificates(RSANotificationConfig.java:64)
at com.mineway.crm.service.pay.WxPayService.getDecryptObject(WxPayService.java:139)
at com.mineway.crm.service.impl.OrderServiceImpl.payNotify(OrderServiceImpl.java:276)
导致错误的代码片段
No response
操作系统
macOS
Java 版本
Java8
wechatpay-java 版本
0.2.2
其他信息
No response
The text was updated successfully, but these errors were encountered:
错误描述
java.lang.IllegalArgumentException: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input
at com.wechat.pay.java.core.util.PemUtil.loadX509FromStream(PemUtil.java:114)
at com.wechat.pay.java.core.util.PemUtil.loadX509FromString(PemUtil.java:172)
at com.wechat.pay.java.core.notification.RSANotificationConfig$Builder.certificates(RSANotificationConfig.java:64)
at com.mineway.crm.service.pay.WxPayService.getDecryptObject(WxPayService.java:139)
at com.mineway.crm.service.impl.OrderServiceImpl.payNotify(OrderServiceImpl.java:276)
重现bug的步骤
java.lang.IllegalArgumentException: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input
at com.wechat.pay.java.core.util.PemUtil.loadX509FromStream(PemUtil.java:114)
at com.wechat.pay.java.core.util.PemUtil.loadX509FromString(PemUtil.java:172)
at com.wechat.pay.java.core.notification.RSANotificationConfig$Builder.certificates(RSANotificationConfig.java:64)
at com.mineway.crm.service.pay.WxPayService.getDecryptObject(WxPayService.java:139)
at com.mineway.crm.service.impl.OrderServiceImpl.payNotify(OrderServiceImpl.java:276)
预期行为
java.lang.IllegalArgumentException: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input
at com.wechat.pay.java.core.util.PemUtil.loadX509FromStream(PemUtil.java:114)
at com.wechat.pay.java.core.util.PemUtil.loadX509FromString(PemUtil.java:172)
at com.wechat.pay.java.core.notification.RSANotificationConfig$Builder.certificates(RSANotificationConfig.java:64)
at com.mineway.crm.service.pay.WxPayService.getDecryptObject(WxPayService.java:139)
at com.mineway.crm.service.impl.OrderServiceImpl.payNotify(OrderServiceImpl.java:276)
导致错误的代码片段
No response
操作系统
macOS
Java 版本
Java8
wechatpay-java 版本
0.2.2
其他信息
No response
The text was updated successfully, but these errors were encountered: