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
I'm trying to implement a custom ErrorDecoder that forces a retry on a specific Errorcode.
While trying some options I run into a Nullpointer in TraceFeignRetryer
You will see: java.lang.NullPointerException: null at org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignRetryer.continueOrPropagate(TraceFeignRetryer.java:56) at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:78) at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103) at com.sun.proxy.$Proxy100.exp(Unknown Source) at net.test.sleuth.controllers.SleuthTestController.notOk(SleuthTestController.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
The text was updated successfully, but these errors were encountered:
I think it's high time to do this - #202 cc @spencergibb@adriancole . I'll have to sit down and think on how to add the pre and post process hooks to Feign
I'm trying to implement a custom ErrorDecoder that forces a retry on a specific Errorcode.
While trying some options I run into a Nullpointer in TraceFeignRetryer
See thyzzv:sleuthspan-test latest master
Run the example "mvn spring-boot:run"
You will see:
java.lang.NullPointerException: null at org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignRetryer.continueOrPropagate(TraceFeignRetryer.java:56) at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:78) at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103) at com.sun.proxy.$Proxy100.exp(Unknown Source) at net.test.sleuth.controllers.SleuthTestController.notOk(SleuthTestController.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
The text was updated successfully, but these errors were encountered: