Hi all,

I'm pretty aware that I'm not on the Funambol forum, but as no one there has an idea about my issue, I'm trying here ...

Since OX6.18, I've got some problem syncing OX and Mobile Device via Funambol.
I know that session logging has changed in 6.18, but i've applied the following patch http://blog.peter-b.org/2010/12/11/f...ver-error-511/ which seems to be helpful for many ...

But since ... i got Funambol NullPointerException error...

here is the exact log:
Code:
java.lang.NullPointerException
        at com.funambol.ox.items.dao.OXEntityDAO.refreshCache(OXEntityDAO.java:791)
        at com.funambol.ox.items.manager.OXEntityManager.refreshCache(OXEntityManager.java:373)
        at com.funambol.ox.engine.source.OXSyncSource.endSync(OXSyncSource.java:331)
        at com.funambol.server.engine.Sync4jEngine.endSync(Sync4jEngine.java:845)
        at com.funambol.server.session.SyncSessionHandler.endSession(SyncSessionHandler.java:2280)
        at com.funambol.server.engine.SyncAdapter.endSync(SyncAdapter.java:163)
        at com.funambol.transport.http.server.LocalSyncHolder.close(LocalSyncHolder.java:138)
        at com.funambol.transport.http.server.SessionListener.sessionDestroyed(SessionListener.java:109)
        at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
        at org.apache.catalina.session.StandardSession.expire(StandardSession.java:660)
        at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1111)
        at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:150)
        at com.funambol.transport.http.server.Sync4jServlet.closeSession(Sync4jServlet.java:535)
        at com.funambol.transport.http.server.Sync4jServlet.doPost(Sync4jServlet.java:434)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.funambol.transport.http.server.LogContextFilter.doFilter(LogContextFilter.java:137)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.funambol.transport.http.server.SyncResponseTimeFilter.doFilter(SyncResponseTimeFilter.java:151)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Unknown Source)
I tested with several version of Funambol Server (8.7, 9), and different snapshot version of ox-connector (7.0.5, 7.1.0, 7.1.1), and the error is always the same...

Finally, my question is simple ...

Anyone around have seen this error ? Any idea on how to correct this issue ?

Thanks in advance for your answer.

Cya