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

Google Groups | Arka Maity | 1 year ago
  1. 0

    Exceptions while generating C++ Backend

    Google Groups | 1 year ago | Arka Maity
    java.lang.StringIndexOutOfBoundsException: String index out of range: 4
  2. 0

    Java Log File Reader, charAt() String index out of range

    Stack Overflow | 3 years ago | sagschni
    java.lang.StringIndexOutOfBoundsException: String index out of range: 4
  3. 0

    Morgan and a String

    Stack Overflow | 2 years ago | coder101
    java.lang.StringIndexOutOfBoundsException: String index out of range: 4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    compare two strings in java

    Stack Overflow | 1 year ago | Ali12
    java.lang.StringIndexOutOfBoundsException: String index out of range: 4
  6. 0

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

    Stack Overflow | 9 months ago | Satrajit
    java.lang.StringIndexOutOfBoundsException: String index out of range: 4

  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: 4

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:658)
    1 frame
  3. Scala
    AbstractTraversable.map
    1. scala.collection.immutable.StringLike$class.apply(StringLike.scala:53)
    2. scala.collection.immutable.WrappedString.apply(WrappedString.scala:31)
    3. scala.collection.immutable.WrappedString.apply(WrappedString.scala:31)
    4. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    5. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    6. scala.collection.immutable.Range.foreach(Range.scala:141)
    7. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
    8. scala.collection.AbstractTraversable.map(Traversable.scala:105)
    8 frames
  4. Chisel
    Backend$$anonfun$printStack$1.apply
    1. Chisel.Backend.genIndent(Backend.scala:721)
    2. Chisel.Backend$$anonfun$printStack$1.apply(Backend.scala:724)
    3. Chisel.Backend$$anonfun$printStack$1.apply(Backend.scala:723)
    3 frames
  5. Scala
    AbstractTraversable.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    3. scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
    4. scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
    5. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
    6. scala.collection.AbstractTraversable.map(Traversable.scala:105)
    6 frames
  6. Chisel
    chiselMainTest$.apply
    1. Chisel.Backend.printStack(Backend.scala:723)
    2. Chisel.Backend.elaborate(Backend.scala:920)
    3. Chisel.CppBackend.elaborate(Cpp.scala:1360)
    4. Chisel.Driver$.execute(Driver.scala:92)
    5. Chisel.Driver$.apply(Driver.scala:40)
    6. Chisel.Driver$.apply(Driver.scala:51)
    7. Chisel.chiselMain$.apply(hcl.scala:63)
    8. Chisel.chiselMainTest$.apply(hcl.scala:76)
    8 frames
  7. MM_IP_NoC
    MM_IP_NoC.main
    1. MM_IP_NoC.MM_IP_NoC$.main(main.scala:111)
    2. MM_IP_NoC.MM_IP_NoC.main(main.scala)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)[trace]
    4 frames