Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-7178

Exception occurred inside getter of com.cenqua.crucible.model.FileRevisionExtraInfo.frxRevisions

    XMLWordPrintable

Details

    • Bug
    • Status: Gathering Impact (View Workflow)
    • Low
    • Resolution: Unresolved
    • 2.2.0, 4.6.1
    • None
    • Runtime platform
    • None

    Description

      Any of the attempts to:

      • remove a code review,
      • remove a project containing a code review,
      • display a code review

      may result with a 500 error page like:

      Your request was unable to be processed

      java.lang.RuntimeException - problem deleting review ABC-1

      Stack trace:

      [Message] Commit failed. Rolling back.
      org.hibernate.PropertyAccessException: Exception occurred inside getter of com.cenqua.crucible.model.FileRevisionExtraInfo.frxRevisions
      	at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:167) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.tuple.entity.AbstractEntityTuplizer.getPropertyValues(AbstractEntityTuplizer.java:609) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.tuple.entity.PojoEntityTuplizer.getPropertyValues(PojoEntityTuplizer.java:392) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.persister.entity.AbstractEntityPersister.getPropertyValues(AbstractEntityPersister.java:4530) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.event.internal.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:198) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.event.internal.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:157) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:230) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:100) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:55) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1159) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:404) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at com.cenqua.crucible.hibernate.SessionState.commit(SessionState.java:165) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.SessionState.commitAllTx(SessionState.java:118) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.HibernateUtil.commitAllTransactions(HibernateUtil.java:408) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.HibernateUtil.bounceTransaction(HibernateUtil.java:346) [fisheye.jar:?]
      	at com.cenqua.crucible.model.managers.impl.DefaultReviewManager.deleteReview(DefaultReviewManager.java:667) [fisheye.jar:?]
      	at com.cenqua.crucible.model.managers.impl.DefaultProjectManager.deleteAllReviews(DefaultProjectManager.java:465) [fisheye.jar:?]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_201]
      
      ...
      
      Caused by: org.hibernate.TransactionException: nested transactions not supported
      	at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:152) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1351) [hibernate-core-4.2.13.Final.jar:4.2.13.Final]
      	at com.cenqua.crucible.hibernate.SessionState.beginTx(SessionState.java:60) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.SessionState.ensureTx(SessionState.java:95) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.HibernateUtil.ensureTransaction(HibernateUtil.java:512) [fisheye.jar:?]
      	at com.cenqua.crucible.hibernate.HibernateUtil.repairList(HibernateUtil.java:635) [fisheye.jar:?]
      	at com.cenqua.crucible.model.FileRevisionExtraInfo.getFrxRevisions(FileRevisionExtraInfo.java:368) [fisheye.jar:?]
      	... 209 more
      [Emitter] SessionState
      

      Workaround

      Not available.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mparfianowicz Marek Parfianowicz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: