java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference

GitHub | HelloEgg | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859
  2. 0

    Android: glSurfaceView in fragment

    Stack Overflow | 9 months ago | Shadow
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference
  3. 0

    GLSurfaceView not appearing over MapView / php web Tools linux commands

    chinabtp.com | 2 years ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to debug internal crash of GLSurfaceView?

    Stack Overflow | 1 year ago | RCB
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference
  6. 0

    NullPointerException on surfaceCreated() on VR Module

    GitHub | 1 year ago | mahmoud-elnaggar
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference

  1. filpgame 31 times, last 3 months ago
  2. sbattaglino 1 times, last 8 months ago
  3. FreeZy 1 times, last 9 months ago
  4. jk 1 times, last 10 months ago
  5. Diogo Jaym 2 times, last 10 months ago
7 more registered users
72 unregistered visitors
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.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference

    at android.opengl.GLSurfaceView.surfaceCreated()
  2. Android Platform
    ActivityThread.main
    1. android.opengl.GLSurfaceView.surfaceCreated(GLSurfaceView.java:629)
    2. android.view.SurfaceView.updateWindow(SurfaceView.java:712)
    3. android.view.SurfaceView$3.onPreDraw(SurfaceView.java:209)
    4. android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1014)
    5. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2560)
    6. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1487)
    7. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7450)
    8. android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
    9. android.view.Choreographer.doCallbacks(Choreographer.java:695)
    10. android.view.Choreographer.doFrame(Choreographer.java:631)
    11. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
    12. android.os.Handler.handleCallback(Handler.java:739)
    13. android.os.Handler.dispatchMessage(Handler.java:95)
    14. android.os.Looper.loop(Looper.java:158)
    15. android.app.ActivityThread.main(ActivityThread.java:7229)
    15 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames