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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Shazambom
, 1 year ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
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(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at dji.thirdparty.eventbus.EventBus.invokeSubscriber(EventBus.java:569)
at dji.thirdparty.eventbus.EventBus.postToSubscription(EventBus.java:513)
at dji.thirdparty.eventbus.EventBus.postSingleEvent(EventBus.java:475)
at dji.thirdparty.eventbus.EventBus.post(EventBus.java:365)
at dji.midware.data.manager.P3.t.post(Unknown Source)
at dji.midware.data.manager.P3.t.setPushRecData(Unknown Source)
at dji.midware.data.manager.P3.t.setPushRecPack(Unknown Source)
at dji.midware.data.manager.P3.l.b(Unknown Source)
at dji.midware.data.manager.P3.l.a(Unknown Source)
at dji.midware.data.manager.P3.l.a(Unknown Source)
at dji.midware.usb.P3.UsbAccessoryService$1.onGetBody(Unknown Source)
at dji.midware.f.a.f.b(Unknown Source)
at dji.midware.f.a.f.a(Unknown Source)
at dji.midware.usb.P3.UsbAccessoryService$RecvBufferRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.