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

StringIndexOutOfBoundsException #8

Open
ape-report opened this Issue Mar 31, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ape-report

ape-report commented Mar 31, 2018

Reproduce:

  1. Select HOTP.
  2. Input profile name, e.g., abcd
  3. Click add Profile
// java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=2
//  at java.lang.String.startEndAndLength(String.java:298)
//  at java.lang.String.substring(String.java:1087)
//  at org.cry.otp.ProfileSetup$2.onClick(ProfileSetup.java:73)
//  at android.view.View.performClick(View.java:5204)
//  at android.view.View$PerformClick.run(View.java:21153)
//  at android.os.Handler.handleCallback(Handler.java:739)
//  at android.os.Handler.dispatchMessage(Handler.java:95)
//  at android.os.Looper.loop(Looper.java:148)
//  at android.app.ActivityThread.main(ActivityThread.java:5417)
//  at java.lang.reflect.Method.invoke(Native Method)
//  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
//  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment