java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.RuntimeException: Unable to resume activity {com.google.android.cameraview.demo/com.google.android.cameraview.demo.MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2957) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2986) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2421) at android.app.ActivityThread.access$600(ActivityThread.java:166) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1379) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5455) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:966) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:733) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.google.android.cameraview.Camera1.setFlashInternal(Camera1.java:405) at com.google.android.cameraview.Camera1.adjustCameraParameters(Camera1.java:327) at com.google.android.cameraview.Camera1.openCamera(Camera1.java:294) at com.google.android.cameraview.Camera1.start(Camera1.java:114) at com.google.android.cameraview.CameraView.start(CameraView.java:226) at com.google.android.cameraview.demo.MainActivity.onResume(MainActivity.java:140) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1190) at android.app.Activity.performResume(Activity.java:5289) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2944)
    No Bugmate found.