java.lang.RuntimeException: Unable to start activity ComponentInfo{rishabh.example.com.myapplication/rishabh.example.com.myapplication.MainActivity}: java.lang.IllegalArgumentException: Can't call setOverrideDeadline() on a periodic job.

Stack Overflow | Rishabh Jindal | 6 months ago
  1. 0

    JobScheduler.schedule(job) is not starting the JobService

    Stack Overflow | 6 months ago | Rishabh Jindal
    java.lang.RuntimeException: Unable to start activity ComponentInfo{rishabh.example.com.myapplication/rishabh.example.com.myapplication.MainActivity}: java.lang.IllegalArgumentException: Can't call setOverrideDeadline() on a periodic job.
  2. 0
    Probably you try to create an actor using actorSystem.actorOf(Props(classOf[AnyActor], args...)) where args does not match AnyActor constructor parameters.
  3. 0
    Properties of subclasses may have to be referenced in a different way. More on this here: https://goo.gl/FvnBXb
    via goo.gl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  6. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.

    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

      Can't call setOverrideDeadline() on a periodic job.

      at me.tatarka.support.job.JobInfo$Builder.build()
    2. me.tatarka.support
      JobInfo$Builder.build
      1. me.tatarka.support.job.JobInfo$Builder.build(JobInfo.java:477)
      1 frame
    3. rishabh.example.com
      MainActivity.onCreate
      1. rishabh.example.com.myapplication.MainActivity.constructJob(MainActivity.java:30)
      2. rishabh.example.com.myapplication.MainActivity.onCreate(MainActivity.java:19)
      2 frames
    4. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6010)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
      3 frames