Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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)