Bug #2090

NPE crash on signout, then quick re-open of NewChatActivity

Added by n8fr8 over 4 years ago. Updated over 2 years ago.

Status:ClosedStart date:10/15/2013
Priority:NormalDue date:
Assignee:devrandom% Done:

0%

Category:-
Target version:v14 - Armadillo's Agram
Component:

Description

E/AndroidRuntime(12155): java.lang.RuntimeException: Unable to start activity ComponentInfo{info.guardianproject.otr.app.im/info.guardianproject.otr.app.im.app.NewChatActivity}: java.lang.NullPointerException
E/AndroidRuntime(12155): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)
E/AndroidRuntime(12155): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
E/AndroidRuntime(12155): at android.app.ActivityThread.access$600(ActivityThread.java:141)
E/AndroidRuntime(12155): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
E/AndroidRuntime(12155): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(12155): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(12155): at android.app.ActivityThread.main(ActivityThread.java:5103)
E/AndroidRuntime(12155): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(12155): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime(12155): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
E/AndroidRuntime(12155): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime(12155): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(12155): Caused by: java.lang.NullPointerException
E/AndroidRuntime(12155): at info.guardianproject.otr.app.im.app.NewChatActivity$ChatViewPagerAdapter.<init>(NewChatActivity.java:980)
E/AndroidRuntime(12155): at info.guardianproject.otr.app.im.app.NewChatActivity.onCreate(NewChatActivity.java:185)
E/AndroidRuntime(12155): at android.app.Activity.performCreate(Activity.java:5133)
E/AndroidRuntime(12155): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime(12155): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
E/AndroidRuntime(12155): ... 11 more

History

#1 Updated by devrandom over 4 years ago

hmm.... null mCursorChats?

encrypted or unencrypted?

#2 Updated by n8fr8 over 4 years ago

  • Target version changed from v12 - March Mantra to v13 - October Oooya

encrypted, but with blank password.

i think this was a race condition of sorts due to overaggressive sign out, open app, etc. willing to push this to v13.

#3 Updated by n8fr8 about 4 years ago

  • Target version changed from v13 - October Oooya to v14 - Armadillo's Agram

#4 Updated by n8fr8 over 2 years ago

  • Status changed from New to Resolved

#5 Updated by n8fr8 over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF