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

[ArrayIndexOutOfBoundsException] loading the wallet screen #79

Closed
1 of 2 tasks
Daniel-Wang opened this issue Nov 14, 2018 · 0 comments
Closed
1 of 2 tasks

[ArrayIndexOutOfBoundsException] loading the wallet screen #79

Daniel-Wang opened this issue Nov 14, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Daniel-Wang
Copy link
Contributor

I'm submitting a...

  • Bug report
  • Feature request

Bug

What is the expected behavior?

Properly load the user's account information on the MainActivity wallet screen

What is the current behavior?

Crash on MainActivity Wallet screen

Other information

e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context
Stacktrace:

java.lang.RuntimeException: 
  at android.os.AsyncTask$3.done (AsyncTask.java:365)
  at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:383)
  at java.util.concurrent.FutureTask.setException (FutureTask.java:252)
  at java.util.concurrent.FutureTask.run (FutureTask.java:271)
  at android.os.AsyncTask$SerialExecutor$1.run (AsyncTask.java:257)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at java.lang.Thread.run (Thread.java:784)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 
  at org.stellar.sdk.StrKey.decodeCheck (StrKey.java:107)
  at org.stellar.sdk.StrKey.decodeStellarAccountId (StrKey.java:31)
  at org.stellar.sdk.KeyPair.fromAccountId (KeyPair.java:104)
  at blockeq.com.stellarwallet.services.networking.Horizon$Companion$LoadAccountTask.doInBackground (Horizon.kt:30)
  at blockeq.com.stellarwallet.services.networking.Horizon$Companion$LoadAccountTask.doInBackground (Horizon.kt:27)
  at android.os.AsyncTask$2.call (AsyncTask.java:345)
  at java.util.concurrent.FutureTask.run (FutureTask.java:266)
@Daniel-Wang Daniel-Wang added the bug Something isn't working label Nov 14, 2018
Daniel-Wang added a commit that referenced this issue Nov 14, 2018
@dabitdev dabitdev changed the title java.lang.ArrayIndexOutOfBoundsException [ArrayIndexOutOfBoundsException] loading the wallet screen Nov 16, 2018
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

1 participant