Skip to content
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

UnitModeListItemWidget causes exception to be thrown #58

Open
bbenson09 opened this issue Mar 3, 2022 · 0 comments
Open

UnitModeListItemWidget causes exception to be thrown #58

bbenson09 opened this issue Mar 3, 2022 · 0 comments

Comments

@bbenson09
Copy link

When attempting to change the unit in the UnitModeListItemWidget, this error is thrown, causing the app to crash:

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.flyby.pilot, PID: 14394
    java.lang.ClassCastException: java.lang.NullPointerException cannot be cast to dji.ux.beta.core.base.UXSDKError
        at dji.ux.beta.core.panel.listitem.unittype.UnitModeListItemWidget$onOptionTapped$2.accept(UnitModeListItemWidget.kt:171)
        at dji.ux.beta.core.panel.listitem.unittype.UnitModeListItemWidget$onOptionTapped$2.accept(UnitModeListItemWidget.kt:67)
        at dji.thirdparty.io.reactivex.internal.observers.CallbackCompletableObserver.onError(Unknown Source)
        at dji.thirdparty.io.reactivex.internal.observers.CallbackCompletableObserver.onComplete(Unknown Source)
        at dji.thirdparty.io.reactivex.internal.operators.completable.CompletableObserveOn$ObserveOnCompletableObserver.run(Unknown Source)
        at dji.thirdparty.io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(Unknown Source)
        at android.os.Handler.handleCallback(Handler.java:755)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:167)
        at android.app.ActivityThread.main(ActivityThread.java:6240)
        at java.lang.reflect.Method.invoke(Native Method)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant