Project: springxd
Issue XD-1799: Twittersearch: ArrayIndexOutOfBoundsException
{noformat} 0:44:30,715 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException: 255 groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) groovy.json.JsonOutput.writeObject(JsonOutput.java:260) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.writeObject(JsonOutput.java:270) groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) groovy.json.JsonOutput.writeObject(JsonOutput.java:272) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.writeObject(JsonOutput.java:270) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.toJson(JsonOutput.java:204) org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) java.util.concurrent.FutureTask.run(FutureTask.java:262) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744) 20:44:30,718 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:31,136 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException: 255 groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) groovy.json.JsonOutput.writeObject(JsonOutput.java:260) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.writeObject(JsonOutput.java:270) groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) groovy.json.JsonOutput.writeObject(JsonOutput.java:272) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.writeObject(JsonOutput.java:270) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.toJson(JsonOutput.java:204) org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) java.util.concurrent.FutureTask.run(FutureTask.java:262) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744) 20:44:31,137 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:31,525 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException: 255 groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) groovy.json.JsonOutput.writeObject(JsonOutput.java:260) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.writeObject(JsonOutput.java:270) groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) groovy.json.JsonOutput.writeObject(JsonOutput.java:272) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.writeObject(JsonOutput.java:270) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.toJson(JsonOutput.java:204) org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) java.util.concurrent.FutureTask.run(FutureTask.java:262) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744) 20:44:31,526 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:31,948 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException: 255 groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) groovy.json.JsonOutput.writeObject(JsonOutput.java:260) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.writeObject(JsonOutput.java:270) groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) groovy.json.JsonOutput.writeObject(JsonOutput.java:272) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.writeObject(JsonOutput.java:270) groovy.json.JsonOutput.writeMap(JsonOutput.java:425) groovy.json.JsonOutput.toJson(JsonOutput.java:204) org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) java.util.concurrent.FutureTask.run(FutureTask.java:262) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744) 20:44:31,949 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:32,345 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:32,346 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:32,727 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:32,727 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:33,103 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:33,104 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:33,548 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:33,548 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:33,935 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:33,935 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:34,318 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:34,318 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:34,696 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:34,696 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:35,060 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:35,061 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:35,445 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:35,445 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:35,825 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:35,825 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:36,221 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:36,221 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:36,602 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:36,602 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:37,006 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:37,006 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:37,396 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:37,396 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:37,790 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:37,790 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:38,179 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:38,179 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:38,559 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:38,559 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:38,967 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:38,967 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:39,365 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:39,365 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:39,747 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:39,747 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:40,179 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:40,179 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:40,596 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:40,597 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:40,978 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:40,979 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:41,342 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:41,342 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:41,732 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:41,732 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:42,125 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:42,126 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:42,511 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:42,512 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:42,918 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:42,918 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:43,309 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:43,309 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:43,689 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:43,689 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:44,071 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. ...
Story points: 2