on 05-05-2014 2:48 PM
I am facing one error with some android devices enrolled in Afaria 7 SP4 environment.
Some Android users are getting Afaria client error on their devices randomly: " Unfortunately, Afaria has stopped working on your device "
below are the details of those Android devices:
Motorola Moto X
Android version 4.4.2 (KitKat)
Samsung Galaxy S 5
Android version 4.4.2 (KitKat)
Is there any workaround or hotfix to remove this error. Appreciate your views.
Regards
Rahul
Message was edited by: Michael Appleby
Applying the latest hotfix resolved this issue.
Regards
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul
Can you tell me if you're using the newest Afaria Android client? We released an updated version in the Play store recently. The latest one is 6.60.6410.
An issue was corrected in this release which was causing the Afaria client to crash, when switching between cellular and WiFi networks, could this be the scenario your users are experiencing?
If you are running the latest client and the data switch scenario I mentioned is not applicable, we may need to capture some debug, so it can identified which exception is being thrown.
Regards
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick
Thanks for your inputs.
Yes the Users are using the newest Afaria Android client 6.60.6410 .
Data switch scenario is not the issue here.
I also checked all other scenarios causing Afaria client to crash( as mentioned in the newest release of Afaria client)
please help me to debug this exception.
Regards
Rahul
Hi Nick,
I am not able to debug the Android device since the server is on cloud and i cannot connect the device using USB cord( As per the instructions provided in SCN doc for debugging).
Is there any other way to debug devices(Without connecting via Data cord)
Appreciate your help.
Regards
Rahul
Hi Rahul
Are you referring to the guide here?
How to Debug Android Device Instructions - SAP Mobility - SCN Wiki
If so, you do not need access to the Afaria Server, just any computer to which you can connect the Android device via USB cable plus the Android SDK installed.
As your devices are running KitKat, it's not so easy to read system logs on the device, unless you have Root permissions or are using a System app. Google stopped apps using the READ_LOGS permission to read other apps log data in Jelly Bean for security/privacy purposes.
Regards
Nick
Hi Nick,
Below are the debugging log details. the error was noticed around 10:44 am.
Please let me know if you find anything relevant. I can also see some logs related to Network issue.
believe you can explain me better.
06-04-14 10:04:20|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:04:20|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:04:20|v|Session: Extra NO CONNECTIVITY: true
06-04-14 10:04:20|v|Session: NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:04:20|v|Session: NetworkInfo: null
06-04-14 10:04:20|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:04:20|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:04:20|v|Session: Extra NO CONNECTIVITY: true
06-04-14 10:04:20|v|Session: NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:04:20|v|Session: NetworkInfo: null
06-04-14 10:04:21|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:04:21|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:04:21|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:04:21|v|Session: NetworkInfo: type: mobile[LTE], state: CONNECTED/CONNECTED, reason: connected, extra: VZWINTERNET, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:04:21|v|Session: NetworkInfo: null
06-04-14 10:04:21|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:04:21|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:04:21|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:04:21|v|Session: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "WiFi", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:04:21|v|Session: NetworkInfo: null
06-04-14 10:04:21|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:04:21|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:04:21|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:04:21|v|Session: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "WiFi", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:04:21|v|Session: NetworkInfo: null
06-04-14 10:04:21|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:04:21|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:04:22|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:04:22|v|Session: NetworkInfo: type: mobile[LTE], state: DISCONNECTED/DISCONNECTED, reason: dataDisabled, extra: VZWINTERNET, roaming: false, failover: true, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:04:22|v|Session: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "WiFi", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:04:22|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:04:22|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:04:22|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:04:22|v|Session: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "WiFi", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:04:22|v|Session: NetworkInfo: null
06-04-14 10:13:53|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:13:53|i|ClientProperties: GET(B) - cronEnabled:false
06-04-14 10:13:53|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:13:53|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:13:53|i|ClientProperties: GET(B) - Device_Compliant:true
06-04-14 10:13:53|i|ClientProperties: GET(S) - Remediation_Cause:
06-04-14 10:13:53|i|ClientProperties: GET(B) - Disable_Admin_Remediation:false
06-04-14 10:13:53|i|ClientProperties: GET(B) - Disable_Pass_Remediation:false
06-04-14 10:13:53|i|ClientProperties: GET(B) - Device_Rooted_Remediation:true
06-04-14 10:13:53|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:13:53|i|ClientProperties: GET(B) - device_rooted:false
06-04-14 10:13:53|i|ClientProperties: SET(B) - device_rooted : false
06-04-14 10:22:21|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:22:21|i|ClientProperties: GET(B) - cronEnabled:false
06-04-14 10:22:21|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:22:21|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:22:21|i|ClientProperties: GET(B) - Device_Compliant:true
06-04-14 10:22:21|i|ClientProperties: GET(S) - Remediation_Cause:
06-04-14 10:22:21|i|ClientProperties: GET(B) - Disable_Admin_Remediation:false
06-04-14 10:22:21|i|ClientProperties: GET(B) - Disable_Pass_Remediation:false
06-04-14 10:22:21|i|ClientProperties: GET(B) - Device_Rooted_Remediation:true
06-04-14 10:22:21|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:22:21|i|ClientProperties: GET(B) - device_rooted:false
06-04-14 10:22:21|i|ClientProperties: SET(B) - device_rooted : false
06-04-14 10:22:59|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:22:59|i|ClientProperties: GET(B) - cronEnabled:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:22:59|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:22:59|i|ClientProperties: GET(B) - Device_Compliant:true
06-04-14 10:22:59|i|ClientProperties: GET(S) - Remediation_Cause:
06-04-14 10:22:59|i|ClientProperties: GET(B) - Disable_Admin_Remediation:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Disable_Pass_Remediation:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Device_Rooted_Remediation:true
06-04-14 10:22:59|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:22:59|i|ClientProperties: GET(B) - device_rooted:false
06-04-14 10:22:59|i|ClientProperties: SET(B) - device_rooted : false
06-04-14 10:22:59|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:22:59|i|ClientProperties: GET(B) - cronEnabled:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:22:59|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:22:59|i|ClientProperties: GET(B) - Device_Compliant:true
06-04-14 10:22:59|i|ClientProperties: GET(S) - Remediation_Cause:
06-04-14 10:22:59|i|ClientProperties: GET(B) - Disable_Admin_Remediation:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Disable_Pass_Remediation:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Device_Rooted_Remediation:true
06-04-14 10:22:59|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:22:59|i|ClientProperties: GET(B) - device_rooted:false
06-04-14 10:22:59|i|ClientProperties: SET(B) - device_rooted : false
06-04-14 10:22:59|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:22:59|i|ClientProperties: GET(B) - cronEnabled:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:22:59|i|ClientProperties: GET(B) - Remediation_Policy_Processed:true
06-04-14 10:22:59|i|ClientProperties: GET(B) - Device_Compliant:true
06-04-14 10:22:59|i|ClientProperties: GET(S) - Remediation_Cause:
06-04-14 10:22:59|i|ClientProperties: GET(B) - Disable_Admin_Remediation:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Disable_Pass_Remediation:false
06-04-14 10:22:59|i|ClientProperties: GET(B) - Device_Rooted_Remediation:true
06-04-14 10:22:59|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:22:59|i|ClientProperties: GET(B) - device_rooted:false
06-04-14 10:22:59|i|ClientProperties: SET(B) - device_rooted : false
06-04-14 10:34:32|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:34:32|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:34:32|v|Session: Extra NO CONNECTIVITY: true
06-04-14 10:34:32|v|Session: NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:34:32|v|Session: NetworkInfo: null
06-04-14 10:34:32|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:34:32|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:34:32|v|Session: Extra NO CONNECTIVITY: true
06-04-14 10:34:32|v|Session: NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:34:32|v|Session: NetworkInfo: null
06-04-14 10:34:33|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:34:33|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:34:33|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:34:33|v|Session: NetworkInfo: type: mobile[LTE], state: CONNECTED/CONNECTED, reason: connected, extra: VZWINTERNET, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:34:33|v|Session: NetworkInfo: null
06-04-14 10:34:33|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:34:33|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:34:33|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:34:33|v|Session: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "WiFi", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:34:33|v|Session: NetworkInfo: null
06-04-14 10:34:33|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:34:33|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:34:33|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:34:33|v|Session: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "WiFi", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:34:33|v|Session: NetworkInfo: null
06-04-14 10:34:34|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:34:34|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:34:34|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:34:34|v|Session: NetworkInfo: type: mobile[LTE], state: DISCONNECTED/DISCONNECTED, reason: dataDisabled, extra: VZWINTERNET, roaming: false, failover: true, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:34:34|v|Session: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "WiFi", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:34:34|i|ClientProperties: GET(B) - cronConnectOnConnectivity:false
06-04-14 10:34:34|d|Session: Heartbeat Connect on Connectivity = False
06-04-14 10:34:34|v|Session: Extra NO CONNECTIVITY: false
06-04-14 10:34:34|v|Session: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "WiFi", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
06-04-14 10:34:34|v|Session: NetworkInfo: null
06-04-14 10:38:09|i|ClientProperties: GET(B) - PasswordSecurity.AllowAfariaScreenShots:false
06-04-14 10:38:09|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:38:09|v|ClientProperties: GETENCRYPTED(S) - EncryptInternalStorage
06-04-14 10:38:12|v|Apps: destroyItem 0
06-04-14 10:48:16|i|ClientProperties: GET(B) - EnableDebugLog:true
06-04-14 10:48:16|i|Afaria: onCreate()
06-04-14 10:48:16|v|ClientProperties: GETENCRYPTED(S) - PrivateKey
06-04-14 10:48:16|i|ClientProperties: GET(B) - cronEnabled:false
06-04-14 10:48:17|i|ClientProperties: GET(S) - ClientPropertiesTimestamp:06.03.2014 04:50
06-04-14 10:48:17|v|ClientProperties: GETENCRYPTED(S) - EncryptInternalStorage
06-04-14 10:48:17|v|ClientProperties: GETENCRYPTED(S) - serverIP
06-04-14 10:48:17|i|ClientProperties: GET(B) - seed_data_flag:true
06-04-14 10:48:17|v|ClientProperties: GETENCRYPTED(S) - appServerIP
Regards
Rahul
Hi Rahul
If this Afaria log reflects the time when a crash happened, we see some WiFi network state changes here, which is the bug that was fixed in client 6.60.6410.
Do you think you can also get the LogCat from the device using the Android SDK depicted in the document previously referenced, so we can see crashes from an Android OS exception level?
Regards
Nick
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.