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

Error while Smart Sync inbound processing

Hi All.

I am using MAU on MI 2.5 SP16 P03 and I get an error after

generated some replacements and performed a sync:

[20061010 09:36:03:088] E [MI/Smartsync ] Error while Smart Sync inbound processing: java.lang.NullPointerException

java.lang.NullPointerException

at com.sap.ip.me.smartsync.syncIn.processors.ProcessorTopDeltaDelete.startWithContainer(ProcessorTopDeltaDelete.java:56)

at com.sap.ip.me.smartsync.syncIn.processors.RowProcessorManager$RowProcessorDispatcher.start(RowProcessorManager.java:497)

at com.sap.ip.me.smartsync.syncIn.SaxSyncInProcessor$3.startTop(SaxSyncInProcessor.java:508)

at com.sap.ip.me.smartsync.syncIn.SaxSyncInProcessor$3.getNextHandler(SaxSyncInProcessor.java:430)

at com.sap.ip.me.xmlParser.MIXMLEventHandlerManager.startElement(MIXMLEventHandlerManager.java:80)

at com.sap.ip.me.xmlParser.MIXMLParser$ElementParser.parse(MIXMLParser.java:527)

at com.sap.ip.me.xmlParser.MIXMLParser.parse(MIXMLParser.java:164)

at com.sap.ip.me.smartsync.syncIn.SaxSyncInProcessor.processSyncInMessage(SaxSyncInProcessor.java:87)

at com.sap.ip.me.smartsync.syncIn.SyncInRuntimeImpl.processSyncInMessage(SyncInRuntimeImpl.java:250)

at com.sap.ip.me.smartsync.core.SmartSyncRuntimeImpl.process(SmartSyncRuntimeImpl.java:344)

at com.sap.ip.me.smartsync.core.SmartSyncRuntimeManager.process(SmartSyncRuntimeManager.java:214)

at com.sap.ip.me.smartsync.core.SyncAdapter.process(SyncAdapter.java:56)

at com.sap.ip.me.sync.SyncManagerImpl.processSingleContainer(SyncManagerImpl.java:160)

at com.sap.ip.me.sync.SyncManagerMerger.processInboundContainers(SyncManagerMerger.java:166)

at com.sap.ip.me.sync.SyncManagerImpl.processSyncCycle(SyncManagerImpl.java:709)

at com.sap.ip.me.sync.SyncManagerImpl.syncForUser(SyncManagerImpl.java:1142)

at com.sap.ip.me.sync.SyncManagerImpl.processSynchronization(SyncManagerImpl.java:774)

at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:402)

at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:285)

at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend(SyncManager.java:79)

at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run(Home.java:447)

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

[20061010 09:36:03:088] I [MI/Smartsync ] Processed Smart Sync inbound message for conversation id 45298DB3FCEC485FE10000000A64328F

[20061010 09:36:03:088] I [MI/Smartsync ] Dumping file 'C:\Programme\SAP Mobile Infrastructure\log\smartSyncInboundTmp.txt'

<?xml version="1.0" encoding="iso-8859-1"?>

<?xml version="1.0" encoding="iso-8859-1"?>

http://www.sap.com/ip/me/smartsync/data" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" id="45299999FCEC485FE10000000A64328F" schemaVersion="2.0"> 45299998FCEC485FE10000000A64328F 005050316556

http://www.sap.com/ip/me/smartsync/data" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" id="4529999BFCEC485FE10000000A64328F" schemaVersion="2.0"> 4529999AFCEC485FE10000000A64328F 005050316576

http://www.sap.com/ip/me/smartsync/data" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" id="4529999DFCEC485FE10000000A64328F" schemaVersion="2.0"> 4529999CFCEC485FE10000000A64328F 005050316556

<Message xmlns="http:

[20061010 09:36:03:088] I [MI/Smartsync ] End of content of file 'C:\Programme\SAP Mobile Infrastructure\log\smartSyncInboundTmp.txt'

[20061010 09:36:03:098] E [MI/Smartsync ] java.lang.RuntimeException: Error while Smart Sync inbound processing: java.lang.NullPointerException

java.lang.RuntimeException: Error while Smart Sync inbound processing: java.lang.NullPointerException

at com.sap.ip.me.smartsync.syncIn.SyncInRuntimeImpl.processSyncInMessage(SyncInRuntimeImpl.java:279)

at com.sap.ip.me.smartsync.core.SmartSyncRuntimeImpl.process(SmartSyncRuntimeImpl.java:344)

at com.sap.ip.me.smartsync.core.SmartSyncRuntimeManager.process(SmartSyncRuntimeManager.java:214)

at com.sap.ip.me.smartsync.core.SyncAdapter.process(SyncAdapter.java:56)

at com.sap.ip.me.sync.SyncManagerImpl.processSingleContainer(SyncManagerImpl.java:160)

at com.sap.ip.me.sync.SyncManagerMerger.processInboundContainers(SyncManagerMerger.java:166)

at com.sap.ip.me.sync.SyncManagerImpl.processSyncCycle(SyncManagerImpl.java:709)

at com.sap.ip.me.sync.SyncManagerImpl.syncForUser(SyncManagerImpl.java:1142)

at com.sap.ip.me.sync.SyncManagerImpl.processSynchronization(SyncManagerImpl.java:774)

at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:402)

at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:285)

at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend(SyncManager.java:79)

at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run(Home.java:447)

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

....

Anyway, the notifications and replacements are correctly updated in the backend.

Any ideas?

Thankyou in advance.

Cheers

Sascha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2006 at 10:15 AM

    Hi.

    After I rechecked the trace I found out, that the XML which is logged regarding the messages seems to be invalid. Unfortunately I don nozt have the trace anymore but there was invalis XML like the following:

    <xxx<b>>tus><a>...</</b>a></status></xxx>

    I am not sure whether this is just a bug in logging xml or this is the xml as received.

    After i resynced no error was given, but some of the data in nearly each syncbo are missing, for example the customer name is missing or some of the connection objects are missing in I02.

    Very strange.

    Any ideas?

    Cheers,

    Sascha

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Jo.

      We are fetching data from 2 backends in these exits. There were some bugs in this area but I can't tell in detail, cause this programming part was not mine.

      Anyway thanks for your usefull hint.

      I already assigned you some points but I bet this is not very interesting for you, cause you have a lot of 😊

      Cheers,

      Sascha

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.