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
If json has time field represented as number of Seconds InstantConverter failed to deserialize it.
I have a test case where i use gson parse along with awaitility with seconds
Published kafka record has gson.tojson mapping
Throwing following exception::
Failed making field "java.time.Instant.seconds' accessible; either change its visibility or write a custom TypeAdapter for its declaring typel
þal.reflect .ReflectionHelper.makeAccessible (ReflectionHelper.java:22)
mal.bind. ReflectiveTypeAdapterFactory.getBoundField
Caused by: java.lang.reflect.Inaccessible@bjectException: Unable to make field private final long java.time.Instant.seconds accessible: module
I tried following way of registering adaptor but still no success
Any suggestions could you kindly provide.. thanks in advance
The text was updated successfully, but these errors were encountered:
Hi ,
If json has time field represented as number of Seconds InstantConverter failed to deserialize it.
I have a test case where i use gson parse along with awaitility with seconds
Published kafka record has gson.tojson mapping
Throwing following exception::
Failed making field "java.time.Instant.seconds' accessible; either change its visibility or write a custom TypeAdapter for its declaring typel
þal.reflect .ReflectionHelper.makeAccessible (ReflectionHelper.java:22)
mal.bind. ReflectiveTypeAdapterFactory.getBoundField
Caused by: java.lang.reflect.Inaccessible@bjectException: Unable to make field private final long java.time.Instant.seconds accessible: module
I tried following way of registering adaptor but still no success
Any suggestions could you kindly provide.. thanks in advance
The text was updated successfully, but these errors were encountered: