Bug #2101

Fix out of bounds exception on new account creation

Added by devrandom over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:10/16/2013
Priority:NormalDue date:
Assignee:n8fr8% Done:

0%

Category:-
Target version:v12 - March Mantra
Component:

Description

Version 12.6.3 (88) | info.guardianproject.otr.app.im

Stacktrace

app.NewChatActivity$ContactListFragment$3;onItemSelected;NewChatActivity.java;1318

Reason

java.lang.ArrayIndexOutOfBoundsException: length=2; index=2

Link to HockeyApp

Associated revisions

Revision 90bed6b7
Added by n8fr8 over 4 years ago

fixes #2047 and #2101
sets Intent null after processing once
refresh account spinners when new account created

History

#1 Updated by devrandom over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to devrandom
  • Target version set to v12 - March Mantra

#2 Updated by devrandom over 4 years ago

  • Assignee changed from devrandom to n8fr8

Looks like ContactListFragment isn't set up to handle changes to the cursor. I think it might be just the use of mAccountIds - can just retrieve from the cursor as needed instead.

BTW, I can't replicate this issue on my setup.

#3 Updated by n8fr8 over 4 years ago

  • Status changed from In Progress to Resolved

refresh the contactlist spinner when initAccount is called in resolveIntent().

will push fix shortly.

#4 Updated by n8fr8 about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF