cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Generic Sync example

Former Member
0 Kudos

Hi

I downloaded the generic sync templete from the MDK documentation and deployed it to my MI client but when i try to get the information from the WEBAS it is giving the following error

Error: 500

Location: /SAMPLE_GENERICSYNC/start

Internal Servlet Error:

java.lang.NullPointerException

at com.sap.ip.me.sync.SyncHeader.(Unknown Source)

at com.sap.ip.me.sync.SyncOutboundContainer.(Unknown Source)

at com.sap.ip.me.sync.SyncOutboundContainer.(Unknown Source)

at com.sap.ip.me.sync.ContainerFactory.createOutboundContainer(Unknown Source)

at genericsyncexample1.GenericSyncExample.getUserInfo(Unknown Source)

at genericsyncexample1.GenericSyncExample.doHandleEvent(Unknown Source)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doPost(Unknown Source)

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

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(Unknown Source)

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

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:479)

The Trace error from the MI Client is

E There is no MSD for current application (genericsync_simple)

how do i set the MSD for the Application?

do i have to make any changes to the template and then deploye or is there anything missing in the SAP WebAS installed?

i also checked the BWAFMAPP table for the method name "MDK_USER_INFO_READ"

Thanks and Regards

Gopi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gopi!

You are getting the following error from the Trace error from the MI Client is

"E There is no MSD for current application "(genericsync_simple)

Is that right?

(1) Log On to MI Web Console, Verify you have Uploaded the Mobile Component "genericsync_simple" correctly in the MI WebConsole.Since you have deployed the application in MI Client you should have your MCD Description here.Make sure the deployment info is correct.

(2) Log on to SAP MI Server and go to transaction MCD and then display your MCD "genericsync_simple' and make sure the information provided under Deployment Tab matches correctly with your info in MI Web Console.It should be the same.

(3) You have already checked table BWAFMAPP for method MDK_USER_INFO_READ and make sure you have the correct BAPI Wrapper assigned here.You are fine here i guess.

(4)Verify that table MEMAPPDEST has the correct RFC Destination defined for the Method MDK_USER_INFO_READ.

(5) Did you Re-Start your MI Client after the First Sync that deployed the application in your MI Client.

Setting up MCD is part of Step 1 and 2.You should have completed it already.

Let me know your results.

Thanks

Gisk

Message was edited by: Sivakumar Ganesan(Gisk)

Former Member
0 Kudos

Thanks Siva

I had given the MCD name different from the applications name.

Thanks and Ragards

Gopi

Former Member
0 Kudos

Hello Gopi,

> I had given the MCD name different from the applications

> name.

Did you also change the string returned by your

application's getApplicationName() into the same text

as you assigned it in the WebConsole? It should be

getApplicationName() == MCD name == WAR file name

Regards

Jo Gel