New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regular fatal exception due to missing resource #49
Comments
Hi @JamesMastermanDev, thanks for reporting this bug. We have already recorded it into our bug tracking system. It should be fixed in the future version. |
@oliverou I'm experiencing the same type of exception, although from a different component, including stack traces below
|
I also get similar type of error as I submitted an issue earlier. Seems like fixing broken sample code isn't one of the top priorities of DJI's Dev Team :) |
I get this error in my app randomly, I don't think it's sample specific.
Sent from BlueMail
…On Nov 27, 2016, 5:56 AM, at 5:56 AM, Biser Atanasov ***@***.***> wrote:
I also get similar type of error as I submitted an issue earlier. Seems
like fixing broken sample code isn't one of the top priorities of DJI's
Dev Team :)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#49 (comment)
|
@biskazz these exceptions are sourced from the DJI SDK directly, their sample is failing as a consequence - it's not the actual problem. We have exception records in production w/ SDK v3.4.0. |
Will go ahead and close this ticket as current version (4.3.2) should have a fix for this already. |
Hi, I am seeing a regular fatal exception that crashes my app. It appears to be due to a missing resource within the SDK or at least passing 0 as a resource ID. I can't seem to nail down the exact steps to reproduce, it happens randomly but sometimes 3 or 4 times in a single flight.
I've seen it most often when plugging in the USB cable, but also when downloading images while on the ground, or even during normal flight while simply ready telemetry.
It happens regardless of the drone (Phantom 3, 4, inspire 1 and Mavic pro all seem to see it). I don't think it is drone related.
This is with SDK 3.4 on Android. I've tested on Samsung Tab S2 8" and Samsung Galaxy S7 phones, same result on both (both running Android 6.0.1)
The stack trace is as follows
E/AndroidRuntime: FATAL EXCEPTION: Thread-3703
android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.content.res.Resources.getText(Resources.java:1468)
at android.content.res.Resources.getString(Resources.java:1564)
at dji.midware.g.a.a(Unknown Source)
at dji.midware.g.a.b(Unknown Source)
at dji.sdk.util.Util.getString(Unknown Source)
at dji.internal.c.j.a(Unknown Source)
at dji.internal.c.g.a(Unknown Source)
at dji.sdk.base.DJIBaseProduct$1.onDiagnosisUpdate(Unknown Source)
at dji.internal.c.f.c(Unknown Source)
at dji.internal.c.m.onSuccess(Unknown Source)
at dji.midware.data.manager.P3.u.callbackSuccess(Unknown Source)
at dji.midware.data.manager.P3.u.access$200(Unknown Source)
at dji.midware.data.manager.P3.w.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)
The text was updated successfully, but these errors were encountered: