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

多线程 调用sofa接口报异常 #1457

Open
maqiubb opened this issue Oct 24, 2024 · 1 comment
Open

多线程 调用sofa接口报异常 #1457

maqiubb opened this issue Oct 24, 2024 · 1 comment

Comments

@maqiubb
Copy link

maqiubb commented Oct 24, 2024

Your question

java.util.NoSuchElementException: null
at java.util.ArrayDeque.removeFirst(ArrayDeque.java:285) ~[?:1.8.0_372]
at java.util.ArrayDeque.pop(ArrayDeque.java:522) ~[?:1.8.0_372]
at com.alipay.sofa.rpc.context.RpcInternalContext.popContext(RpcInternalContext.java:122) ~[sofa-rpc-all-5.8.3.jar:5.8.3]
at com.alipay.sofa.rpc.client.ClientProxyInvoker.invoke(ClientProxyInvoker.java:100) ~[sofa-rpc-all-5.8.3.jar:5.8.3]
at com.hundsun.lcpt.ta.pub.fina.api.IProductApi_proxy_0.countPrdRealtimeEstab(IProductApi_proxy_0.java) ~[?:?]
at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_372]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_372]
at com.alipay.sofa.runtime.service.binding.JvmBindingAdapter$JvmServiceInvoker.doInvoke(JvmBindingAdapter.java:249) ~[runtime-sofa-boot-3.19.1.jar:3.19.1]
at com.alipay.sofa.runtime.spi.service.ServiceProxy.invoke(ServiceProxy.java:40) ~[runtime-sofa-boot-3.19.1.jar:3.19.1]
at com.alipay.sofa.runtime.service.binding.JvmBindingAdapter$JvmServiceInvoker.invoke(JvmBindingAdapter.java:160) ~[runtime-sofa-boot-3.19.1.jar:3.19.1]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.30.jar:5.3.30]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:241) ~[spring-aop-5.3.30.jar:5.3.30]
at com.sun.proxy.$Proxy120.countPrdRealtimeEstab(Unknown Source) ~[?:?]
at com.hundsun.lcpt.ta.pub.fina.api.apifactory.PubFinaApiFactory.countPrdRealtimeEstab(PubFinaApiFactory.java:1746) ~[ta-fina-parameter-sofa-api.jar:?]

Your scenes

image
image
image

Your advice

describe the advice or solution you'd like

Environment

(sofa-rpc-all-5.8.3.jar:5.8.3)

@EvenLjj
Copy link
Collaborator

EvenLjj commented Oct 24, 2024

@maqiubb pls update to 5.8.5 to fix this issue, release note.

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

No branches or pull requests

2 participants