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

Solana crash #1497

Open
mojjason opened this issue Sep 27, 2024 · 1 comment
Open

Solana crash #1497

mojjason opened this issue Sep 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mojjason
Copy link

Describe the bug
Web3Modal : when i connect Solana chain ,Then I what to transfer sign , It crash

SDK Version

  • Client: android kotlin
  • Version com.walletconnect:android-bom:1.35.2 and com.reown:android-bom:1.0.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'ConnectButton to connect solana chain --- success'
  2. Click on 'web3Button report error'

Crash Log maybe the reason is parsed data
FATAL EXCEPTION: main
java.lang.NumberFormatException: For input string: "ba2xjq"
at java.lang.Long.parseLong(Long.java:736)
at com.reown.appkit.ui.components.internal.commons.account.AccountImageKt.hexToRgb(AccountImage.kt:68)
at com.reown.appkit.ui.components.internal.commons.account.AccountImageKt.generateAvatarColors(AccountImage.kt:58)
at com.reown.appkit.ui.components.button.AccountButtonKt$AccountButtonMixed$1$1$2$1$1.invoke-ek8zF_U(AccountButton.kt:142)
at com.reown.appkit.ui.components.button.AccountButtonKt$AccountButtonMixed$1$1$2$1$1.invoke(AccountButton.kt:136)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:118)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at com.reown.appkit.ui.components.internal.commons.button.ButtonKt$ImageButton$1.invoke(Button.kt:76)
at com.reown.appkit.ui.components.internal.commons.button.ButtonKt$ImageButton$1.invoke(Button.kt:65)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.material.SurfaceKt$Surface$1.invoke(Surface.kt:134)
at androidx.compose.material.SurfaceKt$Surface$1.invoke(Surface.kt:114)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:380)
at androidx.compose.material.SurfaceKt.Surface-F-jzlyU(Surface.kt:111)
at com.reown.appkit.ui.components.internal.commons.button.ButtonKt.ImageButton(Button.kt:62)
at com.reown.appkit.ui.components.button.AccountButtonKt$AccountButtonMixed$1$1.invoke(AccountButton.kt:135)
at com.reown.appkit.ui.components.button.AccountButtonKt$AccountButtonMixed$1$1.invoke(AccountButton.kt:118)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at com.reown.appkit.ui.components.internal.commons.SurfaceKt$TransparentSurface$1.invoke(Surface.kt:20)
at com.reown.appkit.ui.components.internal.commons.SurfaceKt$TransparentSurface$1.invoke(Surface.kt:19)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.material.SurfaceKt$Surface$1.invoke(Surface.kt:134)
at androidx.compose.material.SurfaceKt$Surface$1.invoke(Surface.kt:114)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:380)
at androidx.compose.material.SurfaceKt.Surface-F-jzlyU(Surface.kt:111)
at com.reown.appkit.ui.components.internal.commons.SurfaceKt.TransparentSurface(Surface.kt:15)
at com.reown.appkit.ui.components.button.AccountButtonKt$AccountButtonMixed$1.invoke(AccountButton.kt:118)
at com.reown.appkit.ui.components.button.AccountButtonKt$AccountButtonMixed$1.invoke(AccountButton.kt:103)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:380)
at com.reown.appkit.ui.theme.ThemeKt.ProvideAppKitThemeComposition(Theme.kt:14)
at com.reown.appkit.ui.components.button.AccountButtonKt.AccountButtonMixed(AccountButton.kt:103)
at com.reown.appkit.ui.components.button.AccountButtonKt.AccountButtonState(AccountButton.kt:86)
2024-09-27 15:36:34.413 28271-28271 AndroidRuntime com.blue.toothbrush E at com.reown.appkit.ui.components.button.AccountButtonKt.AccountButton(AccountButton.kt:71)
at com.reown.appkit.ui.components.button.AccountButtonKt$AccountButton$2.invoke(Unknown Source:14)
at com.reown.appkit.ui.components.button.AccountButtonKt$AccountButton$2.invoke(Unknown Source:8)
at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:192)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2825)
at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:3116)
at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3607)
at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:3552)
at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:948)
at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1206)
at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:132)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:616)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:585)
at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109)
at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1503)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1513)
at android.view.Choreographer.doCallbacks(Choreographer.java:1128)
at android.view.Choreographer.doFrame(Choreographer.java:1037)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1481)
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:8503)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)

@mojjason mojjason added the bug Something isn't working label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@mojjason and others