Skip to content

Instantly share code, notes, and snippets.

@liptga
Last active August 30, 2017 11:50
Show Gist options
  • Save liptga/15335f9e7687614ad3143fadfbff861e to your computer and use it in GitHub Desktop.
Save liptga/15335f9e7687614ad3143fadfbff861e to your computer and use it in GitHub Desktop.
Hystrix timeout exception
[ERROR] 2017-08-19 09:20:57,545 unexpected exception occurred. [] [http-nio-8110-exec-1]
java.lang.reflect.UndeclaredThrowableException: null
at com.sun.proxy.$Proxy135.fetchPaymentToken(Unknown Source)
at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(xxxxxxxxxxxxxxxxxxxxx.java:87)
at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(xxxxxxxxxxxxxxxxxxxxxxxxxx.java:76)
at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)
...
...
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.TimeoutException: null
at com.netflix.hystrix.AbstractCommand.handleTimeoutViaFallback(AbstractCommand.java:980)
at com.netflix.hystrix.AbstractCommand.access$500(AbstractCommand.java:59)
at com.netflix.hystrix.AbstractCommand$12.call(AbstractCommand.java:595)
at com.netflix.hystrix.AbstractCommand$12.call(AbstractCommand.java:587)
...
...
at com.netflix.hystrix.util.HystrixTimer$1.run(HystrixTimer.java:99)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
... 1 common frames omitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment