LadyBugML / ladybug-data-android

Apache License 2.0
0 stars 1 forks source link

Allo #85

Open Noway-code opened 1 day ago

Noway-code commented 1 day ago

General information App version: 0.7.0 App source: built from sources Android Version: Android 9 Custom ROM: emulator Same crash on actual devices with app 0.7.0 and 0.6.3.1 from F-Droid.

Expected result

What is expected? An error message is displayed.

What does happen instead? App crashes.

Logcat org.shadowice.flocke.andotp.dev E/AndroidRuntime: FATAL EXCEPTION: main Process: org.shadowice.flocke.andotp.dev, PID: 3414 java.lang.IllegalArgumentException: Last encoded character (before the paddings if any) is a valid base 32 alphabet but not a possible value. Expected the discarded bits to be zero. at org.apache.commons.codec.binary.Base32.validateCharacter(Base32.java:577) at org.apache.commons.codec.binary.Base32.decode(Base32.java:404) at org.apache.commons.codec.binary.BaseNCodec.decode(BaseNCodec.java:482) at org.apache.commons.codec.binary.BaseNCodec.decode(BaseNCodec.java:465) at org.shadowice.flocke.andotp.Database.Entry.(Entry.java:90) at org.shadowice.flocke.andotp.Dialogs.ManualEntryDialog$7.onClick(ManualEntryDialog.java:210) at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:172) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Steps to reproduce

Open entry creation dialog ("+" -> Enter details). Enter "test" in the "Secret" field (and fill other required fields).

camilos-probot[bot] commented 1 day ago

Processing your request... [0%]

camilos-probot[bot] commented 1 day ago

Hello! LadyBug was able to find and rank files that may contain the bug mentioned in this issue.

File ranking in order of most likely to contain the bug to least likely:

Rank File Path Score
1 app/src/release/java/io/github/zwieback/familyfinance/app/FamilyFinanceApplication.java 0.5544413328170776
2 app/src/main/java/io/github/zwieback/familyfinance/business/backup/activity/BackupActivity.java 0.5199213027954102
3 app/src/main/java/io/github/zwieback/familyfinance/business/preference/custom/interface_/ShowBalanceOnOperationScreensPreference.java 0.5046882629394531
4 app/src/main/java/io/github/zwieback/familyfinance/core/storage/helper/InternalStorageHelper.java 0.5035398006439209
5 app/src/main/java/io/github/zwieback/familyfinance/core/lifecycle/destroyer/EntityAlertDestroyer.java 0.4972308278083801
6 app/src/main/java/io/github/zwieback/familyfinance/core/activity/EntityEditActivity.java 0.49298667907714844
7 app/src/main/java/io/github/zwieback/familyfinance/core/activity/EntityActivity.java 0.4927903413772583
8 app/src/main/java/io/github/zwieback/familyfinance/business/chart/dialog/ChartDisplayDialog.java 0.4879519045352936
9 app/src/main/java/io/github/zwieback/familyfinance/business/dashboard/activity/DashboardActivity.java 0.4836150109767914
10 shared/src/main/java/io/github/zwieback/familyfinance/calculator/dialog/CalculatorDialog.java 0.4829936921596527

Please take the time to read through each of these files. If you have any problems with this response, or if you think an error occurred, please take the time to create an issue here: LadyBug Issues. Happy coding!