-
Bug
-
Resolution: Done
-
Blocker
-
fuse-7.3.1
-
None
-
%
-
Yammer component doesn't work because of the following exception:
2019-06-03 12:27:15,630 | INFO | ction(4)-10.40.3.145 | o.a.a.b.c.BlueprintContainerImpl | 51 - org.apache.aries.blueprint.core - 1.10.1 | Blueprint bundle org.jboss.qe.camel.components.yammer-test/1.0.0.SNAPSHOT has been started 2019-06-03 12:27:15,631 | INFO | Event Dispatcher: 1 | o.a.c.b.BlueprintCamelContext | 60 - org.apache.camel.camel-blueprint - 2.21.0.fuse-731003 | Attempting to start CamelContext: yammer-camel-context 2019-06-03 12:27:15,633 | INFO | Event Dispatcher: 1 | o.a.c.b.BlueprintCamelContext | 60 - org.apache.camel.camel-blueprint - 2.21.0.fuse-731003 | Apache Camel 2.21.0.fuse-731003 (CamelContext: yammer-camel-context) is starting 2019-06-03 12:27:15,635 | INFO | Event Dispatcher: 1 | .a.c.m.ManagedManagementStrategy | 62 - org.apache.camel.camel-core - 2.21.0.fuse-731003 | JMX is enabled 2019-06-03 12:27:15,833 | INFO | Event Dispatcher: 1 | o.a.c.b.BlueprintCamelContext | 60 - org.apache.camel.camel-blueprint - 2.21.0.fuse-731003 | StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html 2019-06-03 12:27:15,836 | INFO | Event Dispatcher: 1 | o.a.c.b.BlueprintCamelContext | 60 - org.apache.camel.camel-blueprint - 2.21.0.fuse-731003 | Total 0 routes, of which 0 are started 2019-06-03 12:27:15,837 | INFO | Event Dispatcher: 1 | o.a.c.b.BlueprintCamelContext | 60 - org.apache.camel.camel-blueprint - 2.21.0.fuse-731003 | Apache Camel 2.21.0.fuse-731003 (CamelContext: yammer-camel-context) started in 0.204 seconds 2019-06-03 12:27:24,808 | INFO | ction(5)-10.40.3.145 | o.a.c.b.BlueprintCamelContext | 60 - org.apache.camel.camel-blueprint - 2.21.0.fuse-731003 | Route: delayRoute started and consuming from: yammer://messages?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg 2019-06-03 12:27:45,817 | INFO | ction(5)-10.40.3.145 | o.a.c.i.DefaultShutdownStrategy | 62 - org.apache.camel.camel-core - 2.21.0.fuse-731003 | Starting to graceful shutdown 1 routes (timeout 300 seconds) 2019-06-03 12:27:45,823 | INFO | ad #7 - ShutdownTask | o.a.c.i.DefaultShutdownStrategy | 62 - org.apache.camel.camel-core - 2.21.0.fuse-731003 | Route: delayRoute shutdown complete, was consuming from: yammer://messages?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg 2019-06-03 12:27:45,823 | INFO | ction(5)-10.40.3.145 | o.a.c.i.DefaultShutdownStrategy | 62 - org.apache.camel.camel-core - 2.21.0.fuse-731003 | Graceful shutdown of 1 routes completed in 0 seconds 2019-06-03 12:27:45,825 | INFO | ction(5)-10.40.3.145 | o.a.c.b.BlueprintCamelContext | 60 - org.apache.camel.camel-blueprint - 2.21.0.fuse-731003 | Route: delayRoute is stopped, was consuming from: yammer://messages?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg 2019-06-03 12:27:59,245 | WARN | #8 - yammer://users | .c.c.y.YammerUserPollingConsumer | 62 - org.apache.camel.camel-core - 2.21.0.fuse-731003 | Consumer Consumer[yammer://users?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg] failed polling endpoint: yammer://users?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg. Will try again at next poll. Caused by: [com.fasterxml.jackson.databind.exc.MismatchedInputException - Cannot deserialize instance of `java.lang.String` out of START_OBJECT token at [Source: (StringReader); line: 1, column: 2694] (through reference chain: java.util.ArrayList[1]->org.apache.camel.component.yammer.model.User["contact"]->org.apache.camel.component.yammer.model.Contact["phone_numbers"]->java.util.ArrayList[0])] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.lang.String` out of START_OBJECT token at [Source: (StringReader); line: 1, column: 2694] (through reference chain: java.util.ArrayList[1]->org.apache.camel.component.yammer.model.User["contact"]->org.apache.camel.component.yammer.model.Contact["phone_numbers"]->java.util.ArrayList[0]) at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1343) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1139) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1093) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseString(StdDeserializer.java:570) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:203) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:169) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:21) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3042) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at org.apache.camel.component.yammer.YammerUserPollingConsumer.poll(YammerUserPollingConsumer.java:82) ~[226:org.apache.camel.camel-yammer:2.21.0.fuse-731003] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [62:org.apache.camel.camel-core:2.21.0.fuse-731003] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [62:org.apache.camel.camel-core:2.21.0.fuse-731003] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] 2019-06-03 12:28:07,697 | WARN | #8 - yammer://users | .c.c.y.YammerUserPollingConsumer | 62 - org.apache.camel.camel-core - 2.21.0.fuse-731003 | Consumer Consumer[yammer://users?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg] failed polling endpoint: yammer://users?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg. Will try again at next poll. Caused by: [com.fasterxml.jackson.databind.exc.MismatchedInputException - Cannot deserialize instance of `java.lang.String` out of START_OBJECT token at [Source: (StringReader); line: 1, column: 2694] (through reference chain: java.util.ArrayList[1]->org.apache.camel.component.yammer.model.User["contact"]->org.apache.camel.component.yammer.model.Contact["phone_numbers"]->java.util.ArrayList[0])] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.lang.String` out of START_OBJECT token at [Source: (StringReader); line: 1, column: 2694] (through reference chain: java.util.ArrayList[1]->org.apache.camel.component.yammer.model.User["contact"]->org.apache.camel.component.yammer.model.Contact["phone_numbers"]->java.util.ArrayList[0]) at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1343) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1139) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1093) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseString(StdDeserializer.java:570) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:203) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:169) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:21) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3042) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at org.apache.camel.component.yammer.YammerUserPollingConsumer.poll(YammerUserPollingConsumer.java:82) ~[226:org.apache.camel.camel-yammer:2.21.0.fuse-731003] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [62:org.apache.camel.camel-core:2.21.0.fuse-731003] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [62:org.apache.camel.camel-core:2.21.0.fuse-731003] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] 2019-06-03 12:28:15,669 | WARN | #8 - yammer://users | .c.c.y.YammerUserPollingConsumer | 62 - org.apache.camel.camel-core - 2.21.0.fuse-731003 | Consumer Consumer[yammer://users?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg] failed polling endpoint: yammer://users?consumerKey=LJ9jfVbB4vGcTqZE7ZWaNg&consumerSecret=3ria4DwziBAWmnSENHq4AWBP1lZ1l8BQiUEGbuxYM&accessToken=37g8lBOsj4cHDBG0vCMhIg. Will try again at next poll. Caused by: [com.fasterxml.jackson.databind.exc.MismatchedInputException - Cannot deserialize instance of `java.lang.String` out of START_OBJECT token at [Source: (StringReader); line: 1, column: 2694] (through reference chain: java.util.ArrayList[1]->org.apache.camel.component.yammer.model.User["contact"]->org.apache.camel.component.yammer.model.Contact["phone_numbers"]->java.util.ArrayList[0])] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.lang.String` out of START_OBJECT token at [Source: (StringReader); line: 1, column: 2694] (through reference chain: java.util.ArrayList[1]->org.apache.camel.component.yammer.model.User["contact"]->org.apache.camel.component.yammer.model.Contact["phone_numbers"]->java.util.ArrayList[0]) at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1343) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1139) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1093) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseString(StdDeserializer.java:570) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:203) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:169) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:21) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3042) ~[17:com.fasterxml.jackson.core.jackson-databind:2.9.8] at org.apache.camel.component.yammer.YammerUserPollingConsumer.poll(YammerUserPollingConsumer.java:82) ~[226:org.apache.camel.camel-yammer:2.21.0.fuse-731003] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [62:org.apache.camel.camel-core:2.21.0.fuse-731003] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [62:org.apache.camel.camel-core:2.21.0.fuse-731003] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?]
I will investigate further and this might also be problem of our testsuite.