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

GitHub | HelloEgg | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android: glSurfaceView in fragment

    Stack Overflow | 7 months ago | Shadow
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference
  2. 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
  3. 0

    NullPointerException on surfaceCreated() on VR Module

    GitHub | 11 months ago | mahmoud-elnaggar
    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

    GitHub comment 51#272175374

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

  1. filpgame 31 times, last 1 month ago
  2. sbattaglino 1 times, last 6 months ago
  3. FreeZy 1 times, last 7 months ago
  4. jk 1 times, last 8 months ago
  5. Diogo Jaym 2 times, last 8 months ago
7 more registered users
70 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