Skip to Content
0
Former Member
Jan 07, 2006 at 10:04 AM

NullPointerException at com.sap.ip.me.smartsync.data.AbstractRow.getSyncKey

12 Views

Dear all,

I have created one mobile application,with SyncBo,which

contain the getlist , getdetail and create wrapper function modules.(Using MDK 2.5 , server SP 13,Studio SP 13)

This create wrapper function module is internaly using some BAPI's , because of that , when the frame work calls the get detail function module after the create ,

the data coming is not complete. The key field selection and mapping is perfect (Its is working fine).

(one of the internally using function module has 10 second delay)

Because of this or commit work associated with BAPI, i am not getting sufficient data first, as i described above.

but after some time , in the next syncronization im getting the expected data.

if not wait , after sync, i am getting unexpected exception at the time of viewing the newly created data.

this is the Exception , that i got (below)

==============================================

java.lang.NullPointerException

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

Regards

Kishor G