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

Fatal Exception: java.lang.StringIndexOutOfBoundsException: length=0; index=0 #2581

Closed
grzesiek2010 opened this issue Sep 26, 2018 · 0 comments · Fixed by #2582
Closed

Fatal Exception: java.lang.StringIndexOutOfBoundsException: length=0; index=0 #2581

grzesiek2010 opened this issue Sep 26, 2018 · 0 comments · Fixed by #2582
Assignees

Comments

@grzesiek2010
Copy link
Member

Software and hardware versions

Collect v1.17.0

Problem description

From Crashlytics (requires auth):

Fatal Exception: java.lang.StringIndexOutOfBoundsException: length=0; index=0
       at java.lang.String.charAt(String.java)
       at org.odk.collect.android.widgets.QuestionWidget.isRTL(QuestionWidget.java:236)
       at org.odk.collect.android.widgets.QuestionWidget.isRTL(QuestionWidget.java:232)
       at org.odk.collect.android.adapters.AbstractSelectListAdapter.adjustButton(AbstractSelectListAdapter.java:108)
       at org.odk.collect.android.adapters.SelectOneListAdapter.setUpButton(SelectOneListAdapter.java:82)
       at org.odk.collect.android.adapters.SelectOneListAdapter.setUpButton(SelectOneListAdapter.java:34)
       at org.odk.collect.android.adapters.AbstractSelectListAdapter$ViewHolder.bind(AbstractSelectListAdapter.java:120)
       at org.odk.collect.android.adapters.AbstractSelectListAdapter.onBindViewHolder(AbstractSelectListAdapter.java:58)
       at org.odk.collect.android.adapters.AbstractSelectListAdapter.onBindViewHolder(AbstractSelectListAdapter.java:43)
       at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6673)
       at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6714)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants