java.lang.IllegalArgumentException: The requested column (4) is null

kudu-user | Darren Hoo | 1 year 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. 0

    Spark SQL on kudu can not contains nullable columns?

    incubator-kudu-user | 1 year ago | Darren Hoo
    java.lang.IllegalArgumentException: The requested column (4) is null
  2. 0

    Spark SQL on kudu can not contains nullable columns?

    kudu-user | 1 year ago | Darren Hoo
    java.lang.IllegalArgumentException: The requested column (4) is null
  3. 0

    Re: Spark SQL on kudu can not contains nullable columns?

    incubator-kudu-user | 1 year ago | Jean-Daniel Cryans
    java.lang.IllegalArgumentException: The requested column (4) is null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Spark SQL on kudu can not contains nullable columns?

    incubator-kudu-user | 1 year ago | Todd Lipcon
    java.lang.IllegalArgumentException: The requested column (4) is null
  6. 0

    Re: Spark SQL on kudu can not contains nullable columns?

    incubator-kudu-user | 1 year ago | Jean-Daniel Cryans
    java.lang.IllegalArgumentException: The requested column (4) is null

    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.IllegalArgumentException

      The requested column (4) is null

      at org.kududb.client.RowResult.checkNull()
    2. org.kududb.client
      RowResult.getString
      1. org.kududb.client.RowResult.checkNull(RowResult.java:475)
      2. org.kududb.client.RowResult.getString(RowResult.java:321)
      3. org.kududb.client.RowResult.getString(RowResult.java:308)
      3 frames
    3. org.kududb.spark
      KuduRelation$$anonfun$buildScan$1$$anonfun$apply$1.apply
      1. org.kududb.spark.KuduRelation.org$kududb$spark$KuduRelation$$getKuduValue(DefaultSource.scala:144)
      2. org.kududb.spark.KuduRelation$$anonfun$buildScan$1$$anonfun$apply$1.apply(DefaultSource.scala:126)
      3. org.kududb.spark.KuduRelation$$anonfun$buildScan$1$$anonfun$apply$1.apply(DefaultSource.scala:126)
      3 frames
    4. Scala
      ArrayOps$ofRef.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      4. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
      5. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      6. scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
      6 frames
    5. org.kududb.spark
      KuduRelation$$anonfun$buildScan$1.apply
      1. org.kududb.spark.KuduRelation$$anonfun$buildScan$1.apply(DefaultSource.scala:126)
      2. org.kududb.spark.KuduRelation$$anonfun$buildScan$1.apply(DefaultSource.scala:124)
      2 frames
    6. Scala
      AbstractIterator.toArray
      1. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      2. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      3. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      4. scala.collection.Iterator$$anon$10.next(Iterator.scala:312)
      5. scala.collection.Iterator$class.foreach(Iterator.scala:727)
      6. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      7. scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
      8. scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:103)
      9. scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:47)
      10. scala.collection.TraversableOnce$class.to(TraversableOnce.scala:273)
      11. scala.collection.AbstractIterator.to(Iterator.scala:1157)
      12. scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:265)
      13. scala.collection.AbstractIterator.toBuffer(Iterator.scala:1157)
      14. scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:252)
      15. scala.collection.AbstractIterator.toArray(Iterator.scala:1157)
      15 frames
    7. Spark Project SQL
      SparkPlan$$anonfun$5.apply
      1. org.apache.spark.sql.execution.SparkPlan$$anonfun$5.apply(SparkPlan.scala:215)
      2. org.apache.spark.sql.execution.SparkPlan$$anonfun$5.apply(SparkPlan.scala:215)
      2 frames
    8. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1850)
      2. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1850)
      3. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
      4. org.apache.spark.scheduler.Task.run(Task.scala:88)
      5. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
      5 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames