java.lang.IllegalArgumentException: requirement failed: Spark Streaming cannot be initialized with both SparkContext and checkpoint as null

GitHub | dkick | 2 months ago
  1. 0

    GitHub comment 142#253651849

    GitHub | 2 months ago | dkick
    java.lang.IllegalArgumentException: requirement failed: Spark Streaming cannot be initialized with both SparkContext and checkpoint as null
  2. 0

    GitHub comment 1988#201105812

    GitHub | 8 months ago | clockfly
    java.lang.IllegalArgumentException: requirement failed: Cannot push port (responseOut) twice
  3. 0

    replaceWithContext troubles

    GitHub | 8 months ago | gebner
    java.lang.IllegalArgumentException: requirement failed: Incorrect shallow formula: y = d != c = d
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Requests with method 'HEAD' must have an empty entity

    GitHub | 8 months ago | jrudnick
    java.lang.IllegalArgumentException: requirement failed: Requests with method 'HEAD' must have an empty entity
  6. 0

    GitHub comment 20209#205896543

    GitHub | 8 months ago | hochgi
    java.lang.IllegalArgumentException: requirement failed: contentLength must be positive (use `HttpEntity.empty(contentType)` for empty entities)
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

    requirement failed: Spark Streaming cannot be initialized with both SparkContext and checkpoint as null

    at scala.Predef$.require()
  2. Scala
    Predef$.require
    1. scala.Predef$.require(Predef.scala:224)
    1 frame
  3. Spark Project Streaming
    TestStreamingContext.<init>
    1. org.apache.spark.streaming.StreamingContext.<init>(StreamingContext.scala:131)
    2. org.apache.spark.streaming.TestStreamingContext.<init>(TestStreamingContext.scala:28)
    3. org.apache.spark.streaming.TestStreamingContext.<init>(TestStreamingContext.scala:35)
    3 frames
  4. com.holdenkarau.spark
    StreamingSuiteCommon$class.setupStreams
    1. com.holdenkarau.spark.testing.StreamingSuiteCommon$class.setupStreams(StreamingSuiteCommon.scala:141)
    1 frame
  5. Unknown
    MyTest.setupStreams
    1. MyTest.setupStreams(MyTest.scala:6)
    1 frame
  6. com.holdenkarau.spark
    StreamingSuiteBase$class.testOperation
    1. com.holdenkarau.spark.testing.StreamingSuiteBase$class.testOperation(StreamingSuiteBase.scala:150)
    1 frame
  7. Unknown
    MyTest.<init>
    1. MyTest.testOperation(MyTest.scala:6)
    2. MyTest.<init>(MyTest.scala:11)
    2 frames
  8. Java RT
    NativeConstructorAccessorImpl.newInstance0
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    1 frame