Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
GSoC Sprint 2: Kafka, GSoC Sprint 3: Kafka 3
Description
We are using Kafka CDI library for consumer injection, but after redeployment of a UPS, the consumer invocation produces this exception:
ERROR [net.wessendorf.kafka.impl.DelegationKafkaConsumer] (EE-ManagedExecutorService-default-Thread-1) error dispatching received value to consumer: java.lang.reflect.InvocationTargetException ... Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) ... 18 more
To reproduce the exception, this branch can be used.