java.lang.IllegalArgumentException: requirement failed: users in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.

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 Google Groups by Ravi Srivastava, 1 year ago
requirement failed: users in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.
via Google Groups by Vihang Mirkhelkar, 10 months ago
requirement failed: users in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.
via Google Groups by Harsha Reddy, 1 year ago
requirement failed: users in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.
via Google Groups by Pat Ferrel, 1 year ago
requirement failed: users in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.
via GitHub by iamtew
, 7 months ago
requirement failed: Illegal port: -1
via GitHub by olafmol
, 10 months ago
requirement failed: Illegal port: -1
java.lang.IllegalArgumentException: requirement failed: users in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.
at scala.Predef$.require(Predef.scala:233)
at com.rockstand.ALSAlgorithm.train(ALSAlgorithm.scala:53)
at com.rockstand.ALSAlgorithm.train(ALSAlgorithm.scala:43)
at io.prediction.controller.P2LAlgorithm.trainBase(P2LAlgorithm.scala:46)
at io.prediction.controller.Engine$$anonfun$18.apply(Engine.scala:688)
at io.prediction.controller.Engine$$anonfun$18.apply(Engine.scala:688)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at io.prediction.controller.Engine$.train(Engine.scala:688)
at io.prediction.controller.Engine.train(Engine.scala:174)
at io.prediction.workflow.CoreWorkflow$.runTrain(CoreWorkflow.scala:65)
at io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:247)
at io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:665)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:170)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:193)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:112)

Users with the same issue

Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 2 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
46 more bugmates

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