Letractively / wisematches

Automatically exported from code.google.com/p/wisematches
Other
0 stars 0 forks source link

w.t.TourneyManager - Board can't be finalized by internal error #332

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Date    Thread  Level   Logger  MDC Message
2013-04-15 
00:00:00,568    TournamentManager1  ERROR   wisematches.tourney.TourneyManager      Board 
can't be finalized by internal error: 2704
org.hibernate.NonUniqueObjectException: a different object with the same 
identifier value was already associated with the session: 
[wisematches.server.services.award.impl.HibernateAward#0] 
    at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:180) 
    at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:136) 
    at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:204) 
    at org.hibernate.event.internal.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:55) 
    at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:189) 
    at org.hibernate.event.internal.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:49) 
    at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90) 
    at org.hibernate.internal.SessionImpl.fireSave(SessionImpl.java:753) 
    at org.hibernate.internal.SessionImpl.save(SessionImpl.java:745) 
    at org.hibernate.internal.SessionImpl.save(SessionImpl.java:741) 
    at wisematches.server.services.award.impl.HibernateAwardsManager.grantAward(HibernateAwardsManager.java:68) 
    at wisematches.server.services.award.impl.assembly.AbstractJudicialAssembly.grantAward(AbstractJudicialAssembly.java:34) 
    at wisematches.server.services.award.impl.assembly.TourneyJudicialAssembly.processTourneyFinished(TourneyJudicialAssembly.java:41) 
    at wisematches.server.services.award.impl.assembly.TourneyJudicialAssembly$TheAwardsListener.tourneyFinished(TourneyJudicialAssembly.java:78) 
    at wisematches.playground.tourney.regular.impl.HibernateTourneyProcessor.finalizeDivisions(HibernateTourneyProcessor.java:140) 
    at wisematches.playground.tourney.regular.impl.HibernateTourneyManager$5.run(HibernateTourneyManager.java:314) 
    at wisematches.core.task.executor.TransactionAwareExecutor$1$1.doInTransactionWithoutResult(TransactionAwareExecutor.java:37) 
    at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) 
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) 
    at wisematches.core.task.executor.TransactionAwareExecutor$1.run(TransactionAwareExecutor.java:34) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
    at java.lang.Thread.run(Thread.java:722)

Original issue reported on code.google.com by smklimenko on 15 Apr 2013 at 4:26

GoogleCodeExporter commented 9 years ago

Original comment by smklimenko on 15 Apr 2013 at 4:26

GoogleCodeExporter commented 9 years ago

Original comment by smklimenko on 15 Apr 2013 at 4:29

GoogleCodeExporter commented 9 years ago

Original comment by smklimenko on 15 Apr 2013 at 12:22