java.lang.ArrayIndexOutOfBoundsException: 255

Spring JIRA | Ilayaperumal Gopinathan | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    {noformat} 0:44:30,715 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException: 255 at groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) at groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) at groovy.json.JsonOutput.writeObject(JsonOutput.java:260) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) at groovy.json.JsonOutput.writeObject(JsonOutput.java:272) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.toJson(JsonOutput.java:204) at org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at 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 at groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) at groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) at groovy.json.JsonOutput.writeObject(JsonOutput.java:260) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) at groovy.json.JsonOutput.writeObject(JsonOutput.java:272) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.toJson(JsonOutput.java:204) at org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at 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 at groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) at groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) at groovy.json.JsonOutput.writeObject(JsonOutput.java:260) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) at groovy.json.JsonOutput.writeObject(JsonOutput.java:272) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.toJson(JsonOutput.java:204) at org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at 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 at groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) at groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) at groovy.json.JsonOutput.writeObject(JsonOutput.java:260) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) at groovy.json.JsonOutput.writeObject(JsonOutput.java:272) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.toJson(JsonOutput.java:204) at org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at 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. java.lang.ArrayIndexOutOfBoundsException 20:44:44,071 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:44,470 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:44,470 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:44,847 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:44,847 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:45,307 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:45,308 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:45,710 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:45,710 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:46,136 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:46,137 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:46,530 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:46,530 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:46,913 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:46,913 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:47,306 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:47,306 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:47,700 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:47,700 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:48,124 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:48,124 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:48,520 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:48,520 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:48,912 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:48,912 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:49,292 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:49,293 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:49,683 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:49,683 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:50,135 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:50,135 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:45:06,533 INFO main-EventThread server.ContainerRegistrar:260 - Undeploying module [ModuleDescriptor@707a9713 moduleName = 'twittersearch', moduleLabel = [null], group = 's2', sourceChannelName = [null], sinkChannelName = [null], sinkChannelName = [null], index = 0, type = source, parameters = map['query' -> 'clinton'], children = list[[empty]]] 20:45:06,533 INFO main-EventThread module.ModuleDeployer:158 - removed SimpleModule [name=twittersearch, type=source, group=s2, index=0 @21839092] 20:45:06,539 INFO DeploymentsPathChildrenCache-0 server.ContainerRegistrar:83 - Path cache event: /deployments/modules/db6bb769-0764-41a6-8080-7ca4870cb364/s2.source.twittersearch-0, type: CHILD_REMOVED igopinathan:spring-xd-1.0.0.M7 igopinatha$ 20:46:08,739 INFO DeploymentsPathChildrenCache-0 server.ContainerRegistrar:83 - Path cache event: /deployments/modules/db6bb769-0764-41a6-8080-7ca4870cb364/s2.source.twittersearch-0, type: CHILD_ADDED 20:46:08,739 INFO DeploymentsPathChildrenCache-0 server.ContainerRegistrar:545 - Deploying module 'twittersearch-0' for stream 's2' {noformat}

    Spring JIRA | 3 years ago | Ilayaperumal Gopinathan
    java.lang.ArrayIndexOutOfBoundsException: 255
  2. 0

    {noformat} 0:44:30,715 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException: 255 at groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) at groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) at groovy.json.JsonOutput.writeObject(JsonOutput.java:260) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) at groovy.json.JsonOutput.writeObject(JsonOutput.java:272) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.toJson(JsonOutput.java:204) at org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at 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 at groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) at groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) at groovy.json.JsonOutput.writeObject(JsonOutput.java:260) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) at groovy.json.JsonOutput.writeObject(JsonOutput.java:272) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.toJson(JsonOutput.java:204) at org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at 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 at groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) at groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) at groovy.json.JsonOutput.writeObject(JsonOutput.java:260) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) at groovy.json.JsonOutput.writeObject(JsonOutput.java:272) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.toJson(JsonOutput.java:204) at org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at 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 at groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394) at groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357) at groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309) at groovy.json.JsonOutput.writeObject(JsonOutput.java:260) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeIterator(JsonOutput.java:442) at groovy.json.JsonOutput.writeObject(JsonOutput.java:272) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.writeObject(JsonOutput.java:270) at groovy.json.JsonOutput.writeMap(JsonOutput.java:425) at groovy.json.JsonOutput.toJson(JsonOutput.java:204) at org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180) at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at 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. java.lang.ArrayIndexOutOfBoundsException 20:44:44,071 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:44,470 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:44,470 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:44,847 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:44,847 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:45,307 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:45,308 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:45,710 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:45,710 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:46,136 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:46,137 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:46,530 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:46,530 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:46,913 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:46,913 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:47,306 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:47,306 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:47,700 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:47,700 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:48,124 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:48,124 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:48,520 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:48,520 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:48,912 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:48,912 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:49,292 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:49,293 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:49,683 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:49,683 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:44:50,135 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:173 - Exception while reading stream. java.lang.ArrayIndexOutOfBoundsException 20:44:50,135 WARN task-scheduler-6 twitter.TwitterSearchChannelAdapter:231 - Exception while reading stream, waiting for 250 ms before restarting 20:45:06,533 INFO main-EventThread server.ContainerRegistrar:260 - Undeploying module [ModuleDescriptor@707a9713 moduleName = 'twittersearch', moduleLabel = [null], group = 's2', sourceChannelName = [null], sinkChannelName = [null], sinkChannelName = [null], index = 0, type = source, parameters = map['query' -> 'clinton'], children = list[[empty]]] 20:45:06,533 INFO main-EventThread module.ModuleDeployer:158 - removed SimpleModule [name=twittersearch, type=source, group=s2, index=0 @21839092] 20:45:06,539 INFO DeploymentsPathChildrenCache-0 server.ContainerRegistrar:83 - Path cache event: /deployments/modules/db6bb769-0764-41a6-8080-7ca4870cb364/s2.source.twittersearch-0, type: CHILD_REMOVED igopinathan:spring-xd-1.0.0.M7 igopinatha$ 20:46:08,739 INFO DeploymentsPathChildrenCache-0 server.ContainerRegistrar:83 - Path cache event: /deployments/modules/db6bb769-0764-41a6-8080-7ca4870cb364/s2.source.twittersearch-0, type: CHILD_ADDED 20:46:08,739 INFO DeploymentsPathChildrenCache-0 server.ContainerRegistrar:545 - Deploying module 'twittersearch-0' for stream 's2' {noformat}

    Spring JIRA | 3 years ago | Ilayaperumal Gopinathan
    java.lang.ArrayIndexOutOfBoundsException: 255

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      255

      at groovy.json.internal.CharBuf.doAddJsonEscapedString()
    2. Groovy
      JsonOutput.toJson
      1. groovy.json.internal.CharBuf.doAddJsonEscapedString(CharBuf.java:525)
      2. groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:394)
      3. groovy.json.internal.CharBuf.addJsonEscapedString(CharBuf.java:357)
      4. groovy.json.JsonOutput.writeCharSequence(JsonOutput.java:309)
      5. groovy.json.JsonOutput.writeObject(JsonOutput.java:260)
      6. groovy.json.JsonOutput.writeMap(JsonOutput.java:425)
      7. groovy.json.JsonOutput.writeObject(JsonOutput.java:270)
      8. groovy.json.JsonOutput.writeIterator(JsonOutput.java:442)
      9. groovy.json.JsonOutput.writeObject(JsonOutput.java:272)
      10. groovy.json.JsonOutput.writeMap(JsonOutput.java:425)
      11. groovy.json.JsonOutput.writeObject(JsonOutput.java:270)
      12. groovy.json.JsonOutput.writeMap(JsonOutput.java:425)
      13. groovy.json.JsonOutput.toJson(JsonOutput.java:204)
      13 frames
    3. org.springframework.integration
      AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData
      1. org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.doSendLine(TwitterSearchChannelAdapter.java:137)
      2. org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:200)
      3. org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:186)
      3 frames
    4. Spring
      RestTemplate.execute
      1. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:549)
      2. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517)
      2 frames
    5. org.springframework.integration
      AbstractTwitterInboundChannelAdapter$StreamReadingTask.run
      1. org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:180)
      2. org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:158)
      2 frames
    6. Spring Context
      DelegatingErrorHandlingRunnable.run
      1. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:744)
      7 frames