java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference

Stack Overflow | Shazambom | 8 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

    Android DJI SDK error when video displayed for a few seconds

    Stack Overflow | 8 months ago | Shazambom
    java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'int java.util.List.size()' on a null object reference

      at dji.sdk.FlightController.DJIIntelligentFlightAssistant$InnerEventBus.onEventBackgroundThread()
    2. dji.sdk.FlightController
      DJIIntelligentFlightAssistant$InnerEventBus.onEventBackgroundThread
      1. dji.sdk.FlightController.DJIIntelligentFlightAssistant$InnerEventBus.onEventBackgroundThread(Unknown Source)
      1 frame
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    4. dji.thirdparty.eventbus
      EventBus.post
      1. dji.thirdparty.eventbus.EventBus.invokeSubscriber(EventBus.java:569)
      2. dji.thirdparty.eventbus.EventBus.postToSubscription(EventBus.java:513)
      3. dji.thirdparty.eventbus.EventBus.postSingleEvent(EventBus.java:475)
      4. dji.thirdparty.eventbus.EventBus.post(EventBus.java:365)
      4 frames
    5. dji.midware.data
      l.a
      1. dji.midware.data.manager.P3.t.post(Unknown Source)
      2. dji.midware.data.manager.P3.t.setPushRecData(Unknown Source)
      3. dji.midware.data.manager.P3.t.setPushRecPack(Unknown Source)
      4. dji.midware.data.manager.P3.l.b(Unknown Source)
      5. dji.midware.data.manager.P3.l.a(Unknown Source)
      6. dji.midware.data.manager.P3.l.a(Unknown Source)
      6 frames
    6. dji.midware.usb
      UsbAccessoryService$1.onGetBody
      1. dji.midware.usb.P3.UsbAccessoryService$1.onGetBody(Unknown Source)
      1 frame
    7. dji.midware.f
      f.a
      1. dji.midware.f.a.f.b(Unknown Source)
      2. dji.midware.f.a.f.a(Unknown Source)
      2 frames
    8. dji.midware.usb
      UsbAccessoryService$RecvBufferRunnable.run
      1. dji.midware.usb.P3.UsbAccessoryService$RecvBufferRunnable.run(Unknown Source)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame