java.lang.ArrayIndexOutOfBoundsException: 1

GitHub | MLnick | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Not able to pull matrix slice with rows != cols

    GitHub | 5 months ago | MLnick
    java.lang.ArrayIndexOutOfBoundsException: 1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1

      at scala.collection.mutable.WrappedArray$ofInt.apply$mcII$sp()
    2. Scala
      AbstractTraversable.map
      1. scala.collection.mutable.WrappedArray$ofInt.apply$mcII$sp(WrappedArray.scala:155)
      2. scala.collection.mutable.WrappedArray$ofInt.apply(WrappedArray.scala:155)
      3. scala.collection.mutable.WrappedArray$ofInt.apply(WrappedArray.scala:152)
      4. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      5. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      6. scala.collection.Iterator$class.foreach(Iterator.scala:893)
      7. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
      8. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      9. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      10. scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
      11. scala.collection.AbstractTraversable.map(Traversable.scala:104)
      11 frames
    3. glint.models.client
      AsyncBigMatrix$$anonfun$glint$models$client$async$AsyncBigMatrix$$mapPartitions$2.apply
      1. glint.models.client.async.AsyncBigMatrix$$anonfun$6.apply(AsyncBigMatrix.scala:101)
      2. glint.models.client.async.AsyncBigMatrix$$anonfun$6.apply(AsyncBigMatrix.scala:99)
      3. glint.models.client.async.AsyncBigMatrix$$anonfun$glint$models$client$async$AsyncBigMatrix$$mapPartitions$2.apply(AsyncBigMatrix.scala:169)
      4. glint.models.client.async.AsyncBigMatrix$$anonfun$glint$models$client$async$AsyncBigMatrix$$mapPartitions$2.apply(AsyncBigMatrix.scala:169)
      4 frames