java使用会话存档sdk调用获取媒体素材报错?
int ret = Finance.GetMediaData(sdk, indexbuf, sdkfileid, proxy, passwd, timeout, mediaData);
me.chanjar.weixin.common.error.WxErrorException: 错误代码:-99, 错误信息:getmediadata err ret 10002
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f625e88e532, pid=1, tid=0x00007f5fc91d5700
#
# JRE version: OpenJDK Runtime Environment (8.0_111-b14) (build 1.8.0_111-8u111-b14-2~bpo8+1-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.111-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libc.so.6+0x36532] abort+0x232
#
# Core dump written. Default location: //core or core.1
#
# An error report file with more information is saved as:
# //hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
我也需要这个新的包 麻烦发我一下 谢谢 a787574044@qq.com
2022-11-29 02:58:22.555 ERROR 1 --- [ Thread-34] c.b.a.s.s.thirdparty.WxCorpServiceImpl : 调用企业微信出现问题
me.chanjar.weixin.common.error.WxErrorException: 错误代码:-99, 错误信息:getmediadata err ret 10002
at me.chanjar.weixin.cp.api.impl.WxCpMsgAuditServiceImpl.getMediaFile(WxCpMsgAuditServiceImpl.java:176)
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007f865536f5e3, pid=1, tid=0x00007f86567ea700
# JRE version: OpenJDK Runtime Environment (8.0_342-b07) (build 1.8.0_342-b07)
# Java VM: OpenJDK 64-Bit Server VM (25.342-b07 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libWeWorkFinanceSdk_Java.so+0x45b5e3] std::string::size() const+0x3
# Core dump written. Default location: //core or core.1
# An error report file with more information is saved as:
# //hs_err_pid1.log
#
[error occurred during error reporting , id 0xb]
调用是传入的参数和sdkfileid日志没记录.
你好,重试下是否正常,还不行的话可以提供下以下参数确认下
Corpid:
相关代码返回:
调用接口:
调用时间点:
调用是传入的参数:
sdkfileid:
然后发现另外一个问题. 接口返回10010用户欲拉取的数据已过期,仅支持近5天内的数据拉取
但实际数据是11.25号的. 下面路径为错误日志.
https://share.weiyun.com/aNtdtDCr
或者访问
https://share.weiyun.com/p8EfGNyP
sdk:139652542632912
sdkFileId:CiA2YzE1MWI5NjI3OGEwZTE0NWIzMDU0MjQ1YzZjMWE1YxI4TkRkZk56ZzRNVE13TVRRME16azBOVE13TVY4eE5EazBNemM1TkRRM1h6RTJOekF6T1RRek9EYz0aIGU4MWMwNmE3ZWY2ODk2MmNiMWUyM2NmZTMzY2ViODcx , fileSize:2471114,
me.chanjar.weixin.common.error.WxErrorException: 错误代码:-99, 错误信息:getmediadata err ret 10002
me.chanjar.weixin.common.error.WxErrorException: 错误代码:-99, 错误信息:getmediadata err ret 10002
me.chanjar.weixin.common.error.WxErrorException: 错误代码:-99, 错误信息:getmediadata err ret 10010
出现一个hs_err_pid5995.log已经上传网盘
https://share.weiyun.com/biccVw1z