java.lang.ArrayIndexOutOfBoundsException: -255

Jenkins JIRA | Marco Rothe | 6 years ago
  1. 0

    On our jenkins (1.403) the following exception occured (only a restart can the system bring back to a normal behaviour): java.lang.ArrayIndexOutOfBoundsException: -255 at hudson.util.RingBufferLogHandler.publish(RingBufferLogHandler.java:52) at java.util.logging.Logger.log(Unknown Source) at java.util.logging.Logger.doLog(Unknown Source) at java.util.logging.Logger.log(Unknown Source) at java.util.logging.Logger.fine(Unknown Source) at hudson.security.SidACL.hasPermission(SidACL.java:54) at hudson.security.ACL.checkPermission(ACL.java:52) at hudson.model.Node.checkPermission(Node.java:316) at hudson.model.Hudson.getTarget(Hudson.java:3409) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:497) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ... more After that all requests to jenkins fail with the same exception. The source of RingBufferLogHandler shows the usage of the primitive int's start and size which are incremented but never decremented ... private int start = 0; private final LogRecord[] records; private volatile int size = 0; ... public synchronized void publish(LogRecord record) { int len = records.length; records[(start+size)%len]=record; if(size==len) { start++; } else { size++; } } So after a time an overflow occures and cause the ArrayIndexOutOfBoundsException.

    Jenkins JIRA | 6 years ago | Marco Rothe
    java.lang.ArrayIndexOutOfBoundsException: -255
  2. 0

    On our jenkins (1.403) the following exception occured (only a restart can the system bring back to a normal behaviour): java.lang.ArrayIndexOutOfBoundsException: -255 at hudson.util.RingBufferLogHandler.publish(RingBufferLogHandler.java:52) at java.util.logging.Logger.log(Unknown Source) at java.util.logging.Logger.doLog(Unknown Source) at java.util.logging.Logger.log(Unknown Source) at java.util.logging.Logger.fine(Unknown Source) at hudson.security.SidACL.hasPermission(SidACL.java:54) at hudson.security.ACL.checkPermission(ACL.java:52) at hudson.model.Node.checkPermission(Node.java:316) at hudson.model.Hudson.getTarget(Hudson.java:3409) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:497) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ... more After that all requests to jenkins fail with the same exception. The source of RingBufferLogHandler shows the usage of the primitive int's start and size which are incremented but never decremented ... private int start = 0; private final LogRecord[] records; private volatile int size = 0; ... public synchronized void publish(LogRecord record) { int len = records.length; records[(start+size)%len]=record; if(size==len) { start++; } else { size++; } } So after a time an overflow occures and cause the ArrayIndexOutOfBoundsException.

    Jenkins JIRA | 6 years ago | Marco Rothe
    java.lang.ArrayIndexOutOfBoundsException: -255
  3. 0

    This issue is essentially identical to JENKINS-9120, where an integer gets incremented but never decremented. After a large number of calls, the integer overflows. SEVERE: Error within request handler thread java.lang.ArrayIndexOutOfBoundsException: -255 at com.cloudbees.jenkins.support.SupportLogHandler.publish(SupportLogHandler.java:106) at java.util.logging.Logger.log(Logger.java:570) at java.util.logging.Logger.doLog(Logger.java:592) at java.util.logging.Logger.log(Logger.java:681) at winstone.Logger.logInternal(Logger.java:157) at winstone.Logger.log(Logger.java:183) at winstone.HttpListener.allocateRequestResponse(HttpListener.java:182) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:69) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) The problem is here in SupportLogHandler's publish method: int maxCount = records.length; records[(position + count) % maxCount] = record; if (count == maxCount) { position++; } else { count++; } Once count is equal to maxCount, count will never be incremented. However, position will be incremented indefinitely from then on. Position should instead be set to something like this: position = (position + 1) % maxCount;

    Jenkins JIRA | 3 years ago | Josh Gibbs
    java.lang.ArrayIndexOutOfBoundsException: -255
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ArrayIndexOutOfBoundsException

    https://bugzilla.redhat.com/bugzilla/ | 6 years ago | Denis Lila
    java.lang.ArrayIndexOutOfBoundsException: 255
  6. 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

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -255

      at hudson.util.RingBufferLogHandler.publish()
    2. Hudson
      RingBufferLogHandler.publish
      1. hudson.util.RingBufferLogHandler.publish(RingBufferLogHandler.java:52)
      1 frame
    3. Java RT
      Logger.fine
      1. java.util.logging.Logger.log(Unknown Source)
      2. java.util.logging.Logger.doLog(Unknown Source)
      3. java.util.logging.Logger.log(Unknown Source)
      4. java.util.logging.Logger.fine(Unknown Source)
      4 frames
    4. Hudson
      Hudson.getTarget
      1. hudson.security.SidACL.hasPermission(SidACL.java:54)
      2. hudson.security.ACL.checkPermission(ACL.java:52)
      3. hudson.model.Node.checkPermission(Node.java:316)
      4. hudson.model.Hudson.getTarget(Hudson.java:3409)
      4 frames
    5. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:497)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:640)
      3. org.kohsuke.stapler.Stapler.invoke(Stapler.java:478)
      4. org.kohsuke.stapler.Stapler.service(Stapler.java:160)
      4 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames