-
Notifications
You must be signed in to change notification settings - Fork 13
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
Crash after re-invoking startAsync() after stop() function is called #54
Comments
This commit fixes the crash when haraClient is stopped during the Downloading/Updating state due to actors were not closed properly. (Reported in #54) UF-930 Signed-off-by: Saeed Rezaee <saeed.rezaee@kynetics.it>
This commit fixes the crash when haraClient is stopped during the Downloading/Updating state due to actors were not closed properly. (Reported in #54) UF-930 Signed-off-by: Saeed Rezaee <saeed.rezaee@kynetics.it>
This commit fixes the crash when haraClient is stopped during the Downloading/Updating state due to actors were not closed properly. (Reported in #54) Added unit tests for the applied fix UF-930 Signed-off-by: Saeed Rezaee <saeed.rezaee@kynetics.it>
This commit fixes the crash when haraClient is stopped during the Downloading/Updating state due to actors were not closed properly. (Reported in #54) Added unit tests for the applied fix UF-930 Signed-off-by: Saeed Rezaee <saeed.rezaee@kynetics.it>
Hello @N7k thanks for reporting this issue! Can you please try the latest build from the Looking forward to your feedback. |
Hello @diegorondini, Sorry for the delayed response, and thank you for addressing the issue! I've tested the latest build from the Could you also let me know when the next official release is planned? It would be helpful for our deployment timeline. Thanks again for your support! |
Hello!
We are utilizing the Eclipse Hara DDIClient library alongside the HawkBit server to perform OTA updates on our devices. Our implementation adheres to the examples provided in the repository. The update process works well with the
startAsync()
function. However, we encounter issues when using thestop()
function. Let me describe the process in detail.startAsync()
function to begin the OTA update process.stop()
function to interrupt the process (e.g., when a file has started downloading), for instance, by UX needs, then re-invokestartAsync()
(after reinitializing theHaraClient
as per the documentation), and at some point during the following downloading process, the application crashes.Steps to Reproduce:
HaraClient
.startAsync()
to begin the OTA update process.stop()
function to interrupt the process.HaraClient
.startAsync()
again, then wait.The application crashes with the following exception:
Additionally, after calling the
stop()
function, the following logs appear:Environment:
Library version: 2.0.0
Android version: 34
Devices: Emulators, EVT Device
The text was updated successfully, but these errors were encountered: