0 Replies Latest reply on Sep 17, 2013 9:28 AM by sandip kanzariya

    I am facing synchronization problem with pramati server + envers 3.5

    sandip kanzariya Newbie

      Error log :

      org.hibernate.TransactionException: could not register synchronization

              at org.hibernate.transaction.JTATransaction.registerSynchronization(JTATransaction.java:316)

              at org.hibernate.envers.synchronization.AuditSyncManager.get(AuditSyncManager.java:56)

              at org.hibernate.envers.event.AuditEventListener.onPostInsert(AuditEventListener.java:146)

              at org.hibernate.action.EntityIdentityInsertAction.postInsert(EntityIdentityInsertAction.java:113)

              at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:89)

              at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)

              at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)

              at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)

              at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)

              at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)

              at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)

              at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:117)

              at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)

              at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:534)

              at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:526)

              at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:522)

              at com.pramati.jsp.generated.BizSolo_p2f_BSProjectCreation_p5f_V1_p2f_AppendOrderLines_p2e_jsp._jspService_delegate(BizSolo_p2f_BSProjectCreation_p5f_V1_p2f_AppendOrderLines_p2e_jsp.

      java:304)

              at com.pramati.jsp.generated.BizSolo_p2f_BSProjectCreation_p5f_V1_p2f_AppendOrderLines_p2e_jsp._jspService(BizSolo_p2f_BSProjectCreation_p5f_V1_p2f_AppendOrderLines_p2e_jsp.java:581)

       

              at com.pramati.jsp.runtime.HttpJspSuper.service(HttpJspSuper.java:91)

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

              at com.pramati.web.servlet.core.ServiceAction.run(ServiceAction.java:83)

              at com.pramati.web.util.servlets.JSPEngineServlet.service(JSPEngineServlet.java:67)

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

              at com.pramati.web.servlet.core.ServiceAction.run(ServiceAction.java:83)

              at com.pramati.security.util.PramatiSecurityHelper._doAs(PramatiSecurityHelper.java:54)

              at com.pramati.security.util.AbstractSecurityHelper._doAs(AbstractSecurityHelper.java:196)

              at com.pramati.services.security.spi.SecurityHelper.doAs(SecurityHelper.java:146)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetWebResource(PramatiFilterChainImpl.java:317)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:168)

              at com.savvion.sbm.bpmportal.util.CacheFilter.doFilter(Unknown Source)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)

              at com.savvion.sbm.bpmportal.util.ContextPathFilter.doFilter(Unknown Source)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)

              at com.savvion.sbm.websecurity.xss.filter.XSSFilter.doFilter(Unknown Source)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)

              at com.savvion.sbm.bpmportal.util.GZIPFilter.doFilter(Unknown Source)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)

              at com.savvion.sbm.bpmportal.util.EncodingFilter.doFilter(Unknown Source)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)

              at com.pramati.web.servlet.core.PramatiFilterChainImpl.startDoFilter(PramatiFilterChainImpl.java:120)

              at com.pramati.web.interceptors.ServiceInterceptor.preProcess(ServiceInterceptor.java:115)

              at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:72)

              at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)

              at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:73)

              at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)

              at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:73)

              at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)

              at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:73)

              at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)

              at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:73)

              at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)

              at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:73)

              at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)

              at com.pramati.web.interceptors.core.DefaultProcessContainer.process(DefaultProcessContainer.java:97)

              at com.pramati.web.core.WorkerThread.processConnection(WorkerThread.java:289)

              at com.pramati.web.core.WorkerThread.processConnection(WorkerThread.java:263)

              at com.pramati.web.core.WorkerThread.run(WorkerThread.java:129)

      Caused by: java.lang.NullPointerException

              at org.hibernate.transaction.JTATransaction.registerSynchronization(JTATransaction.java:313)

              ... 61 more

       

      Could you please help me to identify the issue?

      Thank you