eui更新java错误,java.lang.StackOverflowError: stack size 1036KB 错误

在锤子T2手机上,运行版本为5.1.1的SDK时,遇到了java.lang.StackOverflowError的问题。错误源于com.easemob.cloud包下HttpClientConfig的默认用户代理设置,导致无限递归调用。该问题影响了HTTP客户端的执行,从HttpClientConfig到EMHttpClient的多个层级调用栈均出现了重复调用的情况。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

机型:锤子T2

版本:5.1.1

SDK版本:2.2.5

java.lang.StackOverflowError: stack size 1036KB at com.easemob.cloud.HttpClientConfig.getDefaultUserAgent(Unknown Source) at com.easemob.cloud.HttpClientConfig.getDefaultHttpClient(Unknown Source) at com.easemob.cloud.HttpClientManager.httpExecute(Unknown Source) at com.easemob.cloud.EMHttpClient.httpExecute(Unknown Source) at com.easemob.chat.core.j.p(Unknown Source) at com.easemob.chat.core.j.o(Unknown Source) at com.easemob.chat.core.l.c(Unknown Source) at com.easemob.chat.core.n.h(Unknown Source) at com.easemob.chat.core.j.p(Unknown Source) at com.easemob.chat.core.j.o(Unknown Source) at com.easemob.chat.core.l.c(Unknown Source) at com.easemob.chat.core.n.h(Unknown Source) at com.easemob.chat.core.j.p(Unknown Source) at com.easemob.chat.core.j.o(Unknown Source) at com.easemob.chat.core.l.c(Unknown Source) at com.easemob.chat.core.n.h(Unknown Source) at com.easemob.chat.core.j.p(Unknown Source) at com.easemob.chat.core.j.o(Unknown Source) at com.easemob.chat.core.l.c(Unknown Source) at com.easemob.chat.core.n.h(Unknown Source) at com.easemob.chat.core.j.p(Unknown Source)。。。。。。。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值