java.lang.IndexOutOfBoundsException

0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3817

  • 0
  • via GitHub by mossprescott
    , 11 months ago
    0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: 0 at scala.collection.mutable.ResizableArray$class.apply(ResizableArray.scala:43) at scala.collection.mutable.ArrayBuffer.apply(ArrayBuffer.scala:48) at firrtl.passes.RemoveAccesses$.removeFemale$1(RemoveAccesses.scala:114) at firrtl.passes.RemoveAccesses$.firrtl$passes$RemoveAccesses$$onStmt$1(RemoveAccesses.scala:145) at firrtl.passes.RemoveAccesses$$anonfun$4.apply(RemoveAccesses.scala:146) at firrtl.passes.RemoveAccesses$$anonfun$4.apply(RemoveAccesses.scala:146) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) at scala.collection.TraversableLike$class.map(TraversableLike.scala:245) at scala.collection.AbstractTraversable.map(Traversable.scala:104) at firrtl.Mappers$StmtMagnet$$anon$4.map(Mappers.scala:44) at firrtl.Mappers$StmtMap.map(Mappers.scala:95) at firrtl.passes.RemoveAccesses$.firrtl$passes$RemoveAccesses$$onStmt$1(RemoveAccesses.scala:146) at firrtl.passes.RemoveAccesses$$anonfun$4.apply(RemoveAccesses.scala:146) at firrtl.passes.RemoveAccesses$$anonfun$4.apply(RemoveAccesses.scala:146) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) at scala.collection.TraversableLike$class.map(TraversableLike.scala:245) at scala.collection.AbstractTraversable.map(Traversable.scala:104) at firrtl.Mappers$StmtMagnet$$anon$4.map(Mappers.scala:44) at firrtl.Mappers$StmtMap.map(Mappers.scala:95) at firrtl.passes.RemoveAccesses$.firrtl$passes$RemoveAccesses$$onStmt$1(RemoveAccesses.scala:146) at firrtl.passes.RemoveAccesses$.firrtl$passes$RemoveAccesses$$remove_m$1(RemoveAccesses.scala:151) at firrtl.passes.RemoveAccesses$$anonfun$6.apply(RemoveAccesses.scala:156) at firrtl.passes.RemoveAccesses$$anonfun$6.apply(RemoveAccesses.scala:154) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245) at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) at scala.collection.TraversableLike$class.map(TraversableLike.scala:245) at scala.collection.AbstractTraversable.map(Traversable.scala:104) at firrtl.passes.RemoveAccesses$.run(RemoveAccesses.scala:154) at firrtl.SimpleRun$$anonfun$1$$anonfun$2.apply(LoweringCompilers.scala:48) at firrtl.SimpleRun$$anonfun$1$$anonfun$2.apply(LoweringCompilers.scala:48) at firrtl.Utils$.time(Utils.scala:57) at firrtl.SimpleRun$$anonfun$1.apply(LoweringCompilers.scala:48) at firrtl.SimpleRun$$anonfun$1.apply(LoweringCompilers.scala:46) at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124) at scala.collection.immutable.List.foldLeft(List.scala:84) at firrtl.SimpleRun$class.run(LoweringCompilers.scala:45) at firrtl.HighFirrtlToMiddleFirrtl.run(LoweringCompilers.scala:104) at firrtl.HighFirrtlToMiddleFirrtl.execute(LoweringCompilers.scala:117) at firrtl.Compiler$$anonfun$compile$1.apply(Compiler.scala:71) at firrtl.Compiler$$anonfun$compile$1.apply(Compiler.scala:70) at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124) at scala.collection.immutable.List.foldLeft(List.scala:84) at firrtl.Compiler$class.compile(Compiler.scala:70) at firrtl.VerilogCompiler.compile(LoweringCompilers.scala:198) at firrtl.Driver$.compile(Driver.scala:60) at firrtl.Driver$.run(Driver.scala:173) at firrtl.Driver$.main(Driver.scala:96) at firrtl.Driver.main(Driver.scala)

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 1 year ago