java.lang.Exception: ** Delete object without active PersistenceBroker transaction **

Kuali JIRA | Mike Riley | 4 years ago
  1. 0

    This exception was reported by WSAMS on KITSKMS-890: "Just logging another exception when trying to route grandson that is referenced by son which is referenced by granddad. ERROR [org.springframework.jms.listener.DefaultMessageListenerContainer#2-1] (?:?) - No running PB-tx found. Please, only delete objects in context of a PB-transaction to avoid side-effects - e.g. when rollback of complex objects. java.lang.Exception: ** Delete object without active PersistenceBroker transaction ** at org.apache.ojb.broker.core.PersistenceBrokerImpl.delete(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.delete(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.delete(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.delete(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$10.doInPersistenceBroker(PersistenceBrokerTemplate.java:255) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.delete(PersistenceBrokerTemplate.java:253) at org.kuali.kits.kms.svn.dao.KmsSvnLockEntityDao.deleteEntry(KmsSvnLockEntityDao.java:144) at org.kuali.kits.kms.svn.service.SvnLockService.logUnlockFile(SvnLockService.java:79) at org.kuali.kits.kms.svn.jms.subscriber.SvnForceUnlockEmailSender.onMessage(SvnForceUnlockEmailSender.java:31) at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:343) at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:518) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:479) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876) at java.lang.Thread.run(Thread.java:662) Oct 11, 2012 4:18:14 PM org.kuali.kits.kms.svn.jms.task.SvnUnlockTask run INFO: Running unlock task Oct 11, 2012 4:18:14 PM org.kuali.kits.kms.svn.service.SvnLockService logUnlockFile INFO: null

    Kuali JIRA | 4 years ago | Mike Riley
    java.lang.Exception: ** Delete object without active PersistenceBroker transaction **
  2. 0

    This exception was reported by WSAMS on KITSKMS-890: "Just logging another exception when trying to route grandson that is referenced by son which is referenced by granddad. ERROR [org.springframework.jms.listener.DefaultMessageListenerContainer#2-1] (?:?) - No running PB-tx found. Please, only delete objects in context of a PB-transaction to avoid side-effects - e.g. when rollback of complex objects. java.lang.Exception: ** Delete object without active PersistenceBroker transaction ** at org.apache.ojb.broker.core.PersistenceBrokerImpl.delete(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.delete(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.delete(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.delete(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$10.doInPersistenceBroker(PersistenceBrokerTemplate.java:255) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.delete(PersistenceBrokerTemplate.java:253) at org.kuali.kits.kms.svn.dao.KmsSvnLockEntityDao.deleteEntry(KmsSvnLockEntityDao.java:144) at org.kuali.kits.kms.svn.service.SvnLockService.logUnlockFile(SvnLockService.java:79) at org.kuali.kits.kms.svn.jms.subscriber.SvnForceUnlockEmailSender.onMessage(SvnForceUnlockEmailSender.java:31) at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:343) at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:518) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:479) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876) at java.lang.Thread.run(Thread.java:662) Oct 11, 2012 4:18:14 PM org.kuali.kits.kms.svn.jms.task.SvnUnlockTask run INFO: Running unlock task Oct 11, 2012 4:18:14 PM org.kuali.kits.kms.svn.service.SvnLockService logUnlockFile INFO: null

    Kuali JIRA | 4 years ago | Mike Riley
    java.lang.Exception: ** Delete object without active PersistenceBroker transaction **
  3. 0

    ReadOnlyBean: Transaction is not active in the current thread glassfish-v3-b70-10_28_2009.zip I observed 7 tests failures on glassfish-v3-b70-10_28_2009.zip The same test suite had 11 failures on glassfish-v3-b70-10_27_2009.zip The same test suite passed on v3 b69 promoted. To reproduce the issue: do "ant all" in appserver-sqe/pe/ejb/cmp/rob Client Output on glassfish-v3-b70-10_28_2009.zip runclient-common: [echo] Executing appclient at /space/test1/SRC/c10/appserver-sqe/pe/ejb/cmp/rob [echo] Oct 28, 2009 9:50:18 AM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates [echo] INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate [echo] WS HOME appserver-sqe [echo] The image file name is :image.JPG [echo] Executing test rob_blob_NotSupported [echo] Executing test rob_transaction_NotSupported [echo] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: [echo] java.rmi.RemoteException: java.lang.IllegalStateException: Transaction is not active in the current thread.; nested exception is: [echo] java.lang.Exception: java.lang.IllegalStateException: Transaction is not active in the current thread. [echo] at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:242) [echo] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:197) [echo] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:144) [echo] at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:225) [echo] at s1peqe.ejb.cmp.rob.ejb.session._RobSessionRemote_DynamicStub.rob_transaction_NotSupported(s1peqe/ejb/cmp/rob/ejb/session/_RobSessionRemote_DynamicStub.java) [echo] at s1peqe.ejb.cmp.rob.client.StockTestClient.test_timebased_NotSupported(StockTestClient.java:168) [echo] at s1peqe.ejb.cmp.rob.client.StockTestClient.main(StockTestClient.java:545) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [echo] at java.lang.reflect.Method.invoke(Method.java:597) [echo] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:424) [echo] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:148) [echo] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64) [echo] Caused by: java.rmi.RemoteException: java.lang.IllegalStateException: Transaction is not active in the current thread.; nested exception is: [echo] java.lang.Exception: java.lang.IllegalStateException: Transaction is not active in the current thread. [echo] at com.sun.ejb.containers.InvocationHandlerUtil.throwRemoteException(InvocationHandlerUtil.java:131) [echo] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:212) [echo] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:118) [echo] at $Proxy105.rob_transaction_NotSupported(Unknown Source) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [echo] at java.lang.reflect.Method.invoke(Method.java:597) [echo] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:157) [echo] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:682) [echo] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:216) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1831) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1685) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1068) [echo] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:221) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:787) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:551) [echo] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2548) [echo] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:492) [echo] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:527) [echo] Caused by: java.lang.Exception: java.lang.IllegalStateException: Transaction is not active in the current thread. [echo] at s1peqe.ejb.cmp.rob.ejb.session.RobSessionBean.rob_transaction_NotSupported(RobSessionBean.java:439) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [echo] at java.lang.reflect.Method.invoke(Method.java:597) [echo] at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1046) [echo] at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1118) [echo] at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5201) [echo] at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:610) [echo] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797) [echo] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:562) [echo] at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:157) [echo] at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:139) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [echo] at java.lang.reflect.Method.invoke(Method.java:597) [echo] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:858) [echo] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797) [echo] at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:367) [echo] at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5173) [echo] at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5161) [echo] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:201) [echo] ... 18 more [echo] Executing test rob_transaction_Never [echo] Executing test rob_transaction_RequiresNew [echo] Executing test rob_transaction_Required [echo] Executing test rob_transaction_Mandatory [echo] Executing test rob_transaction_SupportsWithTx [echo] Executing test rob_transaction_SupportsWithoutTx [echo] Executing test rob_unknownpk_NotSupported [echo] Executing test rob_unknownpk_Never [echo] Executing test rob_unknownpk_RequiresNew [echo] Executing test rob_unknownpk_Required [echo] Executing test rob_unknownpk_Mandatory [echo] Executing test rob_unknownpk_SupportsWithTx [echo] Executing test rob_unknownpk_SupportsWithoutTx [echo] Generating report at /space/test1/SRC/c10/appserver-sqe/test_results.xml [echo] [echo] [echo] ----------------------------------------- [echo] - ReadOnly-Stock-TimeBased-Refresh-Mandatory: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-SupportsWithTx: PASS - [echo] - ReadOnly-BLOB-Adddata: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-unknownpk-Required: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-ckey-NotSupported: FAIL - [echo] - ReadOnly-Stock-TimeBased-Refresh-unknownpk-SupportsWithTx: PASS - [echo] - ReadOnly-Init: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-Required: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-unknownpk-RequiresNew: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-unknownpk-NotSupported: FAIL - [echo] - ReadOnly-Stock-Negative-Remove: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-unknownpk-Mandatory: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-unknownpk-SupportsWithoutTx: FAIL - [echo] - ReadOnly-Stock-TimeBased-Refresh-Never: FAIL - [echo] - ReadOnly-Stock-TimeBased-Refresh-NotSupported: FAIL - [echo] - ReadOnly-Stock-TimeBased-Refresh-RequiresNew: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-unknownpk-Never: FAIL - [echo] - ReadOnly-Stock-Negative-Create: PASS - [echo] - ReadOnly-Stock-Negative-Setter: PASS - [echo] - ReadOnly-Stock-TimeBased-Refresh-SupportsWithoutTx: FAIL - [echo] ----------------------------------------- [echo] Total PASS: 13 [echo] Total FAIL: 7 [echo] Total DNR: 0 [echo] -----------------------------------------

    Java.net JIRA | 7 years ago | sherryshen
    java.lang.Exception: java.lang.IllegalStateException: Transaction is not active in the current thread. [echo] at s1peqe.ejb.cmp.rob.ejb.session.RobSessionBean.rob_transaction_NotSupported(RobSessionBean.java:439) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [GLASSFISH-10631] ReadOnlyBean: Transaction is not active in the current thread - Java.net JIRA

    java.net | 1 year ago
    java.lang.Exception: java.lang.IllegalStateException: Transaction is not active in the current thread. at com.sun.ejb.containers.InvocationHandlerUtil.throwRemoteException(InvocationHandlerUtil.java:131) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:212) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:118)
  6. 0

    How to resolve the error “java.lang.Exception: TestCase [CustomerServiceTestCase] failed without assertions” in SOAPUI

    Stack Overflow | 9 months ago | Sai
    java.lang.Exception: TestCase [CustomerServiceTestCase] failed without assertions

    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. java.lang.Exception

      ** Delete object without active PersistenceBroker transaction **

      at org.apache.ojb.broker.core.PersistenceBrokerImpl.delete()
    2. ObJectRelationalBridge
      DelegatingPersistenceBroker.delete
      1. org.apache.ojb.broker.core.PersistenceBrokerImpl.delete(Unknown Source)
      2. org.apache.ojb.broker.core.PersistenceBrokerImpl.delete(Unknown Source)
      3. org.apache.ojb.broker.core.DelegatingPersistenceBroker.delete(Unknown Source)
      4. org.apache.ojb.broker.core.DelegatingPersistenceBroker.delete(Unknown Source)
      4 frames
    3. org.springmodules.orm
      PersistenceBrokerTemplate.delete
      1. org.springmodules.orm.ojb.PersistenceBrokerTemplate$10.doInPersistenceBroker(PersistenceBrokerTemplate.java:255)
      2. org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141)
      3. org.springmodules.orm.ojb.PersistenceBrokerTemplate.delete(PersistenceBrokerTemplate.java:253)
      3 frames
    4. org.kuali.kits
      SvnForceUnlockEmailSender.onMessage
      1. org.kuali.kits.kms.svn.dao.KmsSvnLockEntityDao.deleteEntry(KmsSvnLockEntityDao.java:144)
      2. org.kuali.kits.kms.svn.service.SvnLockService.logUnlockFile(SvnLockService.java:79)
      3. org.kuali.kits.kms.svn.jms.subscriber.SvnForceUnlockEmailSender.onMessage(SvnForceUnlockEmailSender.java:31)
      3 frames
    5. Spring Framework
      DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
      1. org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:343)
      2. org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:518)
      3. org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:479)
      4. org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)
      5. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
      6. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
      7. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
      8. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)
      9. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
      9 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame