[BUG] unhandled promise rejection on startup

Open
#792 3 comments 1 reaction 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
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android
Domain
backend, mobile

Research direction

Start by tracing app startup and settings initialization to find the promise that rejects; the issue does not identify a file, stack trace, or failing test. Reproduce on Android with the reported app version and OxygenOS version, then capture the relevant logs to locate the failure. Done means the document list loads, new documents can be added, and settings open without an unhandled rejection.

Written by the indexing model from the issue text.

Description

bug
Which app is your issue for

Document Scanner

Version

1.26.2.165

Image
What platform are you using?

Android

OS Version

OnePlus OxygenOS 16.0.3

Image
What happened?

When I start the app there is an error "unhandled promise rejection" and the document list stays empty. It is also not possible to add new documents.

Image

And a similar error when opening the settings.

Image
Relevant log output

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
C++
Stars
2.7k
Forks
153
Avg merge
9h 56m
Merged PRs (30d)
121

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 ossappscollective/OSS-DocumentScanner

All issues in ossappscollective/OSS-DocumentScanner

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.