Skip to Content
avatar image
Former Member

Error when i try to get the details in Smart Sync

hi all,

i created an S01 SyncBo and follwed the steps in MDK. When i tried to run the application, i got the 10 Instances of SyncBO (as expected). but when i tried to click on the sync key to get the details, i got the follwoing error.. What is it i'm missing? i didn't touch the genereated code at all. Is that a problem? Kindly help.

Internal Servlet Error:

java.lang.NullPointerException

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

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

at miProjectPackage.dataaccess.TableContentProvider.instance(TableContentProvider.java:33)

at miProjectPackage.MiProjectClass.showSelectedSyncBoDetails(MiProjectClass.java:161)

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

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe(AbstractMEHttpServlet.java:346)

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

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

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

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)

Regards

Ak.

PS: Answers will be surely rewarded 😊

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 01, 2006 at 12:36 PM

    hi all,

    Managed to solve. i gave a sysout and checked the syncbo name. In one of the substrings, i managed to locate the problem. My syncbo was named as ZCOUNTRY_0. When i changed the no of characters of this substring, my probelm was solved.

    Thanks.

    Regards

    AK.

    Add comment
    10|10000 characters needed characters exceeded