java.lang.IllegalArgumentException: Field "Speciesversicolor" does not exist.

GitHub | kevinushey | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    handle model predictions with categorical variables

    GitHub | 6 months ago | kevinushey
    java.lang.IllegalArgumentException: Field "Speciesversicolor" does not exist.
  2. 0

    Spark PipelineModel: StringIndexer + OneHotEncoder, IllegalArgumentException, field does not exist

    Stack Overflow | 4 months ago | Anton
    java.lang.IllegalArgumentException: Field "myfield_i" does not exist.
  3. 0

    Spark (Java) transformSchema() in custom Transformer

    Stack Overflow | 4 months ago | Igor Kustov
    java.lang.IllegalArgumentException: Field "trans_vector" does not exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Field "Speciesversicolor" does not exist.

    at org.apache.spark.sql.types.StructType$$anonfun$apply$1.apply()
  2. org.apache.spark
    StructType$$anonfun$apply$1.apply
    1. org.apache.spark.sql.types.StructType$$anonfun$apply$1.apply(StructType.scala:212)
    2. org.apache.spark.sql.types.StructType$$anonfun$apply$1.apply(StructType.scala:212)
    2 frames
  3. Scala
    AbstractMap.getOrElse
    1. scala.collection.MapLike$class.getOrElse(MapLike.scala:128)
    2. scala.collection.AbstractMap.getOrElse(Map.scala:58)
    2 frames
  4. org.apache.spark
    StructType.apply
    1. org.apache.spark.sql.types.StructType.apply(StructType.scala:211)
    1 frame
  5. Spark Project ML Library
    VectorAssembler$$anonfun$2.apply
    1. org.apache.spark.ml.feature.VectorAssembler$$anonfun$2.apply(VectorAssembler.scala:55)
    2. org.apache.spark.ml.feature.VectorAssembler$$anonfun$2.apply(VectorAssembler.scala:54)
    2 frames
  6. Scala
    ArrayOps$ofRef.foreach
    1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    3. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    4. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
    4 frames