java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double

Stack Overflow | kumar_m_kiran | 2 months ago
  1. 0

    Spark streaming - Custom receiver and dataframe infer schema

    Stack Overflow | 2 months ago | kumar_m_kiran
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double
  2. 0

    Scala asInstanceOf generic type does not fail in Try

    Stack Overflow | 2 years ago | Xzer
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double
  3. 0

    Exception on special characters on Spark Dataframe returned by DropNA

    Stack Overflow | 10 months ago | Ganesh
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to create a Dataframe programmatically that isn't StringType

    Stack Overflow | 2 months ago | Jim Hendricks
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double
  6. 0

    GitHub comment 1080#225892635

    GitHub | 6 months ago | durban
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double

  1. tyson925 1 times, last 1 month ago
  2. silex 2 times, last 2 months ago
  3. tyson925 5 times, last 4 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    java.lang.String cannot be cast to java.lang.Double

    at scala.runtime.BoxesRunTime.unboxToDouble()
  2. Scala
    BoxesRunTime.unboxToDouble
    1. scala.runtime.BoxesRunTime.unboxToDouble(BoxesRunTime.java:119)
    1 frame
  3. Spark Project Catalyst
    BaseGenericInternalRow$class.getDouble
    1. org.apache.spark.sql.catalyst.expressions.BaseGenericInternalRow$class.getDouble(rows.scala:44)
    1 frame