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 @ IntlPhoneInput.setEmptyDefault():164 #41

Open
alexnivanov opened this issue May 30, 2018 · 3 comments
Open

Comments

@alexnivanov
Copy link

Stack trace:

Caused by java.lang.ArrayIndexOutOfBoundsExceptionlength=303; index=-1 Raw Text
--
  | java.util.ArrayList.get (ArrayList.java:310)
  | net.rimoto.intlphoneinput.IntlPhoneInput.setEmptyDefault (IntlPhoneInput.java:164)
  | net.rimoto.intlphoneinput.IntlPhoneInput.setEmptyDefault (IntlPhoneInput.java:172)
  | net.rimoto.intlphoneinput.IntlPhoneInput.setDefault (IntlPhoneInput.java:150)
  | net.rimoto.intlphoneinput.IntlPhoneInput.init (IntlPhoneInput.java:92)
  | net.rimoto.intlphoneinput.IntlPhoneInput.<init> (IntlPhoneInput.java:64)
@IAmDarush
Copy link
Contributor

Having same issue.

@arpitsingh21
Copy link

any solution ?

@itzbernoulli
Copy link

For those that might have this issue in the future, I think it happens when an invalid ISO code is used with setEmptyDefault method. so play around with the ISO codes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants