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

Stack Overflow | Anton | 4 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

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

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

    handle model predictions with categorical variables

    GitHub | 7 months ago | kevinushey
    java.lang.IllegalArgumentException: Field "Speciesversicolor" 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

  1. tyson925 1 times, last 2 weeks ago

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Field "myfield_i" 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:228)[spark-catalyst_2.11-2.0.1.jar:2.0.1]
    2. org.apache.spark.sql.types.StructType$$anonfun$apply$1.apply(StructType.scala:228)[spark-catalyst_2.11-2.0.1.jar:2.0.1]
    2 frames
  3. Scala
    AbstractMap.getOrElse
    1. scala.collection.MapLike$class.getOrElse(MapLike.scala:128)[scala-library-2.11.4.jar:na]
    2. scala.collection.AbstractMap.getOrElse(Map.scala:59)[scala-library-2.11.4.jar:na]
    2 frames
  4. org.apache.spark
    StructType.apply
    1. org.apache.spark.sql.types.StructType.apply(StructType.scala:227)[spark-catalyst_2.11-2.0.1.jar:2.0.1]
    1 frame