java.lang.NegativeArraySizeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.NegativeArraySizeException at scala.reflect.ManifestFactory$$anon$12.newArray(Manifest.scala:141) at scala.reflect.ManifestFactory$$anon$12.newArray(Manifest.scala:139) at breeze.linalg.DenseVector$.zeros$mDc$sp(DenseVector.scala:254) at org.apache.spark.ml.ann.FeedForwardModel$.apply(Layer.scala:564) at org.apache.spark.ml.ann.FeedForwardTopology.model(Layer.scala:397) at org.apache.spark.ml.ann.FeedForwardTrainer.train(Layer.scala:807) at org.apache.spark.ml.classification.MultilayerPerceptronClassifier.train(MultilayerPerceptronClassifier.scala:260) at org.apache.spark.ml.classification.MultilayerPerceptronClassifier.train(MultilayerPerceptronClassifier.scala:145) at org.apache.spark.ml.Predictor.fit(Predictor.scala:96)
No Bugmate found.