PhilippC / PhilippC/keepass2android

[BUG] App killed at launch

Open
#3,177 0 comments 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:

The app automatically killed at launch since v1.15-r1.

Part of the logcat:

02-09 18:41:54.195 14011 14011 E AndroidRuntime: FATAL EXCEPTION: main
02-09 18:41:54.195 14011 14011 E AndroidRuntime: Process: keepass2android.keepass2android, PID: 14011
02-09 18:41:54.195 14011 14011 E AndroidRuntime: java.lang.NoSuchMethodError: No static method decode(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String; in class Ljava/net/URLDecoder; or its super classes (declaration of 'java.net.URLDecoder' appears in /system/framework/core-oj.jar)

I can give you more if you need it.
Thanks a lot for this app.

Describe what you expected to happen:

The app to work as expected.

What version of Keepass2Android are you using?

v1.15-r1

Which version of Android are you on?

9

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 with the provided AndroidRuntime logcat and reproduce the launch failure on Android 9 using v1.15-r1. Trace the URLDecoder.decode(String, Charset) call implicated by the NoSuchMethodError, then verify that the app launches without the exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.