Skip to Content
0
Former Member
Jan 19, 2006 at 06:56 AM

Exception at FieldTypeDecorator$5.getAsStringWithLeadingZeros

20 Views

Dear all,

I am using MDK 2.5 sp 13 (patch 00).

(Server is also compatible)

i have created one mobile application (Smart Sync Application), which is using 5 SyncBos.

One of the SyncBo have getlist , getdetail and create function modules.

Key field mapping is working fine.

I could create one new entry in the client side and view its details.

But after synchronization , the corresponding entry is created in the back end .

On viewing the corresponding SyncBos data after synchronization , i am getting the exception ,

java.lang.ArrayIndexOutOfBoundsException: -7

at com.sap.ip.me.smartsync.meta.FieldTypeDecorator$5.getAsStringWithLeadingZeros(FieldTypeDecorator.java:938)

at com.sap.ip.me.smartsync.meta.FieldTypeDecorator$5.persistToTransient21(FieldTypeDecorator.java:926)

at com.sap.ip.me.smartsync.meta.FieldDescriptorImpl.getValAsTransient(FieldDescriptorImpl.java:689)

at com.sap.ip.me.smartsync.data.AbstractRow.getFieldValue(AbstractRow.java:268)

at com.sap.ip.me.smartsync.data.AbstractRow.getSyncKey(AbstractRow.java:302)

at com.sap.ip.me.smartsync.data.SyncBoProxy.getSyncKey(SyncBoProxy.java:178)

at com.sap.ip.me.smartsync.data.SyncBoCollectionImpl.(SyncBoCollectionImpl.java:30)

at com.sap.ip.me.smartsync.data.SyncBoListImpl.(SyncBoListImpl.java:30)

at com.sap.ip.me.smartsync.data.SyncBoDataFacadeImpl.getSyncBos(SyncBoDataFacadeImpl.java:146)

please help me to resolve this problem ,and i promise to return and reward the answers.

Regards

Kishor G