Android Question dji sample failure

PABLO2013

Active Member
Licensed User
Longtime User
Cheers I wanted to know if anyone has experienced this error and how it could be solved, thanks

I have used this example, only changing the coordinates




B4X:
Registro conectado a: ZE222M837T
--------- beginning of crash
--------- beginning of system
--------- beginning of main
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
SDK_BindingStateChanged: UNKNOWN
Aircraft disconnected!
Activation state changed: UNKNOWN
SDK_BindingStateChanged: UNKNOWN
Aircraft disconnected!
onProductChanged: None
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
main$ResumableSub_btnStartMission_Clickresume (java line: 774)
java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
    at anywheresoftware.b4a.objects.WaypointMissionOperatorWrapper.LoadMission(WaypointMissionOperatorWrapper.java:85)
    at com.avalpro.dji.sdk.sample.main$ResumableSub_btnStartMission_Click.resume(main.java:774)
    at com.avalpro.dji.sdk.sample.main._btnstartmission_click(main.java:710)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7161)
    at android.view.View.performClickInternal(View.java:7133)
    at android.view.View.access$3500(View.java:804)
    at android.view.View$PerformClick.run(View.java:27416)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:241)
    at android.app.ActivityThread.main(ActivityThread.java:7582)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
(RuntimeException) java.lang.RuntimeException: Max Flight speed value provided is invalid(255)
Product disconnected
PackageAdded: package:com.avalpro.dji.sdk.sample
**************************** BaseApplication2 **************************
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
sdk version: 4.16
Registered successfully!
activation state: UNKNOWN
binding state: UNKNOWN
 
Top