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
2021-01-07 10:27:14.382 ERROR 3135 --- [msg-processor-0] r.CustomReflectionBasedRequestMsgHandler : An unexpected exception occurred while invoke ExceptionHandler
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_265]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_265]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_265]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_265]
at io.github.hylexus.jt808.handler.impl.exception.ExceptionHandlerMethodExceptionHandler.handleException(ExceptionHandlerMethodExceptionHandler.java:47) ~[jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.handler.impl.exception.DelegateExceptionHandler.handleException(DelegateExceptionHandler.java:55) ~[jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.handler.impl.reflection.CustomReflectionBasedRequestMsgHandler.doProcess(CustomReflectionBasedRequestMsgHandler.java:80) ~[jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.handler.AbstractMsgHandler.handleMsg(AbstractMsgHandler.java:36) [jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.queue.listener.AbstractRequestMsgQueueListener.consumeMsg(AbstractRequestMsgQueueListener.java:65) [jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.queue.listener.LocalEventBusListener.listen(LocalEventBusListener.java:42) [jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_265]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_265]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_265]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_265]
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87) [guava-29.0-jre.jar:na]
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144) [guava-29.0-jre.jar:na]
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72) [guava-29.0-jre.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_265]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_265]
Caused by: io.netty.channel.StacklessClosedChannelException: null
at io.netty.channel.AbstractChannel$AbstractUnsafe.write(Object, ChannelPromise)(Unknown Source) ~[netty-all-4.1.52.Final.jar:4.1.52.Final]
环境
spring-cloud-starter-openfeign 2.2.5.RELEASEjt-808-server-spring-boot-stater 1.0.10-RELEASE
出现的异常
2021-01-07 10:27:14.382 ERROR 3135 --- [msg-processor-0] r.CustomReflectionBasedRequestMsgHandler : An unexpected exception occurred while invoke ExceptionHandler
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_265]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_265]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_265]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_265]
at io.github.hylexus.jt808.handler.impl.exception.ExceptionHandlerMethodExceptionHandler.handleException(ExceptionHandlerMethodExceptionHandler.java:47) ~[jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.handler.impl.exception.DelegateExceptionHandler.handleException(DelegateExceptionHandler.java:55) ~[jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.handler.impl.reflection.CustomReflectionBasedRequestMsgHandler.doProcess(CustomReflectionBasedRequestMsgHandler.java:80) ~[jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.handler.AbstractMsgHandler.handleMsg(AbstractMsgHandler.java:36) [jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.queue.listener.AbstractRequestMsgQueueListener.consumeMsg(AbstractRequestMsgQueueListener.java:65) [jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at io.github.hylexus.jt808.queue.listener.LocalEventBusListener.listen(LocalEventBusListener.java:42) [jt-808-server-support-1.0.10-RELEASE.jar:1.0.10-RELEASE]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_265]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_265]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_265]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_265]
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87) [guava-29.0-jre.jar:na]
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144) [guava-29.0-jre.jar:na]
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72) [guava-29.0-jre.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_265]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_265]
Caused by: io.netty.channel.StacklessClosedChannelException: null
at io.netty.channel.AbstractChannel$AbstractUnsafe.write(Object, ChannelPromise)(Unknown Source) ~[netty-all-4.1.52.Final.jar:4.1.52.Final]
怎么出现的
在@Jt808RequestMsgHandlerMapping
先调用openFeign里的方法(调用其它微服务)
再调用Jt808Session.sendMsgToClient就出错..
都是第一次发送出错。
第一次以后又都正常
The text was updated successfully, but these errors were encountered: