exception when commenting on build
Asked by Chris Wundram:

Has anyone seen an exception like the following when commenting on a build. We upgraded to 5.4, and I am getting this on one of my build plans. The others seem to be OK. The plan I am using has two stages, but so do others. I could clone it to a new plan, but then I would loose all of my build history and build numbers. Is there a way to fix this?

:bamboo:

org.springframework.orm.hibernate.HibernateSystemException: Found two representations of same collection: com.atlassian.bamboo.chains.ChainResultsSummaryImpl.stageResults; nested exception is net.sf.hibernate.HibernateException: Found two representations of same collection: com.atlassian.bamboo.chains.ChainResultsSummaryImpl.stageResults

Caused by: net.sf.hibernate.HibernateException: Found two representations of same collection: com.atlassian.bamboo.chains.ChainResultsSummaryImpl.stageResults

at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2904)

at net.sf.hibernate.impl.FlushVisitor.processCollection(FlushVisitor.java:32)

at net.sf.hibernate.impl.AbstractVisitor.processValue(AbstractVisitor.java:69)

at net.sf.hibernate.impl.AbstractVisitor.processValues(AbstractVisitor.java:36)

at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2622)

at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2488)

at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2283)

at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2262)

at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)

...

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)

at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)

at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)

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:724)


Answers:
author: Przemek Bruski
body: Is this on SQL Server?

comments: author: Chris Wundram
body: Yes, the database is on SQL 2008 R2. I used the JDBC driver that came with the bamboo install.


author: Przemek Bruski
body: Please open a support request at [support.atlassian.com](http://support.atlassian.com)and attache the server log file.


Tags: bamboo-administration