java.lang.RuntimeException: Unable to start activity ComponentInfo{dji.pilot/dji.pilot.fpv.activity.DJIPreviewActivityLitchi}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.view.ViewGroup.getGlobalVisibleRect(android.graphics.Rect, android.graphics.Point)' on a null object reference

phantompilots.com | 6 months ago
  1. 0

    DJI GO always crashes when disconnected - See Log inside | DJI Phantom Drone Forum

    phantompilots.com | 6 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{dji.pilot/dji.pilot.fpv.activity.DJIPreviewActivityLitchi}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.view.ViewGroup.getGlobalVisibleRect(android.graphics.Rect, android.graphics.Point)' on a null object reference
  2. 0
    The resource was accessed after it was dismissed.
  3. 0
    The parsed JSON does not contains the requested field.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Initialize the variable before calling a method on it.
  6. 0
    Use 'dialog' to access views from custom_layout layout.

    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 'boolean android.view.ViewGroup.getGlobalVisibleRect(android.graphics.Rect, android.graphics.Point)' on a null object reference

      at dji.pilot.fpv.leftmenu.DJILeftMenu.getMutexRect()
    2. dji.pilot.fpv
      DJIPreviewActivityLitchi.onCreate
      1. dji.pilot.fpv.leftmenu.DJILeftMenu.getMutexRect(Unknown Source)
      2. dji.pilot.fpv.leftmenu.DJILeftMenu.d(Unknown Source)
      3. dji.pilot.fpv.leftmenu.DJILeftMenu.onEventMainThread(Unknown Source)
      4. dji.pilot.fpv.leftmenu.DJILeftMenu.dispatchOnCreate(Unknown Source)
      5. dji.pilot.fpv.leftmenu.DJILeftBar.dispatchOnCreate(Unknown Source)
      6. dji.pilot.fpv.activity.DJIPreviewActivityLitchi.l(Unknown Source)
      7. dji.pilot.fpv.activity.DJIPreviewActivityLitchi.onCreate(Unknown Source)
      7 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6550)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3102)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3248)
      5. android.app.ActivityThread.access$1000(ActivityThread.java:197)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1681)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:6872)
      9 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:1404)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
      2 frames