Skip to Content
author's profile photo Former Member
Former Member

Problem in Generic Sync example

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2005 at 03:33 PM

    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)

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.