Notification Sync has encountered an error

Open
#242 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
kotlin
Domain
mobile

Research direction

The crash is thrown from PacketQueue.kt line 152 in the bluetooth/common module, in PacketQueue.transmit, when a FailedDifferentAppOpen condition is detected — read that method and the exception definition first to see what state triggers it. Then trace who enqueues packets during notification sync and how the app detects which watch app is currently open. Done means either the conflicting-app case is handled without an unrecoverable exception, or a clear repro and expected behaviour are added to the issue.

Written by the indexing model from the issue text.

Description

Manufacturer: Google
Device: Pixel 9 Pro XL (komodo)
OS: 17
OS Build: google/komodo_beta/komodo:17/DP11.261030.003/16847878:user/release-keys
SDK: 37
App version: 2.3.0-local-165a5ef
(1)

com.matejdro.pebble.bluetooth.common.exceptions.UnrecoverableWatchTransferException: FailedDifferentAppOpen
at com.matejdro.pebble.bluetooth.common.PacketQueue.transmit(PacketQueue.kt:152)
at com.matejdro.pebble.bluetooth.common.PacketQueue.access$transmit(PacketQueue.kt:24)
at com.matejdro.pebble.bluetooth.common.PacketQueue$transmit$1.invokeSuspend(PacketQueue.kt:21)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:35)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:101)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:47)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)

Dominant language
Kotlin
Stars
36
Forks
6
Avg merge
15h 6m
Merged PRs (30d)
21

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matejdro/PebbleNotificationCenter2

All issues in matejdro/PebbleNotificationCenter2

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.