cancel
Showing results for 
Search instead for 
Did you mean: 

MAU/MAM: Error while loading Notifications

Former Member
0 Kudos

Hello all.

Sometimes I receive an Exception when trying to load all MAM010's:

at com.sap.mbs.core.control.AbstractViewController.process(Unknown Source)

at com.sap.mbs.core.control.DefaultStateMachine.process(Unknown Source)

at com.sap.mbs.core.web.FrontServlet.doHandleEvent(Unknown Source)

at com.sap.mbs.mau.application.web.FrontServlet.doHandleEvent(FrontServlet.java:252)

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(Unknown Source)

<b>java.lang.NullPointerException

at com.sap.ip.me.smartsync.data.AbstractRow.getSyncKey(AbstractRow.java:302)

at com.sap.ip.me.smartsync.data.RowCollectionImpl.(RowCollectionImpl.java:28)

at com.sap.ip.me.smartsync.data.SyncBoDataFacadeImpl.getRows(SyncBoDataFacadeImpl.java:266)

at com.sap.mbs.alm.bo.impl.Mam010ManagerImpl.getMam010s(Mam010ManagerImpl.java:124)</b>

Any ideas why this can happen? Nullpointer while trying to get the Sync Key.

Thanks for any help.

Best regards,

Sascha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sascha,

Does it happen randomly or always?

Even i had faced similar problem sometime ago and the reason for that is if our local database gets corrupted due to some reasons and when the method tries to get the record it throws null pointer exception. What i observed was even though middleware sends a delete request to client due to some reasons the record doesn't get deleted from the client properly due to which we get this error.

The reason for this inconsistent behaviour could be many like stopping the syncrhonization before it completes or restarting the device in middle of synchronization etc.

The other option you can try is use start.jsp of MAM( if you dont know use URL http://localhost:4444/MAM25/start.jsp) check if data is properly displayed there. Iam sure even this page throws the same error if local DB gets corrupted.

The solution for this could be do a local reset of data and then do a fresh sync from client.

Regards,

Siva.

Former Member
0 Kudos

Hello Siva.

Yes just randomly. I already guessed that its like you said. After performing a fresh sync it works.

Thanks for you hint.

Cheers,

Sascha

Answers (0)