Advertisement
Bobrovozka

Untitled

Jun 1st, 2021
1,301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. org.springframework.kafka.listener.ListenerExecutionFailedException: Listener method 'private void tech.ivoice.apps.adapter.kafka.CallTaskStateChangedKafkaListener.callTaskStateChangedListener1(org.apache.kafka.clients.consumer.ConsumerRecord<java.lang.Integer, java.lang.String>)' threw exception; nested exception is java.lang.IllegalStateException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Unexpected token (START_OBJECT), expected one of [VALUE_STRING, VALUE_NUMBER_INT, VALUE_NUMBER_FLOAT] for java.time.Instant value
  2.  at [Source: (StringReader); line: 1, column: 55597] (through reference chain: tech.ivoice.common.model.calls.CallTask["scenarioResult"]->tech.ivoice.common.model.calls.ScenarioResultEntity["time"]); nested exception is java.lang.IllegalStateException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Unexpected token (START_OBJECT), expected one of [VALUE_STRING, VALUE_NUMBER_INT, VALUE_NUMBER_FLOAT] for java.time.Instant value
  3.  at [Source: (StringReader); line: 1, column: 55597] (through reference chain: tech.ivoice.common.model.calls.CallTask["scenarioResult"]->tech.ivoice.common.model.calls.ScenarioResultEntity["time"])
  4.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.decorateException(KafkaMessageListenerContainer.java:1742) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  5.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeErrorHandler(KafkaMessageListenerContainer.java:1734) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  6.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeRecordListener(KafkaMessageListenerContainer.java:1647) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  7.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeWithRecords(KafkaMessageListenerContainer.java:1577) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  8.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeRecordListener(KafkaMessageListenerContainer.java:1485) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  9.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeListener(KafkaMessageListenerContainer.java:1235) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  10.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.pollAndInvoke(KafkaMessageListenerContainer.java:985) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  11.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:905) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  12.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_202]
  13.     at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_202]
  14.     at java.lang.Thread.run(Thread.java:748) [na:1.8.0_202]
  15. Caused by: java.lang.IllegalStateException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Unexpected token (START_OBJECT), expected one of [VALUE_STRING, VALUE_NUMBER_INT, VALUE_NUMBER_FLOAT] for java.time.Instant value
  16.  at [Source: (StringReader); line: 1, column: 55597] (through reference chain: tech.ivoice.common.model.calls.CallTask["scenarioResult"]->tech.ivoice.common.model.calls.ScenarioResultEntity["time"])
  17.     at tech.ivoice.apps.adapter.kafka.CallTaskStateChangedKafkaListener.handleMessage(CallTaskStateChangedKafkaListener.java:34) ~[classes!/:SNAPSHOT]
  18.     at tech.ivoice.apps.adapter.kafka.CallTaskStateChangedKafkaListener.callTaskStateChangedListener1(CallTaskStateChangedKafkaListener.java:20) ~[classes!/:SNAPSHOT]
  19.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_202]
  20.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_202]
  21.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_202]
  22.     at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_202]
  23.     at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.2.3.RELEASE.jar!/:5.2.3.RELEASE]
  24.     at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.2.3.RELEASE.jar!/:5.2.3.RELEASE]
  25.     at org.springframework.kafka.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:48) ~[spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  26.     at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:326) ~[spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  27.     at org.springframework.kafka.listener.adapter.RecordMessagingMessageListenerAdapter.onMessage(RecordMessagingMessageListenerAdapter.java:86) ~[spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  28.     at org.springframework.kafka.listener.adapter.RecordMessagingMessageListenerAdapter.onMessage(RecordMessagingMessageListenerAdapter.java:51) ~[spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  29.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeOnMessage(KafkaMessageListenerContainer.java:1696) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  30.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeOnMessage(KafkaMessageListenerContainer.java:1679) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  31.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeRecordListener(KafkaMessageListenerContainer.java:1634) [spring-kafka-2.3.5.RELEASE.jar!/:2.3.5.RELEASE]
  32.     ... 8 common frames omitted
  33. Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Unexpected token (START_OBJECT), expected one of [VALUE_STRING, VALUE_NUMBER_INT, VALUE_NUMBER_FLOAT] for java.time.Instant value
  34.  at [Source: (StringReader); line: 1, column: 55597] (through reference chain: tech.ivoice.common.model.calls.CallTask["scenarioResult"]->tech.ivoice.common.model.calls.ScenarioResultEntity["time"])
  35.     at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  36.     at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1442) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  37.     at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1216) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  38.     at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1148) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  39.     at com.fasterxml.jackson.datatype.jsr310.deser.JSR310DeserializerBase._handleUnexpectedToken(JSR310DeserializerBase.java:105) ~[jackson-datatype-jsr310-2.10.2.jar!/:2.10.2]
  40.     at com.fasterxml.jackson.datatype.jsr310.deser.JSR310DeserializerBase._handleUnexpectedToken(JSR310DeserializerBase.java:118) ~[jackson-datatype-jsr310-2.10.2.jar!/:2.10.2]
  41.     at com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer.deserialize(InstantDeserializer.java:231) ~[jackson-datatype-jsr310-2.10.2.jar!/:2.10.2]
  42.     at com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer.deserialize(InstantDeserializer.java:50) ~[jackson-datatype-jsr310-2.10.2.jar!/:2.10.2]
  43.     at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  44.     at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  45.     at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  46.     at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  47.     at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  48.     at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  49.     at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4202) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  50.     at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3205) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  51.     at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3173) ~[jackson-databind-2.10.2.jar!/:2.10.2]
  52.     at tech.ivoice.apps.adapter.util.CallTaskJsonMapper.map(CallTaskJsonMapper.java:22) ~[classes!/:SNAPSHOT]
  53.     at tech.ivoice.apps.adapter.kafka.CallTaskStateChangedKafkaListener.handleMessage(CallTaskStateChangedKafkaListener.java:32) ~[classes!/:SNAPSHOT]
  54.     ... 22 common frames omitted
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement