Hi all,
I'm currently facing a crash that only occurs on my physical device (Epix 2 Pro). The same test case runs fine in the simulator.
The issue happens when the app manipulates a CustomMenu - specifically when removing items or replacing them using CustomMenu.updateItem()
. On the device, this causes a crash.
I was able to retrieve the CIQ_LOG, which reports an "Array Out Of Bounds Error", but it doesn't include a stack trace. Here's the relevant part of the log:
Error: Array Out Of Bounds Error
Time: 2025-05-19T19:36:09Z
Part-Number: 006-B4313-00
Firmware-Version: 20.22
Language-Code: eng
ConnectIQ-Version: 5.1.1
Store-Id: 8a6b62f1-5450-4912-8799-2eeaf9779d97
Store-Version: 44
Filename: F56A2548
Appname: openHAB
Stack:
Now to my main questions:
-
To get a proper stack trace, I assume I need to sideload a debug build - is that correct?
-
If I sideload the debug build, is there any way to preserve the user settings from the store-installed version? Or do I have to hardcode them in the debug build?
-
Has anyone run into similar CustomMenu update crashes on-device but not in the simulator?
Thanks in advance for any help or suggestions!