some NPE..
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- mobile-dev
調査の方向性
Start by reproducing the second-tab crash and the unauthorized-Shizuku app-item crash on Android 10, using the stack traces to locate the failing paths. Investigate the bottom-navigation callback and PackageDetailsActivity.onCreate, where the array errors are reported. Done means both flows complete without a null or out-of-bounds array access.
索引モデルが issue の本文から書いたものです。
説明
Hi developer, thanks for making such a handy app. I've noticed a few bugs and hope you can fix them in the next update.
My device: Huawei Honor 20i
OS version: Android 10
when click second tab on bottom nav, a NPE occur:
java.lang.NullPointerException: Attempt to get length of null array at T.e.w(SourceFile:17) at a1.q.a(SourceFile:197) at l1.a.run(SourceFile:27) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:929)
when use adb with Shizuku, click app item, a NPE occur (without authorize this app in Shizuku, this bug will not occur):
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.smartpack.packagemanager/com.smartpack.packagemanager.activities.PackageDetailsActivity}: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4065) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4252) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2618) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:219) at android.app.ActivityThread.main(ActivityThread.java:8673) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109) Caused by: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1 at T.e.E(SourceFile:96) at com.smartpack.packagemanager.activities.PackageDetailsActivity.onCreate(SourceFile:320) at android.app.Activity.performCreate(Activity.java:8214) at android.app.Activity.performCreate(Activity.java:8202) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4038) ... 11 more
- 主要言語
- Java
- スター
- 877
- フォーク
- 121
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SmartPack/PackageManager のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
SmartPack/PackageManager#186 ·
-
UI bugオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
SmartPack/PackageManager#184 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
SmartPack/PackageManager#185 ·
-
Caosオープン
難易度 3/5 半日 初心者へのやさしさ 30/100
SmartPack/PackageManager#183 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
SmartPack/PackageManager#182 ·
SmartPack/PackageManager の issue をすべて見る
似ている issue
-
Area: Java feature request needs triage OS: Windows
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
actions/runner-images#15457 ·
メンテナーはふだん 3 日以内に返信
-
iOS CocoaPods build fails: Package.swift included in sources causes No such module 'PackageDescription'対応中かも @dattm97 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MewX/light-novel-library_Wenku8_Android#253 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jarvis2f/telegram-files#160 ·
-
Android Spreadsheet reads the wrong column for multi-letter references when useHeaders is falseオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mit-cml/appinventor-sources#4272 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信