Skip to content

Instantly share code, notes, and snippets.

@eksenga
Created November 2, 2015 12:39
Show Gist options
  • Save eksenga/c0e76fec364c8c50bfdf to your computer and use it in GitHub Desktop.
Save eksenga/c0e76fec364c8c50bfdf to your computer and use it in GitHub Desktop.
13:10:11,429 INFO ZookeeperConsumerConnector:68 - [yookore-yookoreNotification-group_Yookos-MBP-2.yookos.local-1446462605216-18760d60], end rebalancing consumer yookore-yookoreNotification-group_Yookos-MBP-2.yookos.local-1446462605216-18760d60 try #0
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of com.yookore.notification.domain.YookoreNotificationEvent out of START_ARRAY token
at [Source: [27/10/2015 12:27:04] Bekezela Mephulangogaja: PUSH notification would get it after processing and sending of a payload like...
[27/10/2015 12:27:13] Bekezela Mephulangogaja: {
"actor": {
"type":"SYSTEM",
"userId": "2345-5657-5768-43536"
},
"action": "GROUP_CREATED",
"targetUsers": [
{
"userId": "2345-5657-5768-43537",
"username": "friend_07",
"fullNames": "friend_07",
"firstName": "John",
"lastName": "Doe",
"preference": {
"email": false,
"push": true,
"sms": false
},
"pushRegistrationId": "APA91bELLAvvcfR38FUoBCII1VnPS6Xx0o1e98V374d0qP9vf70MqFlPi7SJH6EbFCBMfVuzNOGk2xhAH-lauNES00NvzmICHw3Rqi5Uk4WMUr0gaPlkus76VF7H3xatufEKo4vUgSeL",
"emailAddress": "[email protected]"
}
],
"extraInfo": {
"object": "7b145180-4cd9-11e5-971a-e6137e500fbf",
"contentData": "this is a test for pps"
}
}; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:854)
at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:850)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromArray(BeanDeserializerBase.java:1258)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:155)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:134)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3702)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2714)
at com.yookore.notification.services.YookoreNotificationEventService$1.handleDelivery(YookoreNotificationEventService.java:109)
at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144)
at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment