org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 188#194320819
    via GitHub by czyzby
    ,
    • org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException: Listener threw exception at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.wrapToListenerExecutionFailedExceptionIfNeeded(AbstractMessageListenerContainer.java:865)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:760)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:680)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(SimpleMessageListenerContainer.java:93)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(SimpleMessageListenerContainer.java:183)[spring-rabbit-1.5.6.RELEASE.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.retry.interceptor.RetryOperationsInterceptor$1.doWithRetry(RetryOperationsInterceptor.java:74)[spring-retry-1.1.3.RELEASE.jar:na] at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:276)[spring-retry-1.1.3.RELEASE.jar:na] at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:172)[spring-retry-1.1.3.RELEASE.jar:na] at org.springframework.retry.interceptor.RetryOperationsInterceptor.invoke(RetryOperationsInterceptor.java:98)[spring-retry-1.1.3.RELEASE.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE] at com.sun.proxy.$Proxy102.invokeListener(Unknown Source)[na:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(SimpleMessageListenerContainer.java:1358)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:661)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1102)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1086)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1100(SimpleMessageListenerContainer.java:93)[spring-rabbit-1.5.6.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1203)[spring-rabbit-1.5.6.RELEASE.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_91] Caused by: org.springframework.messaging.MessageHandlingException: error occurred in message handler [sleuth.sleuth.convert.bridge]; nested exception is com.esotericsoftware.kryo.KryoException: java.lang.IndexOutOfBoundsException: Index: 113, Size: 7 Serialization trace: parents (org.springframework.cloud.sleuth.Span) spans (org.springframework.cloud.sleuth.stream.Spans) at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:139)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.dispatcher.AbstractDispatcher.tryOptimizedDispatch(AbstractDispatcher.java:116)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:147)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:120)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:77)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:442)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:392)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:115)[spring-messaging-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:45)[spring-messaging-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:105)[spring-messaging-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.integration.endpoint.MessageProducerSupport.sendMessage(MessageProducerSupport.java:105)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter.access$400(AmqpInboundChannelAdapter.java:45)[spring-integration-amqp-4.2.9.RELEASE.jar:na] at org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter$1.onMessage(AmqpInboundChannelAdapter.java:93)[spring-integration-amqp-4.2.9.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:757)[spring-rabbit-1.5.6.RELEASE.jar:na] ... 24 more Caused by: com.esotericsoftware.kryo.KryoException: java.lang.IndexOutOfBoundsException: Index: 113, Size: 7 Serialization trace: parents (org.springframework.cloud.sleuth.Span) spans (org.springframework.cloud.sleuth.stream.Spans) at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:144)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:551)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:134)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:40)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:708)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:551)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:686)[kryo-shaded-3.0.3.jar:na] at org.springframework.integration.codec.kryo.PojoCodec.doDecode(PojoCodec.java:97)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.codec.kryo.AbstractKryoCodec$3.execute(AbstractKryoCodec.java:96)[spring-integration-core-4.2.9.RELEASE.jar:na] at com.esotericsoftware.kryo.pool.KryoPoolQueueImpl.run(KryoPoolQueueImpl.java:61)[kryo-shaded-3.0.3.jar:na] at org.springframework.integration.codec.kryo.AbstractKryoCodec.decode(AbstractKryoCodec.java:93)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.codec.kryo.AbstractKryoCodec.decode(AbstractKryoCodec.java:79)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.cloud.stream.binder.AbstractBinder.deserializePayload(AbstractBinder.java:288)[spring-cloud-stream-1.0.3.BUILD-20160718.221710-5.jar:1.0.3.BUILD-SNAPSHOT] at org.springframework.cloud.stream.binder.AbstractBinder.deserializePayload(AbstractBinder.java:263)[spring-cloud-stream-1.0.3.BUILD-20160718.221710-5.jar:1.0.3.BUILD-SNAPSHOT] at org.springframework.cloud.stream.binder.AbstractBinder.deserializePayloadIfNecessary(AbstractBinder.java:243)[spring-cloud-stream-1.0.3.BUILD-20160718.221710-5.jar:1.0.3.BUILD-SNAPSHOT] at org.springframework.cloud.stream.binder.AbstractBinder.deserializePayloadIfNecessary(AbstractBinder.java:237)[spring-cloud-stream-1.0.3.BUILD-20160718.221710-5.jar:1.0.3.BUILD-SNAPSHOT] at org.springframework.cloud.stream.binder.rabbit.RabbitMessageChannelBinder.access$700(RabbitMessageChannelBinder.java:102)[spring-cloud-stream-binder-rabbit-1.0.3.BUILD-20160718.221710-5.jar:1.0.3.BUILD-SNAPSHOT] at org.springframework.cloud.stream.binder.rabbit.RabbitMessageChannelBinder$ReceivingHandler.handleRequestMessage(RabbitMessageChannelBinder.java:637)[spring-cloud-stream-binder-rabbit-1.0.3.BUILD-20160718.221710-5.jar:1.0.3.BUILD-SNAPSHOT] at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:99)[spring-integration-core-4.2.9.RELEASE.jar:na] at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:127)[spring-integration-core-4.2.9.RELEASE.jar:na] ... 37 more Caused by: java.lang.IndexOutOfBoundsException: Index: 113, Size: 7 at java.util.ArrayList.rangeCheck(ArrayList.java:653)[na:1.8.0_91] at java.util.ArrayList.get(ArrayList.java:429)[na:1.8.0_91] at com.esotericsoftware.kryo.util.MapReferenceResolver.getReadObject(MapReferenceResolver.java:60)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.Kryo.readReferenceOrNull(Kryo.java:834)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:706)[kryo-shaded-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[kryo-shaded-3.0.3.jar:na] ... 58 more

    Users with the same issue

    poroszd
    7 times, last one,
    Pilleo
    9 times, last one,
    aidoan
    2 times, last one,
    nasimk
    2 times, last one,
    Axelo
    7 times, last one,
    235 more bugmates