question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changes in work-runtime:1.0.0-alpha06

See original GitHub issue

Two crashes with work-runtime:1.0.0-alpha06 and android-job:1.3.0-alpha06

java.lang.NoSuchMethodError: No virtual method build()Landroidx/work/PeriodicWorkRequest; in class Landroidx/work/PeriodicWorkRequest$Builder; or its super classes (declaration of 'androidx.work.PeriodicWorkRequest$Builder' appears in /data/app/xxx/split_lib_dependencies_apk.apk)
        at com.evernote.android.job.work.JobProxyWorkManager.plantPeriodic(JobProxyWorkManager.java:72)
        at com.evernote.android.job.JobManager.scheduleWithApi(JobManager.java:241)
        at com.evernote.android.job.JobManager.schedule(JobManager.java:199)
        at com.evernote.android.job.JobRequest.schedule(JobRequest.java:426)
        at com.evernote.android.job.JobRescheduleService.rescheduleJobs(JobRescheduleService.java:120)
        at com.evernote.android.job.JobRescheduleService.onHandleWork(JobRescheduleService.java:87)
        at android.support.v4.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:391)
        at android.support.v4.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:382)
        at android.os.AsyncTask$2.call(AsyncTask.java:333)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
        at java.lang.Thread.run(Thread.java:764) 
java.lang.NoSuchMethodError: No virtual method build()Landroidx/work/PeriodicWorkRequest; in class Landroidx/work/PeriodicWorkRequest$Builder; or its super classes (declaration of 'androidx.work.PeriodicWorkRequest$Builder' appears in /data/app/xxx/split_lib_dependencies_apk.apk)
        at com.evernote.android.job.work.JobProxyWorkManager.plantPeriodic(JobProxyWorkManager.java:72)
        at com.evernote.android.job.JobManager.scheduleWithApi(JobManager.java:241)
        at com.evernote.android.job.JobManager.schedule(JobManager.java:199)
        at com.evernote.android.job.JobRequest.schedule(JobRequest.java:426)
        at com.evernote.android.job.JobRequest$2.run(JobRequest.java:455)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:15

github_iconTop GitHub Comments

1reaction
vRallevcommented, Aug 14, 2018

Please file an issue at Google’s bug tracker. This clearly is clearly an issue of WorkManager.

0reactions
vRallevcommented, Sep 24, 2018

This should be fixed in 1.3.0-alpha07 that relies on the latest version of WorkManager (alpha 09). Please use the latest versions of both libraries, then this issue should be gone.

Thanks for the patience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found