java.lang.reflect.InvocationTargetException

null

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.redisson.RedissonRemoteService.invokeMethod(RedissonRemoteService.java:240) at org.redisson.RedissonRemoteService.access$300(RedissonRemoteService.java:57) at org.redisson.RedissonRemoteService$2.run(RedissonRemoteService.java:199) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalArgumentException: com.fasterxml.jackson.databind.JsonMappingException: No suitable constructor found for type [simple type, class com.github.dexecutor.redisson.MyCallable]: can not instantiate from JSON object (missing default constructor or creator, or perhaps need to add/enable type information?) at [Source: io.netty.buffer.ByteBufInputStream@4085f7ff; line: 1, column: 54] at org.redisson.executor.RemoteExecutorServiceImpl.executeCallable(RemoteExecutorServiceImpl.java:176) at org.redisson.executor.RemoteExecutorServiceImpl.executeCallable(RemoteExecutorServiceImpl.java:161) ... 12 more Caused by: com.fasterxml.jackson.databind.JsonMappingException: No suitable constructor found for type [simple type, class com.github.dexecutor.redisson.MyCallable]: can not instantiate from JSON object (missing default constructor or creator, or perhaps need to add/enable type information?) at [Source: io.netty.buffer.ByteBufInputStream@4085f7ff; line: 1, column: 54] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:255) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1130) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:298) at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:168) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:135) at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:120) at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:91) at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromAny(AsPropertyTypeDeserializer.java:163) at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserializeWithType(UntypedObjectDeserializer.java:554) at com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize(TypeWrappedDeserializer.java:63) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3807) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2867) at org.redisson.codec.JsonJacksonCodec$2.decode(JsonJacksonCodec.java:74) at org.redisson.executor.RemoteExecutorServiceImpl.decode(RemoteExecutorServiceImpl.java:185) at org.redisson.executor.RemoteExecutorServiceImpl.executeCallable(RemoteExecutorServiceImpl.java:173) ... 13 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown user
Once, 19 hours ago
Unknown user
Once, 19 hours ago
Unknown user
Once, 19 hours ago
Unknown user
Once, 19 hours ago
Unknown user
Once, 19 hours ago
151 more bugmates