sCalibrationImage is null at this point, causing NPE when invoking getConfig()
stack trace:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.Bitmap$Config android.graphics.Bitmap.getConfig()' on a null object reference
at com.kamron.pogoiv.activities.OcrCalibrationResultActivity.startCalibration(OcrCalibrationResultActivity.java:108)
at com.kamron.pogoiv.ScreenShotHelper$1.onChange(ScreenShotHelper.java:81)
at android.database.ContentObserver.onChange(ContentObserver.java:145)
at android.database.ContentObserver$NotificationRunnable.run(ContentObserver.java:216)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6809)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
sCalibrationImage is null at this point, causing NPE when invoking getConfig()
stack trace: