java.lang.IllegalArgumentException

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.

  • Error While Installing PredictionIO Python SDK
    via by Vihang Mirkhelkar,
  • viewEvents in preparedData cannot be empty
    via by Ravi Srivastava,
  • JIRA is being discontinued
    via by Pat Ferrel,
  • Save object in cassandra using spark and java
    via Stack Overflow by chris
    ,
  • Package import error
    via by Amar Pawar,
    • 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) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

    Users with the same issue

    HandemelindoHandemelindo
    3 times, last one,
    rprp
    61 times, last one,
    poroszdporoszd
    15 times, last one,
    richard77richard77
    9 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    43 more bugmates