java.lang.NullPointerException

  1. 0

    null pointer in camera var

    Stack Overflow | 2 months ago | shriyans kapoor
    java.lang.NullPointerException
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.example.nick.cfdo.CameraPreview.surfaceCreated()
    2. com.example.nick
      CameraPreview.surfaceCreated
      1. com.example.nick.cfdo.CameraPreview.surfaceCreated(CameraPreview.java:32)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.view.SurfaceView.updateWindow(SurfaceView.java:572)
      2. android.view.SurfaceView.access$000(SurfaceView.java:86)
      3. android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175)
      4. android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)
      5. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1871)
      6. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
      7. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
      8. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
      9. android.view.Choreographer.doCallbacks(Choreographer.java:574)
      10. android.view.Choreographer.doFrame(Choreographer.java:544)
      11. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
      12. android.os.Handler.handleCallback(Handler.java:733)
      13. android.os.Handler.dispatchMessage(Handler.java:95)
      14. android.os.Looper.loop(Looper.java:136)
      15. android.app.ActivityThread.main(ActivityThread.java:5017)
      15 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame