bitcraze / crazyflie-android-client

The Crazyflie Nano Quadcopter client for Android OTG or BLE enabled devices
GNU General Public License v2.0
103 stars 118 forks source link

NPE in FirmwareDownloader #56

Closed fredg02 closed 8 years ago

fredg02 commented 8 years ago

Error report from Google Play Developer Console (Feb 23, 9:19 PM)

User Message: "Did not work..."

Application version: v0.6.1

Stack trace:

java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=se.bitcraze.crazyfliecontrol2 (has extras) } in se.bitcraze.crazyfliecontrol.bootloader.FirmwareDownloader$1@41ffb960
    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:808)
    at android.os.Handler.handleCallback(Handler.java:808)
    at android.os.Handler.dispatchMessage(Handler.java:103)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:5299)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
    at se.bitcraze.crazyfliecontrol.bootloader.FirmwareDownloader$1.onReceive(FirmwareDownloader.java:322)
    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:798)
    ... 9 more