RateMeMaybe
RateMeMaybe copied to clipboard
Fixing Null Pointer Exception
It has happened twice (that I know of) on users' devices. All I received was the stack trace so I'm not sure what actions led to the error. According to the description, I shouldn't have to be doing this check since it's internal to RateMeMaybe.
I see the same error rarely in analytic logs, though I haven't been able to reproduce it myself yet.
java.lang.NullPointerException
com.kopfgeldjaeger.ratememaybe.RateMeMaybeFragment.onCancel(RateMeMaybeFragment.java:78)
android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1236)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loop(Looper.java:137)
android.app.ActivityThread.main(ActivityThread.java:4898)
java.lang.reflect.Method.invokeNative(Native Method)
java.lang.reflect.Method.invoke(Method.java:511)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
dalvik.system.NativeStart.main(Native Method)