String Exception

We are tryng to login via google. This error appear.

D/com.web3auth.flutter.web3auth_flutter.Web3AuthFlutterPlugin(15381): #init
D/com.web3auth.flutter.web3auth_flutter.Web3AuthFlutterPlugin(15381): #initialize
W/System.err(15381): java.lang.StringIndexOutOfBoundsException: length=129; index=129
W/System.err(15381): at java.lang.String.charAt(Native Method)
W/System.err(15381): at com.web3auth.session_manager_android.types.AES256CBC.toByteArray(AES256CBC.java:63)
W/System.err(15381): at com.web3auth.session_manager_android.types.AES256CBC.(AES256CBC.java:34)
W/System.err(15381): at com.web3auth.session_manager_android.SessionManager.createSession(SessionManager.kt:72)
W/System.err(15381): at com.web3auth.core.Web3Auth.getLoginId(Web3Auth.kt:275)
W/System.err(15381): at com.web3auth.core.Web3Auth.request(Web3Auth.kt:84)
W/System.err(15381): at com.web3auth.core.Web3Auth.request$default(Web3Auth.kt:29)
W/System.err(15381): at com.web3auth.core.Web3Auth.login(Web3Auth.kt:208)
W/System.err(15381): at com.web3auth.flutter.web3auth_flutter.Web3AuthFlutterPlugin.runMethodCall(Web3AuthFlutterPlugin.kt:109)
W/System.err(15381): at com.web3auth.flutter.web3auth_flutter.Web3AuthFlutterPlugin.access$runMethodCall(Web3AuthFlutterPlugin.kt:25)
W/System.err(15381): at com.web3auth.flutter.web3auth_flutter.Web3AuthFlutterPlugin$onMethodCall$1.invokeSuspend(Web3AuthFlutterPlugin.kt:71)
W/System.err(15381): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
W/System.err(15381): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
W/System.err(15381): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
W/System.err(15381): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
W/System.err(15381): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
W/System.err(15381): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

Hi @gabriel.albarosa,

I trust you are well. Could you kindly share some code snippets along with the version of the packages you’re currently using?

Thank you very much

@gabriel.albarosa Can you please share the requested information to assist you further?

seems to be resolved.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.