java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView.setLayoutParams(android.view.ViewGroup$LayoutParams)' on a null object reference

GitHub | wangwangheng | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Monkey测试一定概率Crash问题(或者内存回收)

    GitHub | 6 months ago | wangwangheng
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView.setLayoutParams(android.view.ViewGroup$LayoutParams)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void android.opengl.GLSurfaceView.setLayoutParams(android.view.ViewGroup$LayoutParams)' on a null object reference

      at com.ksy.recordlib.service.core.h.p()
    2. com.ksy.recordlib
      h$a.handleMessage
      1. com.ksy.recordlib.service.core.h.p(Unknown Source)
      2. com.ksy.recordlib.service.core.h.m(Unknown Source)
      3. com.ksy.recordlib.service.core.h$a.handleMessage(Unknown Source)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:111)
      2. android.os.Looper.loop(Looper.java:194)
      3. android.app.ActivityThread.main(ActivityThread.java:5628)
      3 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
      2 frames