java.lang.NullPointerException

GitHub | ElianoMarques | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at scala.collection.immutable.StringOps$.length$extension()
    2. Scala
      StringOps.nonEmpty
      1. scala.collection.immutable.StringOps$.length$extension(StringOps.scala:47)
      2. scala.collection.immutable.StringOps.length(StringOps.scala:47)
      3. scala.collection.IndexedSeqOptimized$class.isEmpty(IndexedSeqOptimized.scala:27)
      4. scala.collection.immutable.StringOps.isEmpty(StringOps.scala:29)
      5. scala.collection.TraversableOnce$class.nonEmpty(TraversableOnce.scala:111)
      6. scala.collection.immutable.StringOps.nonEmpty(StringOps.scala:29)
      6 frames
    3. org.apache.spark
      AttributeGroup.<init>
      1. org.apache.spark.ml.attribute.AttributeGroup.<init>(AttributeGroup.scala:42)
      2. org.apache.spark.ml.attribute.AttributeGroup.<init>(AttributeGroup.scala:65)
      2 frames
    4. Spark Project ML Library
      VectorAssembler.transform
      1. org.apache.spark.ml.feature.VectorAssembler.transform(VectorAssembler.scala:94)
      1 frame
    5. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3 frames