weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager$TxListener@106291d - with nested exception: [java.lang.NullPointerException]

Oracle Community | 505279 | 1 decade ago
  1. 0

    Driver Problem

    Oracle Community | 1 decade ago | 505279
    weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager$TxListener@106291d - with nested exception: [java.lang.NullPointerException]
  2. 0

    Hi, We are getting the below error when especially concurrent tranaction occurs. Any help is appreciated. We use: Hibernate-Version: 3.2.0.ga / Spring-Version: 2.0 Below is hibernate config. <hibernate-configuration> <session-factory> <property name="dialect">org.hibernate.dialect.OracleDialect</property> <property name="connection.datasource">DataSource</property> <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WeblogicTransactionManagerLookup</property> <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property> <property name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property> Error Stack Trace: <Jul 25, 2009 12:47:50 AM EDT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB ejb.Com monSvcBean.lockRecord(WorkerID)],Xid=BEA1-029D0FA262DE18CCFD04(21198126),Status=Rolled back. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyExcepti on],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=4,seconds left=60,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourc eInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=cgServer),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@1c24cca,re-Registered = false),S CInfo[app+cgServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB ejb.CommonSvcBean.lockRecord(WorkerID)], weblogic.jdbc=t3://127.0.0.1:7001}),OwnerTransactionManager=ServerTM[Ser verCoordinatorDescriptor=(CoordinatorURL=cgServer+127.0.0.1:7001+app+t3+, XAResources={JMS_FileStore, weblogic.jdbc.wrapper.JTSXAResourceImpl, JMS_cgJMSStor e},NonXAResources={})],CoordinatorURL=cgServer+127.0.0.1:7001+app+t3+): weblogic.transaction.internal.AppSetRollbackOnlyException at weblogic.transaction.internal.TransactionImpl.setRollbackOnly(TransactionImpl.java:505) at org.hibernate.transaction.CacheSynchronization.setRollbackOnly(CacheSynchronization.java:73) at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:63) at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1026) at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:116) at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1202) at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1974) at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:257) at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:228) at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:320) at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168) at ejb.CommonSvc_926iaa_EOImpl.lockRecord(CommonSvc_926iaa_EOImpl.java:1876) at ejb.CommonSvc_926iaa_EOImpl_CBV.lockRecord(Unknown Source) at ejb.CommonSvcClient.lockRecord(CommonSvcClient.java:1112) at sun.reflect.GeneratedMethodAccessor465.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101) at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) --------------- nested within: ------------------ weblogic.transaction.RollbackException: Unknown reason - with nested exception:[weblogic.transaction.internal.AppSetRollbackOnlyException] at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1684) at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:311) at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:228) at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:320) at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168) at ejb.CommonSvc_926iaa_EOImpl.lockRecord(CommonSvc_926iaa_EOImpl.java:1876) at ejb.CommonSvc_926iaa_EOImpl_CBV.lockRecord(Unknown Source) at ejb.CommonSvcClient.lockRecord(CommonSvcClient.java:1112) at sun.reflect.GeneratedMethodAccessor465.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101) at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    Hibernate JIRA | 7 years ago | Sing
    weblogic.transaction.RollbackException: Unknown reason - with nested exception:[weblogic.transaction.internal.AppSetRollbackOnlyException]
  3. 0

    Exception using HashMap for DirectMap

    Oracle Community | 1 decade ago | 214213
    weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=oracle.toplink.transaction.JTASynchronizationListener@7e00dd - with nested exception: [java.lang.NullPointerException]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, We are getting the below error when especially concurrent tranaction occurs. Any help is appreciated. We use: Hibernate-Version: 3.2.0.ga / Spring-Version: 2.0 Below is hibernate config. <hibernate-configuration> <session-factory> <property name="dialect">org.hibernate.dialect.OracleDialect</property> <property name="connection.datasource">DataSource</property> <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WeblogicTransactionManagerLookup</property> <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property> <property name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property> Error Stack Trace: <Jul 25, 2009 12:47:50 AM EDT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB ejb.Com monSvcBean.lockRecord(WorkerID)],Xid=BEA1-029D0FA262DE18CCFD04(21198126),Status=Rolled back. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyExcepti on],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=4,seconds left=60,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourc eInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=cgServer),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@1c24cca,re-Registered = false),S CInfo[app+cgServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB ejb.CommonSvcBean.lockRecord(WorkerID)], weblogic.jdbc=t3://127.0.0.1:7001}),OwnerTransactionManager=ServerTM[Ser verCoordinatorDescriptor=(CoordinatorURL=cgServer+127.0.0.1:7001+app+t3+, XAResources={JMS_FileStore, weblogic.jdbc.wrapper.JTSXAResourceImpl, JMS_cgJMSStor e},NonXAResources={})],CoordinatorURL=cgServer+127.0.0.1:7001+app+t3+): weblogic.transaction.internal.AppSetRollbackOnlyException at weblogic.transaction.internal.TransactionImpl.setRollbackOnly(TransactionImpl.java:505) at org.hibernate.transaction.CacheSynchronization.setRollbackOnly(CacheSynchronization.java:73) at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:63) at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1026) at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:116) at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1202) at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1974) at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:257) at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:228) at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:320) at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168) at ejb.CommonSvc_926iaa_EOImpl.lockRecord(CommonSvc_926iaa_EOImpl.java:1876) at ejb.CommonSvc_926iaa_EOImpl_CBV.lockRecord(Unknown Source) at ejb.CommonSvcClient.lockRecord(CommonSvcClient.java:1112) at sun.reflect.GeneratedMethodAccessor465.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101) at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) --------------- nested within: ------------------ weblogic.transaction.RollbackException: Unknown reason - with nested exception:[weblogic.transaction.internal.AppSetRollbackOnlyException] at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1684) at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:311) at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:228) at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:320) at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168) at ejb.CommonSvc_926iaa_EOImpl.lockRecord(CommonSvc_926iaa_EOImpl.java:1876) at ejb.CommonSvc_926iaa_EOImpl_CBV.lockRecord(Unknown Source) at ejb.CommonSvcClient.lockRecord(CommonSvcClient.java:1112) at sun.reflect.GeneratedMethodAccessor465.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101) at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    Hibernate JIRA | 7 years ago | Sing
    weblogic.transaction.RollbackException: Unknown reason - with nested exception:[weblogic.transaction.internal.AppSetRollbackOnlyException]
  6. 0

    [jboss-user] [JBossCache] - Re: Exception occured during transaction commit - JBoss tree

    jboss.org | 3 months ago
    weblogic.transaction.RollbackException: Unknown reason - with nested exception: [weblogic.transaction.internal.AppSetRollbackOnlyException]

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. weblogic.transaction.RollbackException

      Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager$TxListener@106291d - with nested exception: [java.lang.NullPointerException]

      at weblogic.transaction.internal.TransactionImpl.throwRollbackException()
    2. weblogic.transaction.internal
      ServerTransactionImpl.commit
      1. weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1644)
      2. weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:296)
      3. weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:217)
      3 frames
    3. weblogic.ejb20.internal
      StatelessEJBObject.postInvoke
      1. weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:289)
      2. weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:131)
      2 frames
    4. com.epfindia.cla
      ClaimFacadeSBBean_yk31y8_EOImpl_WLSkel.invoke
      1. com.epfindia.cla.ejb.session.ClaimFacadeSBBean_yk31y8_EOImpl.approvePFClaimDetails(ClaimFacadeSBBean_yk31y8_EOImpl.java:326)
      2. com.epfindia.cla.ejb.session.ClaimFacadeSBBean_yk31y8_EOImpl_WLSkel.invoke(Unknown Source)
      2 frames
    5. weblogic.rmi.internal
      ServerRequest.sendReceive
      1. weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
      1 frame
    6. weblogic.rmi.cluster
      ReplicaAwareRemoteRef.invoke
      1. weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
      2. weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
      2 frames
    7. com.epfindia.cla
      ClaimFacadeSBBean_yk31y8_EOImpl_810_WLStub.approvePFClaimDetails
      1. com.epfindia.cla.ejb.session.ClaimFacadeSBBean_yk31y8_EOImpl_810_WLStub.approvePFClaimDetails(Unknown Source)
      1 frame
    8. com.epfindia.handlers
      ClaimsRequestHandler.processRequest
      1. com.epfindia.handlers.ClaimsRequestHandler.approvePFClaimDetails(ClaimsRequestHandler.java:10598)
      2. com.epfindia.handlers.ClaimsRequestHandler.processRequest(ClaimsRequestHandler.java:1499)
      2 frames