java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.SurfaceTexture.updateTexImage()' on a null object reference

Stack Overflow | user3417052 | 3 months ago
  1. 0

    My app always crashes when starting a second activity within an onClick method

    Stack Overflow | 3 months ago | user3417052
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.SurfaceTexture.updateTexImage()' on a null object reference
  2. 0

    Call SimpleBaseGameActivity from Intent

    Stack Overflow | 2 years ago | Hanzo
    java.lang.NullPointerException: Attempt to invoke virtual method 'void org.andengine.engine.Engine.start()' on a null object reference
  3. 0

    appcompat show progress in action bar causes NPE

    Stack Overflow | 2 years ago | Mark
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.internal.widget.ProgressBarCompat.setVisibility(int)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Is it possible to redefine a library's databinding resource?

    Stack Overflow | 7 months ago | PLNech
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTag(java.lang.Object)' on a null object reference
  6. 0

    Why am I unable to launch/access the camera of my Android Virtual Device (AVD) from within my application?

    Stack Overflow | 7 months ago | nskenderi
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.hardware.Camera.setPreviewDisplay(android.view.SurfaceHolder)' on a null object reference

    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

      Attempt to invoke virtual method 'void android.graphics.SurfaceTexture.updateTexImage()' on a null object reference

      at com.example.opengltest.DrawingActivity.onNewFrame()
    2. com.example.opengltest
      DrawingActivity.onNewFrame
      1. com.example.opengltest.DrawingActivity.onNewFrame(DrawingActivity.java:526)
      1 frame
    3. com.google.vrtoolkit
      CardboardView$RendererHelper.onDrawFrame
      1. com.google.vrtoolkit.cardboard.CardboardView$StereoRendererHelper.onDrawFrame(CardboardView.java:289)
      2. com.google.vrtoolkit.cardboard.CardboardView$RendererHelper.onDrawFrame(CardboardView.java:598)
      2 frames
    4. Android Platform
      GLSurfaceView$GLThread.run
      1. android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1531)
      2. android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1248)
      2 frames