java.lang.RuntimeException: No data selected!

Stack Overflow | Rockie Yang | 7 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. 0

    GitHub comment 97#168706671

    GitHub | 1 year ago | matanster
    java.lang.RuntimeException: Setting value cannot be null: {file:/repos/canve/crawler@openShift/payload/}/*:gitCurrentBranch
  2. 0

    Can I create a function in Spark SQL?

    Stack Overflow | 3 years ago | user3826955
    java.lang.RuntimeException: [1.1] failure:</code>INSERT'' expected but identifier CREATE found</p> <p>CREATE OR REPLACE FUNCTION apply_rules (pcode VARCHAR2) RETURN BOOLEAN AS LANGUAGE JAVA NAME 'main.scala.GroovyIntegrator.applyRules (java.lang.String) return java.lang.Boolean'; ^
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Append Mode is not Enabled for AvroSaver

    GitHub | 2 years ago | mkanchwala
    java.lang.RuntimeException: Append mode is not supported by com.databricks.spark.avro.DefaultSource
  5. 0

    Saving / exporting transformed DataFrame back to JDBC / MySQL

    Stack Overflow | 2 years ago | Matt Zukowski
    java.lang.RuntimeException: org.apache.spark.sql.execution.datasources.jdbc.DefaultSource does not allow create table as select.

  1. rp 1 times, last 2 weeks ago
  2. neowulf33 1 times, last 1 month ago
  3. Handemelindo 1 times, last 1 month ago
  4. gpgekko 1 times, last 4 months ago
  5. richard77 1 times, last 4 months ago
12 more registered users
70 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.RuntimeException

    No data selected!

    at scala.sys.package$.error()
  2. Scala
    package$.error
    1. scala.sys.package$.error(package.scala:27)
    1 frame
  3. org.apache.spark
    MemoryStream$$anonfun$getBatch$4.apply
    1. org.apache.spark.sql.execution.streaming.MemoryStream$$anonfun$getBatch$4.apply(memory.scala:110)
    2. org.apache.spark.sql.execution.streaming.MemoryStream$$anonfun$getBatch$4.apply(memory.scala:110)
    2 frames
  4. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:121)
    1 frame
  5. org.apache.spark
    StreamExecution$$anonfun$5.apply
    1. org.apache.spark.sql.execution.streaming.MemoryStream.getBatch(memory.scala:109)
    2. org.apache.spark.sql.execution.streaming.StreamExecution$$anonfun$5.apply(StreamExecution.scala:332)
    3. org.apache.spark.sql.execution.streaming.StreamExecution$$anonfun$5.apply(StreamExecution.scala:329)
    3 frames
  6. Scala
    IterableLike$class.foreach
    1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
    2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
    3. scala.collection.Iterator$class.foreach(Iterator.scala:893)
    4. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
    5. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    5 frames
  7. org.apache.spark
    StreamProgress.foreach
    1. org.apache.spark.sql.execution.streaming.StreamProgress.foreach(StreamProgress.scala:25)
    1 frame
  8. Scala
    TraversableLike$class.flatMap
    1. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241)
    1 frame
  9. org.apache.spark
    StreamExecution$$anon$1.run
    1. org.apache.spark.sql.execution.streaming.StreamProgress.flatMap(StreamProgress.scala:25)
    2. org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runBatch(StreamExecution.scala:329)
    3. org.apache.spark.sql.execution.streaming.StreamExecution$$anonfun$org$apache$spark$sql$execution$streaming$StreamExecution$$runBatches$1.apply$mcZ$sp(StreamExecution.scala:194)
    4. org.apache.spark.sql.execution.streaming.ProcessingTimeExecutor.execute(TriggerExecutor.scala:43)
    5. org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runBatches(StreamExecution.scala:184)
    6. org.apache.spark.sql.execution.streaming.StreamExecution$$anon$1.run(StreamExecution.scala:120)
    6 frames