Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
Hi
The below NPE is thrown when Hystrix annotation is applied on static methods.
java.lang.NullPointerException: null
at com.netflix.hystrix.contrib.javanica.utils.AopUtils.getMethodFromTarget(AopUtils.java:50)
at com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect.methodsAnnotatedWithHystrixCommand(HystrixCommandAspect.java:88)
Hi The below NPE is thrown when Hystrix annotation is applied on static methods.
java.lang.NullPointerException: null at com.netflix.hystrix.contrib.javanica.utils.AopUtils.getMethodFromTarget(AopUtils.java:50) at com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect.methodsAnnotatedWithHystrixCommand(HystrixCommandAspect.java:88)