Method.invoke() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
Javadoc
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.

Applications can subclass this class to indicate similar exceptions. @author Frank Yellin @since JDK1.0

at breeze.linalg.DenseMatrix$mcD$sp.update$mcD$sp
at org.apache.spark.mllib.clustering.DistributedLDAModel$$anonfun$topicsMatrix$1.apply
at org.apache.spark.mllib.clustering.DistributedLDAModel$$anonfun$topicsMatrix$1.apply
at scala.collection.IndexedSeqOptimized$class.foreach
at scala.collection.mutable.ArrayOps$ofRef.foreach
at org.apache.spark.mllib.clustering.DistributedLDAModel.topicsMatrix$lzycompute
at org.apache.spark.mllib.clustering.DistributedLDAModel.topicsMatrix
at com.mobvoi.knowledgegraph.textmining.lda.ReviewLDA.main
at sun.reflect.NativeMethodAccessorImpl.invoke0
(source)
at sun.reflect.NativeMethodAccessorImpl.invoke
(source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(source)
at java.lang.reflect.Method.invoke
(source)
11 frames hidden

Typical Exception Messages

  1. (1025,0) not in [-58,58) x [-100,100)
  2. (454,0) not in [-58,58) x [-100,100)

Origin

DistributedLDAModel.topicsMatrix() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
6 frames hidden
org.apache.spark.mllib.clustering.DistributedLDAModel.topicsMatrix
5Web pages

External results for this pattern (4)

  1. Unknown authorvia nabble.com2 months ago
    (454,0) not in [-58,58) x [-100,100)
    Show stack trace
  2. Li Livia incubator-spark-dev2 months ago
    (1025,0) not in [-58,58) x [-100,100)
    Show stack trace
  3. Li Livia spark-dev1 year ago
    (1025,0) not in [-58,58) x [-100,100)
    Show stack trace
  4. Li Livia spark-dev1 year ago
    (1025,0) not in [-58,58) x [-100,100)
    Show stack trace