Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in Smart sync contacts app in SP14

Hi,

I have recently upgraded the WAS from SP9 to SP14.

I am working on a contact application as a sample scenario to get accustomed.

I have created a webapp and after deploying it to mi client, it is giving an exception as follows

java.lang.NullPointerException

at com.sap.ip.me.smartsync.data.RowManager$1.elementCount(RowManager.java:115)

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

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

at miProjectPackage.dataaccess.SmartSyncDBAccess.getSyncBoInstances(SmartSyncDBAccess.java:96)

at miProjectPackage.dataaccess.TableContentProvider.getTableWithSyncBoNames(TableContentProvider.java:84)

at miProjectPackage.MiProjectClass.showSyncBoNames(MiProjectClass.java:235)

at miProjectPackage.MiProjectClass.doHandleEvent(MiProjectClass.java:71)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:497)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:262)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Thread.java:534)

1. Should the name of the war file and the name of the mobile component in the web console be the same. In the above case, the war file is ContactSP14 and mobile component name is CONTACTSP14.

Regards

Raja Sekhar

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question