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 in AssetsPricesHelper #42958

Closed
SergeyZhukovsky opened this issue Dec 18, 2024 · 0 comments · Fixed by brave/brave-core#27067
Closed

Crash in AssetsPricesHelper #42958

SergeyZhukovsky opened this issue Dec 18, 2024 · 0 comments · Fixed by brave/brave-core#27067
Assignees
Labels
crash feature/web3/wallet Integrating Ethereum+ wallet support OS/Android Fixes related to Android browser functionality QA/No release-notes/include

Comments

@SergeyZhukovsky
Copy link
Member

A user reported a crash on stable 1.73.101. We need to fix and uplift

java.lang.NullPointerException: Attempt to read from field 'java.lang.String WB.l' on a null object reference in method 'void org.chromium.chrome.browser.crypto_wallet.util.AssetsPricesHelper.fetchPrices(org.chromium.brave_wallet.mojom.AssetRatioService_Internal$Proxy, org.chromium.brave_wallet.mojom.BlockchainToken[], org.chromium.base.Callbacks$Callback1)'
        at org.chromium.chrome.browser.crypto_wallet.util.AssetsPricesHelper.fetchPrices(AssetsPricesHelper.java:33)
        at org.chromium.chrome.browser.crypto_wallet.util.Utils.lambda$getTxExtraInfo$15(Utils.java:1322)
        at org.chromium.chrome.browser.crypto_wallet.util.TokenUtils.lambda$getAllTokensFiltered$3(TokenUtils.java:172)
        at org.chromium.brave_wallet.mojom.BraveWalletService_Internal$BraveWalletServiceGetUserAssetsResponseParamsForwardToCallback.accept(BraveWalletService_Internal.java:2856)
        at org.chromium.mojo.bindings.RouterImpl.handleIncomingMessage(RouterImpl.java:223)
        at org.chromium.mojo.bindings.RouterImpl$HandleIncomingMessageThunk.accept(RouterImpl.java:29)
        at org.chromium.mojo.bindings.Connector.readAndDispatchMessage(Connector.java:194)
        at org.chromium.mojo.bindings.Connector.readOutstandingMessages(Connector.java:159)
        at org.chromium.mojo.bindings.Connector.onWatcherResult(Connector.java:137)
        at org.chromium.mojo.bindings.Connector$WatcherCallback.onResult(Connector.java:128)
        at org.chromium.mojo.system.impl.WatcherImpl.onHandleReady(WatcherImpl.java:60)
        at android.os.MessageQueue.nativePollOnce(Native Method)
        at android.os.MessageQueue.next(MessageQueue.java:342)
        at android.os.Looper.loopOnce(Looper.java:182)
        at android.os.Looper.loop(Looper.java:357)
        at android.app.ActivityThread.main(ActivityThread.java:8103)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)

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 QA/No release-notes/include
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants