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

Kuali JIRA | Mike Riley | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 **

    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