java.lang.StringIndexOutOfBoundsException: String index out of range: 113

Stack Overflow | Viren Balaut | 4 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Getting an Exception when asking for Parameters Help to a function

    GitHub | 2 years ago | jeffreygortatowsky
    java.lang.StringIndexOutOfBoundsException: String index out of range: 84011
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.StringIndexOutOfBoundsException

    String index out of range: 113

    at java.lang.String.checkBounds()
  2. Java RT
    String.<init>
    1. java.lang.String.checkBounds(String.java:385)[na:1.8.0_66]
    2. java.lang.String.<init>(String.java:425)[na:1.8.0_66]
    2 frames
  3. org.springframework.cloud
    KafkaMessageChannelBinder$ReceivingHandler.handleRequestMessage
    1. org.springframework.cloud.stream.binder.EmbeddedHeadersMessageConverter.oldExtractHeaders(EmbeddedHeadersMessageConverter.java:132)[spring-cloud-stream-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    2. org.springframework.cloud.stream.binder.EmbeddedHeadersMessageConverter.extractHeaders(EmbeddedHeadersMessageConverter.java:105)[spring-cloud-stream-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    3. org.springframework.cloud.stream.binder.AbstractBinder.extractMessageValues(AbstractBinder.java:153)[spring-cloud-stream-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    4. org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder$ReceivingHandler.handleRequestMessage(KafkaMessageChannelBinder.java:698)[spring-cloud-stream-binder-kafka-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    4 frames
  4. Spring Integration Core
    FixedSubscriberChannel.send
    1. org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:99)[spring-integration-core-4.2.4.RELEASE.jar!/:na]
    2. org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:127)[spring-integration-core-4.2.4.RELEASE.jar!/:na]
    3. org.springframework.integration.channel.FixedSubscriberChannel.send(FixedSubscriberChannel.java:69)[spring-integration-core-4.2.4.RELEASE.jar!/:na]
    4. org.springframework.integration.channel.FixedSubscriberChannel.send(FixedSubscriberChannel.java:63)[spring-integration-core-4.2.4.RELEASE.jar!/:na]
    4 frames
  5. Spring Messaging
    AbstractMessageSendingTemplate.send
    1. org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:115)[spring-messaging-4.2.7.RELEASE.jar!/:4.2.7.RELEASE]
    2. org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:45)[spring-messaging-4.2.7.RELEASE.jar!/:4.2.7.RELEASE]
    3. org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:105)[spring-messaging-4.2.7.RELEASE.jar!/:4.2.7.RELEASE]
    3 frames
  6. Spring Integration Core
    MessageProducerSupport.sendMessage
    1. org.springframework.integration.endpoint.MessageProducerSupport.sendMessage(MessageProducerSupport.java:105)[spring-integration-core-4.2.4.RELEASE.jar!/:na]
    1 frame
  7. org.springframework.integration
    AbstractDecodingMessageListener.onMessage
    1. org.springframework.integration.kafka.inbound.KafkaMessageDrivenChannelAdapter.access$300(KafkaMessageDrivenChannelAdapter.java:43)[spring-integration-kafka-1.3.1.RELEASE.jar!/:na]
    2. org.springframework.integration.kafka.inbound.KafkaMessageDrivenChannelAdapter$AutoAcknowledgingChannelForwardingMessageListener.doOnMessage(KafkaMessageDrivenChannelAdapter.java:171)[spring-integration-kafka-1.3.1.RELEASE.jar!/:na]
    3. org.springframework.integration.kafka.listener.AbstractDecodingMessageListener.onMessage(AbstractDecodingMessageListener.java:50)[spring-integration-kafka-1.3.1.RELEASE.jar!/:na]
    3 frames
  8. org.springframework.cloud
    KafkaMessageChannelBinder$4$1.doWithRetry
    1. org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder$4$1.doWithRetry(KafkaMessageChannelBinder.java:516)[spring-cloud-stream-binder-kafka-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    1 frame
  9. Spring Retry
    RetryTemplate.execute
    1. org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:276)[spring-retry-1.1.3.RELEASE.jar!/:na]
    2. org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:157)[spring-retry-1.1.3.RELEASE.jar!/:na]
    2 frames
  10. org.springframework.cloud
    KafkaMessageChannelBinder$4.onMessage
    1. org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder$4.onMessage(KafkaMessageChannelBinder.java:513)[spring-cloud-stream-binder-kafka-1.0.2.RELEASE.jar!/:1.0.2.RELEASE]
    1 frame
  11. org.springframework.integration
    QueueingMessageListenerInvoker$KafkaMessageDispatchingSubscriber.onNext
    1. org.springframework.integration.kafka.listener.QueueingMessageListenerInvoker$KafkaMessageDispatchingSubscriber.onNext(QueueingMessageListenerInvoker.java:221)[spring-integration-kafka-1.3.1.RELEASE.jar!/:na]
    2. org.springframework.integration.kafka.listener.QueueingMessageListenerInvoker$KafkaMessageDispatchingSubscriber.onNext(QueueingMessageListenerInvoker.java:209)[spring-integration-kafka-1.3.1.RELEASE.jar!/:na]
    2 frames
  12. reactor.core.processor
    RingBufferSubscriberUtils.route
    1. reactor.core.processor.util.RingBufferSubscriberUtils.route(RingBufferSubscriberUtils.java:67)[reactor-core-2.0.8.RELEASE.jar!/:na]
    1 frame
  13. Core Reactor components
    RingBufferProcessor$BatchSignalProcessor.run
    1. reactor.core.processor.RingBufferProcessor$BatchSignalProcessor.run(RingBufferProcessor.java:789)[reactor-core-2.0.8.RELEASE.jar!/:na]
    1 frame
  14. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_66]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_66]
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66]
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66]
    5. java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]
    5 frames