java.lang.NegativeArraySizeException: This exception has no message.

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

via Stack Overflow by william
, 10 months ago
java.lang.NegativeArraySizeException:
at scala.reflect.ManifestFactory$$anon$12.newArray(Manifest.scala:141)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.