cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

SAP Mobile Services Client Keeps Crashing

Riyaz_abdul
Explorer
0 Likes
1,587

we are  facing an issue with the SAP Mobile Services Client application. The app is crashing frequently, and we receive the error message: "Mobile Svcs keeps stopping".mvcs.jpg

Accepted Solutions (0)

Answers (6)

Answers (6)

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

@Riyaz_abdul please validate the original issue with recent release of MDK client (25.6) and let us know if you still experience the same problem.

 

Riyaz_abdul
Explorer

Hi @Jitendra_Kansal78

I have tested the original issue with the latest MDK client version 25.6, and I can confirm that I am not facing the issue anymore. Everything seems to be working fine in the recent release.

Thank you for the update and support.

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

@Riyaz_abdul I was able to reproduce the issue and have informed the team to investigate further.

It appears to be caused by a missing title value in an object cell, which prevents the image in the Avatar from being handled properly on Android. However, I don’t see any issues on iOS.

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

@Riyaz_abdulCould you share the page metadata so I can understand exactly what you've tried?

Riyaz_abdul
Explorer
Riyaz_abdul
Explorer
0 Likes

@Jitendra_Kansal78,Thank you for your response! Here is the page metadata I am using:
{
"Controls": [
{
"FilterFeedbackBar": {
"ShowAllFilters": false,
"_Type": "Control.Type.FilterFeedbackBar"
},
"_Type": "Control.Type.SectionedTable",
"_Name": "SectionedTable",
"Sections": [
{
"Header": {
"_Type": "SectionCommon.Type.Header",
"_Name": "SectionCommonTypeHeader0",
"AccessoryType": "None",
"UseTopPadding": false
},
"Separators": {
"TopSectionSeparator": false,
"BottomSectionSeparator": true,
"HeaderSeparator": true,
"FooterSeparator": true,
"ControlSeparator": true
},
"_Type": "Section.Type.ObjectTable",
"Target": {
"EntitySet": "Supplier_table",
"Service": "/mdk_mqbid/Services/Myservice.service",
"QueryOptions": ""
},
"_Name": "SectionObjectTable0",
"Visible": true,
"EmptySection": {
"Caption": "No record found!",
"FooterVisible": false
},
"ObjectCell": {
"ContextMenu": {
"Items": [],
"PerformFirstActionWithFullSwipe": true,
"LeadingItems": [],
"TrailingItems": [],
"_Type": "ObjectCell.Type.ContextMenu"
},
"Title": "{title}",
"Subhead": "{doc_id}",
"Footnote": "{main_invitationId}",
"Description": "{invitationId}",
"StatusText": "{smvendor_id}",
"SubstatusText": "{phone_main}",
"PreserveIconStackSpacing": false,
"AccessoryType": "DisclosureIndicator",
"Tags": [],
"AvatarStack": {
"Avatars": [
{
"Image": ""
}
],
"ImageIsCircular": false
},
"Icons": [],
"OnPress": "/mdk_mqbid/Actions/Myservice/Supplier_table/NavToSupplier_table_Detail.action",
"_Type": "ObjectTable.Type.ObjectCell",
"Selected": false
},
"Search": {
"Enabled": true,
"Placeholder": "Item Search",
"BarcodeScanner": true,
"Delay": 500,
"MinimumCharacterThreshold": 3
},
"DataPaging": {
"ShowLoadingIndicator": true,
"LoadingIndicatorText": "Loading more items, please wait..."
},
"HighlightSelectedItem": false
}
],
"LoadingIndicator": {
"Enabled": true,
"Text": "Loading, please wait..."
}
}
],
"_Type": "Page",
"_Name": "Supplier_table_List",
"ActionBar": {
"Items": [
{
"_Type": "Control.Type.ActionBarItem",
"_Name": "ActionBarItem0",
"Caption": "",
"SystemItem": "Add",
"Position": "Right",
"IsIconCircular": false,
"OnPress": "/mdk_mqbid/Actions/Myservice/Supplier_table/NavToSupplier_table_Create.action"
}
],
"_Name": "ActionBar0",
"_Type": "Control.Type.ActionBar",
"Caption": "$(L,Supplier_table)"
}
}
I noticed that the app crashes only when the AvatarStack block is included in the metadata and the Title field is empty for one of the records. Here’s the specific part of the metadata:
"AvatarStack": {
"Avatars": [
{
"Image": ""
}
],
"ImageIsCircular": false
},
"Icons": []

When I remove the AvatarStack block (as shown above), the app stops crashing even if the Title field is blank.

Could this issue be related to the Avatar component interacting with empty or null Title fields? Let me know if additional details are needed.




Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

@Riyaz_abdul I just tried it on my Android device and didn't experience any crashes.

I did a fresh download of the MDK client from Google Play and was able to see the agreement screen. Is this the process you followed?

Could you look into the Client Logs if you see any relevant info?  Refer this document.

Riyaz_abdul
Explorer
0 Likes

@Jitendra_Kansal78

Thank you for trying it out and confirming it works on your device! Let me provide more details about the issue:

The crash happens only under specific conditions:

  1. The Title field is bound to a non-mandatory property (e.g., {SupplierName}), and one or more records have this field empty.
  2. An Avatar is used in the Object Table configuration.

If I remove the Avatar property, the app doesn’t crash, even when the Title field is blank.
I am also facing a problem with the Action Bar in my app. It seems to be taking up more space than expected
Screenshot_20250116-115256.jpg

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

@Riyaz_abdul Thanks for sharing the version details. 

Did you freshly install the MDK client version 24.11.1 from the Play Store and then observe this behavior? Or did you already have a previous version (lower than 24.11.1), and after upgrading to 24.11.1, you started seeing the problem?

Riyaz_abdul
Explorer
0 Likes
@Jitendra_Kansal78,On the device experiencing the issue, we freshly installed the 24.11.1 version from the Play Store, and the app is crashing. However, on another device where the previous version of the app is installed, the app is not crashing. Please let us know if you need more details to investigate further.
Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

@Riyaz_abdul Could you share the MDK client version? You can find the details in the device Settings

Riyaz_abdul
Explorer
0 Likes
@Jitendra_Kansal78,Thank you for your response. The version of the SAP Mobile Services Client installed on the device is 24.11.1.