-
Notifications
You must be signed in to change notification settings - Fork 4
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
McuReader fails on service restart #24
Comments
I have the same issue. Service version 1.2.1
Clearing app data resolves the issue. Clearing cache data does not. |
Tried earlier versions of service with v1.2 of Client. Issue persists with service version 1.2. Issue disappears with service version 1.1.0. However, in v1.1.0 am unable to enable Start at Boot setting (gui slider toggles to on, but does not retain setting) My car did not have an idrive system from factory. I'm not sure if this might be related to the problem? |
This is probably caused by the ConfigManager trying to parse an incompatible config file and just throws an uncaught exception. This entire manager needs to be reworked for the coming update as the current implementation seems very fragile! |
For now rolling back to both version 1.1 of client and service together seems to be working 👍 |
I refactored that ConfigManager in this commit: 18512a8 Hopefully with that the riddles of this crash will be fixed. |
I tested out the update with Client v1.2 but no cigar. Still same issue |
i can only restart the service only if i clear data on android settings for the service app (not the client app)
fresh full upgrade to ksw 4.0.7 firmware to check if issue persists (with full reset)
crashes on service restart, os restart, any restart :)
if i clear service data, it starts successfully.
ksw-toolkit client v1.2
service version 1.2.1
mcu 0230A0eGS-E39-KTL-BA-211011G
System 4.0.7 10-501A-EA-1-...
previosly i have used them both without issues (started crashing after updating both client/service while on os 3.9.x)
2 errors i got:
1st:
KSW-ToolKit-CoreService:
KSW-ToolKit-Service stopped
2nd:
KSW-ToolKit-CoreService:
Could not start McuReader!
[Ljava.lang.StackTraceElement;@54325d6
The text was updated successfully, but these errors were encountered: