java.lang.Exception: java.io.IOException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1

GitHub | MohanBunny | 2 months ago
  1. 0

    GitHub comment 848#249107256

    GitHub | 2 months ago | MohanBunny
    java.lang.Exception: java.io.IOException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    java.lang.StringIndexOutOfBoundsException: String index out of range: -1 error in pyspark elasticsearch

    Stack Overflow | 10 months ago | niladri chakrabarty
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    GitHub comment 225#164221685

    GitHub | 12 months ago | JordanMartinez
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 622#164778918

    GitHub | 12 months ago | ebuildy
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    GitHub comment 231#166069082

    GitHub | 12 months ago | JordanMartinez
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  1. archenroot 17 times, last 1 week ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 4 weeks ago
  4. DoktorDoener666 6 times, last 4 weeks ago
  5. eti22 3 times, last 1 month ago
16 more registered users
58 unregistered visitors
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: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1967)
    1 frame
  3. Elasticsearch Hadoop
    EsOutputFormat$EsRecordWriter.write
    1. org.elasticsearch.hadoop.rest.RestClient.discoverNodes(RestClient.java:99)
    2. org.elasticsearch.hadoop.rest.InitializationUtils.discoverNodesIfNeeded(InitializationUtils.java:61)
    3. org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.init(EsOutputFormat.java:182)
    4. org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.write(EsOutputFormat.java:159)
    4 frames
  4. org.elasticsearch.hadoop
    EsStorage.putNext
    1. org.elasticsearch.hadoop.pig.EsStorage.putNext(EsStorage.java:196)
    1 frame
  5. org.apache.pig
    PigOutputFormat$PigRecordWriter.write
    1. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat$PigRecordWriter.write(PigOutputFormat.java:136)
    2. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat$PigRecordWriter.write(PigOutputFormat.java:95)
    2 frames
  6. Hadoop
    WrappedReducer$Context.write
    1. org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.write(ReduceTask.java:558)
    2. org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:89)
    3. org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer$Context.write(WrappedReducer.java:105)
    3 frames
  7. org.apache.pig
    PigGenericMapReduce$Reduce.reduce
    1. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapReduce$Reduce.runPipeline(PigGenericMapReduce.java:477)
    2. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapReduce$Reduce.processOnePackageOutput(PigGenericMapReduce.java:442)
    3. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapReduce$Reduce.reduce(PigGenericMapReduce.java:422)
    4. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapReduce$Reduce.reduce(PigGenericMapReduce.java:269)
    4 frames
  8. Hadoop
    LocalJobRunner$Job$ReduceTaskRunnable.run
    1. org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:171)
    2. org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:627)
    3. org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389)
    4. org.apache.hadoop.mapred.LocalJobRunner$Job$ReduceTaskRunnable.run(LocalJobRunner.java:319)
    4 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames