spacecowboy/NotePad — Issue #40: Fix crash report
Author: spacecowboy
Created: 2012-01-27 13:18:43+00:00
State: open
Labels: Bug

java.lang.RuntimeException: Unable to pause activity {com.nononsenseapps.notepad/com.nononsenseapps.notepad.FragmentLayout$NotesEditorActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2705)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2661)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3316)
at android.app.ActivityThread.access$700(ActivityThread.java:122)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1150)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4340)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.nononsenseapps.notepad.NotesEditorFragment.onPause(NotesEditorFragment.java:645)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:856)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:998)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:981)
at android.app.FragmentManagerImpl.dispatchPause(FragmentManager.java:1709)
at android.app.Activity.performPause(Activity.java:4561)
at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1195)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2692)
... 12 more