crash column 'id' does not exist
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by tracing the reported call from androidx.work.impl.model.WorkSpecDao_Impl.getAllEligibleWorkSpecsForScheduling through Schedulers.schedule and the listed CursorUtil failure. Compare the reported available columns with the query's expected columns and reproduce it on the listed device or version combinations. Done means the scheduling path no longer crashes with the reported missing-id error.
Written by the indexing model from the issue text.
Description
Back traces starts.
java.lang.IllegalArgumentException: column 'id' does not exist. Available columns: [required_network_type, requires_charging, requires_device_idle, requires_battery_not_low, requires_storage_not_low, trigger_content_update_delay, trigger_max_content_delay, content_uri_triggers, , state, worker_class_name, input_merger_class_name, input, output, initial_delay, interval_duration, flex_duration, run_attempt_count, backoff_policy, backoff_delay_duration, period_start_time, minimum_retention_duration, schedule_requested_at, run_in_foreground, out_of_quota_policy]
at androidx.room.util.CursorUtil.getColumnIndexOrThrow(CursorUtil.java:123)
at androidx.work.impl.model.WorkSpecDao_Impl.getAllEligibleWorkSpecsForScheduling(WorkSpecDao_Impl.java:1683)
at androidx.work.impl.Schedulers.schedule(Schedulers.java:78)
at androidx.work.impl.WorkerWrapper.onWorkFinished(WorkerWrapper.java:375)
at androidx.work.impl.WorkerWrapper$2.run(WorkerWrapper.java:331)
at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Back traces ends.
Device: SM-G610F、SM-T585、Redmi 8、SM-J410F
Version: 8.0.0、8.1.0、9.0
- Dominant language
- Kotlin
- Stars
- 557
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from android/codelab-android-workmanager
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
android/codelab-android-workmanager#261 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
android/codelab-android-workmanager#324 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 50/100
All issues in android/codelab-android-workmanager
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
micronaut-projects/micronaut-core#13717 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Ikiru change domainOpenBug Domain changed
Difficulty 1/5 Under an hour Newbie friendliness 70/100
keiyoushi/extensions-source#19690 · 1 comment ·
Maintainers usually reply within 1 day
-
Missing repro Platform: Android
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
software-mansion/react-native-reanimated#10816 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
KazumaProject/JapaneseKeyboard#1125 ·
Maintainers usually reply within 1 day