[Bug Report] Adding device broken
cweiske opened this issue · 0 comments
cweiske commented
Description
Adding a new device with latest git version f95d6a3 is broken.
- Settings
- New device
- Add device with address
- Name: Test
- Address: homeapp-simpleapi.boo/
- Click create
- No device is added, device list is empty
Logs
11-28 22:25:33.952 7892 7892 D AndroidRuntime: Shutting down VM
11-28 22:25:33.969 7892 7892 E AndroidRuntime: FATAL EXCEPTION: main
11-28 22:25:33.969 7892 7892 E AndroidRuntime: Process: io.github.domi04151309.home, PID: 7892
11-28 22:25:33.969 7892 7892 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:501)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: ... 1 more
11-28 22:25:33.969 7892 7892 E AndroidRuntime: Caused by: org.json.JSONException: No value for order
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at org.json.JSONObject.get(JSONObject.java:399)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at org.json.JSONObject.getJSONArray(JSONObject.java:594)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at s2.d.j(:42)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at s2.d.b(:87)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at io.github.domi04151309.home.activities.EditDeviceActivity.a0(:169)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at io.github.domi04151309.home.activities.EditDeviceActivity.V(Unknown Source:0)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at n2.f.onClick(Unknown Source:19)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at android.view.View.performClick(View.java:7259)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at android.view.View.performClickInternal(View.java:7236)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at android.view.View.access$3600(View.java:801)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:27892)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
11-28 22:25:33.969 7892 7892 E AndroidRuntime: ... 3 more
Additional information
- Android version: 10
- Home App version: f95d6a3
- Installation source: Own Build