Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Edit Visible Assets #31303

Closed
SergeyZhukovsky opened this issue Jun 26, 2023 · 0 comments · Fixed by brave/brave-core#19063
Closed

Crash on Edit Visible Assets #31303

SergeyZhukovsky opened this issue Jun 26, 2023 · 0 comments · Fixed by brave/brave-core#19063
Assignees
Labels
crash feature/web3/wallet Integrating Ethereum+ wallet support OS/Android Fixes related to Android browser functionality priority/P2 A bad problem. We might uplift this to the next planned release. QA/No release-notes/include

Comments

@SergeyZhukovsky
Copy link
Member

I found that issue on 1.52.126 in backtrace. It happens here https://github.com/brave/brave-core/blob/1.52.x/android/java/org/chromium/chrome/browser/crypto_wallet/fragments/EditVisibleAssetsBottomSheetDialogFragment.java#L637. Not sure about steps:

java.lang.NullPointerException: Attempt to read from field 'int org.chromium.brave_wallet.mojom.NetworkInfo.coin' on a null object reference in method 'void org.chromium.chrome.browser.crypto_wallet.HTTP://WEBADDRESS.ELIDED.I2(bx3, android.widget.CheckBox, boolean)'
        at org.chromium.chrome.browser.crypto_wallet.fragments.EditVisibleAssetsBottomSheetDialogFragment.onAssetCheckedChanged(EditVisibleAssetsBottomSheetDialogFragment.java:637)
        at org.chromium.chrome.browser.crypto_wallet.adapters.WalletCoinAdapter$1.onCheckedChanged(WalletCoinAdapter.java:196)
        at android.widget.CompoundButton.setChecked(CompoundButton.java:225)
        at android.widget.CompoundButton.toggle(CompoundButton.java:139)
        at android.widget.CompoundButton.performClick(CompoundButton.java:144)
        at android.view.View.performClickInternal(View.java:7533)
        at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
        at android.view.View$PerformClick.run(View.java:29754)
        at android.os.Handler.handleCallback(Handler.java:942)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loopOnce(Looper.java:211)
        at android.os.Looper.loop(Looper.java:300)
        at android.app.ActivityThread.main(ActivityThread.java:8152)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash feature/web3/wallet Integrating Ethereum+ wallet support OS/Android Fixes related to Android browser functionality priority/P2 A bad problem. We might uplift this to the next planned release. QA/No release-notes/include
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants