Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

  2. ,

    Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

Solutions on the web

via GitHub by vigohe
, 1 year ago
via GitHub by ilayaperumalg
, 7 months ago
Listener threw exception
via GitHub by hulvyou
, 7 months ago
Listener threw exception
via Stack Overflow by Senthil Kumar
, 1 year ago
java.lang.IndexOutOfBoundsException: Index: 113, Size: 7	at java.util.ArrayList.rangeCheck(ArrayList.java:653)	at java.util.ArrayList.get(ArrayList.java:429)	at com.esotericsoftware.kryo.util.MapReferenceResolver.getReadObject(MapReferenceResolver.java:60)	at com.esotericsoftware.kryo.Kryo.readReferenceOrNull(Kryo.java:834)	at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:706)	at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)	at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:551)	at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)	at com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:134)	at com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:40)	at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:708)	at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)	at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:551)	at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:686)	at org.springframework.integration.codec.kryo.PojoCodec.doDecode(PojoCodec.java:97)	at org.springframework.integration.codec.kryo.AbstractKryoCodec$3.execute(AbstractKryoCodec.java:96)	at com.esotericsoftware.kryo.pool.KryoPoolQueueImpl.run(KryoPoolQueueImpl.java:61)	at org.springframework.integration.codec.kryo.AbstractKryoCodec.decode(AbstractKryoCodec.java:93)	at org.springframework.integration.codec.kryo.AbstractKryoCodec.decode(AbstractKryoCodec.java:79)	at org.springframework.cloud.stream.binder.AbstractBinder.deserializePayload(AbstractBinder.java:288)	at org.springframework.cloud.stream.binder.AbstractBinder.deserializePayload(AbstractBinder.java:263)	at org.springframework.cloud.stream.binder.AbstractBinder.deserializePayloadIfNecessary(AbstractBinder.java:243)	at org.springframework.cloud.stream.binder.AbstractBinder.deserializePayloadIfNecessary(AbstractBinder.java:237)	at org.springframework.cloud.stream.binder.rabbit.RabbitMessageChannelBinder.access$700(RabbitMessageChannelBinder.java:102)	at org.springframework.cloud.stream.binder.rabbit.RabbitMessageChannelBinder$ReceivingHandler.handleRequestMessage(RabbitMessageChannelBinder.java:637)	at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:99)	at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:127)	at org.springframework.integration.dispatcher.AbstractDispatcher.tryOptimizedDispatch(AbstractDispatcher.java:116)	at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:147)	at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:120)	at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:77)	at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:442)	at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:392)	at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:115)	at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:45)	at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:105)	at org.springframework.integration.endpoint.MessageProducerSupport.sendMessage(MessageProducerSupport.java:105)	at org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter.access$400(AmqpInboundChannelAdapter.java:45)	at org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter$1.onMessage(AmqpInboundChannelAdapter.java:93)	at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:757)	at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:680)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(SimpleMessageListenerContainer.java:93)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(SimpleMessageListenerContainer.java:183)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)	at org.springframework.retry.interceptor.RetryOperationsInterceptor$1.doWithRetry(RetryOperationsInterceptor.java:74)	at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:276)	at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:172)	at org.springframework.retry.interceptor.RetryOperationsInterceptor.invoke(RetryOperationsInterceptor.java:98)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)	at com.sun.proxy.$Proxy102.invokeListener(Unknown Source)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(SimpleMessageListenerContainer.java:1358)	at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:661)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1102)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1086)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1100(SimpleMessageListenerContainer.java:93)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1203)	at java.lang.Thread.run(Thread.java:745)