SAP Knowledge Base Article - Preview

1975265 - SMP 2.3.3 invalid method execution error in iOS client when executing setAttributeNullableByte() during submitPending().


In a specific MBO, there are a set of SET/GET functions per data type. For example:

• setAttributeNullableBoolean
• setAttributeNullableDouble
• setAttributeNullableShort
• etc

Each of these functions is generated specifically for the MBO’s attributes and is expecting it to be called for a known set of attributes. The attributes in the actual MBO have some variables defined as Nullable Short data type.   These variables are set in a method called: setAttributeNullableShort. This looks correct.  But at runtime, when you call submitPending, the SMP libraries are internally trying to call setAttributeNullableByte instead of setAttributeNullableShort for these attributes. This method doesn’t exist in the specific MBO and throws an exception during submitPending.  Why is SMP generating code for setAttributeNullableShort (which is correct), but calling setAttributeNullableByte instead?



SMP 2.3.3
iOS client 2.3.3
XCode 5.x


SAP Mobile Platform 2.3


KBA , MOB-SUP , Sybase Unwired Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.