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

GitHub | kinglezhuang | 4 months ago
  1. 0

    GitHub comment 266#237513856

    GitHub | 4 months ago | kinglezhuang
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    Problems with leading underscores in names

    GitHub | 4 months ago | kinglezhuang
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  3. 0

    swagger codegen fails due to java exception

    GitHub | 2 years ago | vnugent
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Index into should explicitly disallow empty strings

    GitHub | 2 years ago | vicentealencar
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0

    Multiple line breaks within a single quoted value causes StringIndexOutOfBoundsException

    GitHub | 2 years ago | gmatadh
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

  1. harshg 2 times, last 2 months ago
  2. balintn 4 times, last 3 months ago
  3. poroszd 1 times, last 3 months ago
  4. Stefan Braune 1 times, last 5 months ago
  5. mauritius 1 times, last 5 months ago
6 more registered users
18 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: 0

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:658)
    1 frame
  3. djinni.generatorTools
    package$IdentStyle$$anonfun$2$$anonfun$apply$4.apply
    1. djinni.generatorTools.package$.firstUpper(generator.scala:86)
    2. djinni.generatorTools.package$IdentStyle$$anonfun$2$$anonfun$apply$4.apply(generator.scala:106)
    3. djinni.generatorTools.package$IdentStyle$$anonfun$2$$anonfun$apply$4.apply(generator.scala:106)
    3 frames
  4. Scala
    ArrayOps$ofRef.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
    3. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    4. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
    5. scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
    6. scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
    6 frames
  5. djinni.generatorTools
    package$IdentStyle$$anonfun$2.apply
    1. djinni.generatorTools.package$IdentStyle$$anonfun$2.apply(generator.scala:106)
    2. djinni.generatorTools.package$IdentStyle$$anonfun$2.apply(generator.scala:104)
    2 frames
  6. djinni
    JavaGenerator$$anonfun$generateRecord$2$$anonfun$apply$7$$anonfun$apply$mcV$sp$25.apply
    1. djinni.JavaGenerator$$anonfun$generateRecord$2$$anonfun$apply$7$$anonfun$apply$mcV$sp$25.apply(JavaGenerator.scala:260)
    2. djinni.JavaGenerator$$anonfun$generateRecord$2$$anonfun$apply$7$$anonfun$apply$mcV$sp$25.apply(JavaGenerator.scala:256)
    2 frames
  7. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:383)
    1 frame
  8. djinni
    JavaGenerator$$anonfun$generateRecord$2$$anonfun$apply$7.apply$mcV$sp
    1. djinni.JavaGenerator$$anonfun$generateRecord$2$$anonfun$apply$7.apply$mcV$sp(JavaGenerator.scala:256)
    1 frame
  9. djinni.writer
    package$IndentWriter$$anonfun$braced$1.apply
    1. djinni.writer.package$IndentWriter.djinni$writer$IndentWriter$$nested_(writer.scala:70)
    2. djinni.writer.package$IndentWriter.nested(writer.scala:64)
    3. djinni.writer.package$IndentWriter.bracedEnd(writer.scala:80)
    4. djinni.writer.package$IndentWriter$$anonfun$braced$1.apply(writer.scala:84)
    5. djinni.writer.package$IndentWriter$$anonfun$braced$1.apply(writer.scala:84)
    5 frames
  10. djinni
    Generator$$anonfun$generate$2.apply
    1. djinni.JavaGenerator$$anonfun$generateRecord$2.apply(JavaGenerator.scala:228)
    2. djinni.JavaGenerator$$anonfun$generateRecord$2.apply(JavaGenerator.scala:217)
    3. djinni.JavaGenerator$$anonfun$writeJavaFile$1.apply(JavaGenerator.scala:62)
    4. djinni.JavaGenerator$$anonfun$writeJavaFile$1.apply(JavaGenerator.scala:53)
    5. djinni.Generator.createFile(generator.scala:246)
    6. djinni.Generator.createFile(generator.scala:254)
    7. djinni.JavaGenerator.writeJavaFile(JavaGenerator.scala:53)
    8. djinni.JavaGenerator.generateRecord(JavaGenerator.scala:217)
    9. djinni.Generator$$anonfun$generate$2.apply(generator.scala:323)
    10. djinni.Generator$$anonfun$generate$2.apply(generator.scala:319)
    10 frames
  11. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:383)
    1 frame
  12. djinni
    Generator.generate
    1. djinni.Generator.generate(generator.scala:319)
    1 frame
  13. djinni.generatorTools
    package$.generate
    1. djinni.generatorTools.package$.generate(generator.scala:180)
    1 frame
  14. djinni
    Main.main
    1. djinni.Main$.main(Main.scala:331)
    2. djinni.Main.main(Main.scala)
    2 frames