PhilippC / PhilippC/keepass2android

[BUG] Missing root element

Open
#2,601 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.2k
Forks
478
Avg merge
1h 4m
Merged PRs (30d)
2

Description

Checks
  • I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:
  1. Login attempt in database
  2. App reports that DB file does not contain a root element.
  3. After further attempts, login is usually possible, often on the second attempt.
Describe what you expected to happen:

Flawless login.

I suspect that the error message is more likely the result of a faulty reading process. If you follow the error message, then the database should not be able to be opened permanently, should it?

What version of Keepass2Android are you using?

1.10-pre

Which version of Android are you on?

Android 14, One UI 6.0

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the login failure on Android 14 with Keepass2Android 1.10-pre, comparing the first and subsequent attempts. Review the linked root-element issue (#1284); no source file, test, or entry point is named, so completion would require identifying the faulty read path and achieving reliable login without the root-element error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
authentication, databases, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.