Bug #15

NPE in NewChatActivity

Added by devrandom almost 6 years ago. Updated about 4 years ago.

Status:ClosedStart date:03/29/2012
Priority:LowDue date:
Assignee:devrandom% Done:

0%

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

Description

This happened on opening Gibberbot after a period of inactivity. I don't recall doing anything with a menu.

E/AndroidRuntime(15279): java.lang.NullPointerException
E/AndroidRuntime(15279): at info.guardianproject.otr.app.im.app.NewChatActivity.switchOtrState(NewChatActivity.java:292)
E/AndroidRuntime(15279): at info.guardianproject.otr.app.im.app.NewChatActivity.onOptionsItemSelected(NewChatActivity.java:205)
E/AndroidRuntime(15279): at android.app.Activity.onMenuItemSelected(Activity.java:2502)

Lines in question:

private void switchOtrState ()
{
//TODO OTRCHAT switch state on/off
IOtrChatSession otrChatSession = mChatView.getOtrChatSession();
try {

boolean isOtrEnabled = otrChatSession.isChatEncrypted();

History

#1 Updated by n8fr8 over 5 years ago

  • Target version set to v9 - April Showers

#2 Updated by n8fr8 over 5 years ago

  • Target version changed from v9 - April Showers to v10 - June Jaunts

#3 Updated by devrandom over 5 years ago

  • Target version changed from v10 - June Jaunts to v11 - January Judo

#4 Updated by n8fr8 about 5 years ago

  • Assignee set to devrandom

#5 Updated by devrandom about 5 years ago

  • Status changed from New to Feedback

Cannot replicate.

#6 Updated by n8fr8 almost 5 years ago

  • Target version changed from v11 - January Judo to v12 - March Mantra

#7 Updated by n8fr8 over 4 years ago

  • Status changed from Feedback to Resolved

#8 Updated by n8fr8 about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF