net.sf.hibernate.HibernateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The following code produces the exception. There are two classes Parent and Child with a bidirectional one-to-many relationship with all-delete-orphan. Id do an saveOrUpdate and use an Interceptor to force an insert to clone the persistent graph in the database. In another test I setted the id explicit to null and got the same exception. I looked through the Hibernate code: my suggestions is, that the bug is related to the fact, that the java-collections are replaced by Hibernate-collections and that the check that yield to that exception is not correct in this case ? Hope this will help! ---------------------------------------------------------------- public static void main(String[] args) throws Exception { try { Configuration cfg = new Configuration(); cfg.configure(); SessionFactory factory = cfg.buildSessionFactory(); Parent p = new Parent(); Child c1 = new Child(); Child c2 = new Child(); p.setChilds(new HashSet(Arrays.asList(new Child[] { c1, c2 }))); // normal insert: ok! Session s1 = factory.openSession(); Transaction tx1 = s1.beginTransaction(); s1.saveOrUpdate(p); tx1.commit(); s1.close(); // persistent clone: exception! Session s2 = factory.openSession(new EmptyInterceptor() { public Boolean isUnsaved(Object entity) { return Boolean.TRUE; } }); Transaction tx2 = s2.beginTransaction(); s2.saveOrUpdate(p); tx2.commit(); s2.close(); } catch (HibernateException ex) { ex.printStackTrace(); } } The Trace is: 6:16:44,745 INFO Environment:462 - Hibernate 2.1.4 16:16:44,755 INFO Environment:491 - hibernate.properties not found 16:16:44,755 INFO Environment:522 - using CGLIB reflection optimizer 16:16:44,765 INFO Configuration:872 - configuring from resource: /hibernate.cfg.xml 16:16:44,765 INFO Configuration:844 - Configuration resource: /hibernate.cfg.xml 16:16:45,145 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/common/BuendelDTO.hbm.xml 16:16:45,286 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.common.BuendelDTO -> BUENDEL 16:16:45,426 INFO Binder:169 - Mapping subclass: de.vkb.bskg.dto.common.VorsorgeBuendelDTO -> BUENDEL 16:16:45,436 INFO Binder:169 - Mapping subclass: de.vkb.bskg.dto.buendel.FamilienBuendelDTO -> BUENDEL 16:16:45,436 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/kranken/KrankenPoliceDTO.hbm.xml 16:16:45,466 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.kranken.KrankenPoliceDTO -> KrankenPoliceDTO 16:16:45,486 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/kranken/KrankenVersicherterDTO.hbm.xml 16:16:45,546 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.kranken.KrankenVersicherterDTO -> KrankenVersicherterDTO 16:16:45,546 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/leben/LebenPoliceDTO.hbm.xml 16:16:45,586 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.leben.LebenPoliceDTO -> LebenPoliceDTO 16:16:45,596 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/leben/LebenVersicherterBerufDTO.hbm.xml 16:16:45,626 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.leben.LebenVersicherterBerufDTO -> LebenVersicherterBerufDTO 16:16:45,636 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/leben/LebenVersicherterDTO.hbm.xml 16:16:45,666 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.leben.LebenVersicherterDTO -> LebenVersicherterDTO 16:16:45,666 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/person/PersonDTO.hbm.xml 16:16:45,686 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.person.PersonDTO -> PersonDTO 16:16:45,686 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/unfall/UnfallPoliceDTO.hbm.xml 16:16:45,706 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.unfall.UnfallPoliceDTO -> UnfallPoliceDTO 16:16:45,716 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/unfall/UnfallVersicherterDTO.hbm.xml 16:16:45,736 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.unfall.UnfallVersicherterDTO -> UnfallVersicherterDTO 16:16:45,736 INFO Configuration:328 - Mapping resource: test/Parent.hbm.xml 16:16:45,756 INFO Binder:229 - Mapping class: test.Parent -> Parent 16:16:45,756 INFO Configuration:328 - Mapping resource: test/Child.hbm.xml 16:16:45,766 INFO Binder:229 - Mapping class: test.Child -> Child 16:16:45,766 INFO Configuration:1030 - Configured SessionFactory: null 16:16:45,766 INFO Configuration:613 - processing one-to-many association mappings 16:16:45,766 INFO Binder:1168 - Mapping collection: de.vkb.bskg.dto.common.BuendelDTO.personen -> PersonDTO 16:16:45,766 INFO Binder:1168 - Mapping collection: de.vkb.bskg.dto.kranken.KrankenPoliceDTO.versicherte -> KrankenVersicherterDTO 16:16:45,766 INFO Binder:1168 - Mapping collection: de.vkb.bskg.dto.unfall.UnfallPoliceDTO.versicherte -> UnfallVersicherterDTO 16:16:45,766 INFO Binder:1168 - Mapping collection: test.Parent.childs -> Child 16:16:45,776 INFO Configuration:622 - processing one-to-one association property references 16:16:45,776 INFO Configuration:647 - processing foreign key constraints 16:16:45,796 INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.DB2Dialect 16:16:45,796 INFO SettingsFactory:62 - Use outer join fetching: true 16:16:45,806 INFO DriverManagerConnectionProvider:42 - Using Hibernate built-in connection pool (not for production use!) 16:16:45,806 INFO DriverManagerConnectionProvider:43 - Hibernate connection pool size: 20 16:16:45,806 INFO DriverManagerConnectionProvider:77 - using driver: COM.ibm.db2.jdbc.net.DB2Driver at URL: jdbc:db2://localhost:6789/BSKG_TES 16:16:45,806 INFO DriverManagerConnectionProvider:78 - connection properties: {user=db2vips, password=db2vips} 16:16:45,816 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) 16:16:46,658 INFO SettingsFactory:102 - Use scrollable result sets: false 16:16:46,658 INFO SettingsFactory:105 - Use JDBC3 getGeneratedKeys(): false 16:16:46,658 INFO SettingsFactory:108 - Optimize cache for minimal puts: false 16:16:46,658 INFO SettingsFactory:114 - echoing all SQL to stdout 16:16:46,658 INFO SettingsFactory:117 - Query language substitutions: {} 16:16:46,658 INFO SettingsFactory:128 - cache provider: net.sf.ehcache.hibernate.Provider 16:16:46,658 INFO Configuration:1093 - instantiating and configuring caches 16:16:46,768 INFO SessionFactoryImpl:119 - building session factory 16:16:47,369 INFO SessionFactoryObjectFactory:82 - no JNDI name configured Hibernate: insert into Parent (id) values (default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Child (parent, id) values (?, default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Child (parent, id) values (?, default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Parent (id) values (default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Child (parent, id) values (?, default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Child (parent, id) values (?, default) Hibernate: values IDENTITY_VAL_LOCAL() net.sf.hibernate.HibernateException: You may not change the reference to a collection with cascade="all-delete-orphan" at net.sf.hibernate.impl.SessionImpl.prepareCollectionForUpdate(SessionImpl.java:2949) at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2886) 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:2588) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2454) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2256) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2235) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at test.TestParent.main(TestParent.java:108) My mapping files are: <hibernate-mapping> <class name="test.Parent" dynamic-update="false" dynamic-insert="false" > <id name="id" column="id" type="java.lang.Long" unsaved-value="null" > <generator class="native"> </generator> </id> <set name="childs" lazy="false" inverse="true" cascade="all-delete-orphan" sort="unsorted" > <key column="parent" /> <one-to-many class="test.Child" /> </set> <!-- To add non XDoclet property mappings, create a file named hibernate-properties-Parent.xml containing the additional properties and place it in your merge dir. --> </class> </hibernate-mapping> <hibernate-mapping> <class name="test.Child" dynamic-update="false" dynamic-insert="false" > <id name="id" column="id" type="java.lang.Long" unsaved-value="null" > <generator class="native"> </generator> </id> <many-to-one name="parent" class="test.Parent" cascade="none" outer-join="auto" update="true" insert="true" column="parent" not-null="true" /> </class> </hibernate-mapping> And the DTOs: public class Parent { private Long id; private Set childs = new HashSet(); public Long getId() { return id; } public void setId(Long long1) { id = long1; } public Set getChilds() { return childs; } public void setChilds(Set set) { childs = set; for (Iterator iter = childs.iterator(); iter.hasNext();) { Child child = (Child) iter.next(); child.setParent(this); } } } public class Child { private Long id; private Parent parent; public Long getId() { return id; } public void setId(Long long1) { id = long1; } public Parent getParent() { return parent; } public void setParent(Parent parent) { this.parent = parent; } }
    via by Martin Hackmann,
  • The following code produces the exception. There are two classes Parent and Child with a bidirectional one-to-many relationship with all-delete-orphan. Id do an saveOrUpdate and use an Interceptor to force an insert to clone the persistent graph in the database. In another test I setted the id explicit to null and got the same exception. I looked through the Hibernate code: my suggestions is, that the bug is related to the fact, that the java-collections are replaced by Hibernate-collections and that the check that yield to that exception is not correct in this case ? Hope this will help! ---------------------------------------------------------------- public static void main(String[] args) throws Exception { try { Configuration cfg = new Configuration(); cfg.configure(); SessionFactory factory = cfg.buildSessionFactory(); Parent p = new Parent(); Child c1 = new Child(); Child c2 = new Child(); p.setChilds(new HashSet(Arrays.asList(new Child[] { c1, c2 }))); // normal insert: ok! Session s1 = factory.openSession(); Transaction tx1 = s1.beginTransaction(); s1.saveOrUpdate(p); tx1.commit(); s1.close(); // persistent clone: exception! Session s2 = factory.openSession(new EmptyInterceptor() { public Boolean isUnsaved(Object entity) { return Boolean.TRUE; } }); Transaction tx2 = s2.beginTransaction(); s2.saveOrUpdate(p); tx2.commit(); s2.close(); } catch (HibernateException ex) { ex.printStackTrace(); } } The Trace is: 6:16:44,745 INFO Environment:462 - Hibernate 2.1.4 16:16:44,755 INFO Environment:491 - hibernate.properties not found 16:16:44,755 INFO Environment:522 - using CGLIB reflection optimizer 16:16:44,765 INFO Configuration:872 - configuring from resource: /hibernate.cfg.xml 16:16:44,765 INFO Configuration:844 - Configuration resource: /hibernate.cfg.xml 16:16:45,145 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/common/BuendelDTO.hbm.xml 16:16:45,286 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.common.BuendelDTO -> BUENDEL 16:16:45,426 INFO Binder:169 - Mapping subclass: de.vkb.bskg.dto.common.VorsorgeBuendelDTO -> BUENDEL 16:16:45,436 INFO Binder:169 - Mapping subclass: de.vkb.bskg.dto.buendel.FamilienBuendelDTO -> BUENDEL 16:16:45,436 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/kranken/KrankenPoliceDTO.hbm.xml 16:16:45,466 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.kranken.KrankenPoliceDTO -> KrankenPoliceDTO 16:16:45,486 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/kranken/KrankenVersicherterDTO.hbm.xml 16:16:45,546 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.kranken.KrankenVersicherterDTO -> KrankenVersicherterDTO 16:16:45,546 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/leben/LebenPoliceDTO.hbm.xml 16:16:45,586 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.leben.LebenPoliceDTO -> LebenPoliceDTO 16:16:45,596 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/leben/LebenVersicherterBerufDTO.hbm.xml 16:16:45,626 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.leben.LebenVersicherterBerufDTO -> LebenVersicherterBerufDTO 16:16:45,636 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/leben/LebenVersicherterDTO.hbm.xml 16:16:45,666 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.leben.LebenVersicherterDTO -> LebenVersicherterDTO 16:16:45,666 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/person/PersonDTO.hbm.xml 16:16:45,686 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.person.PersonDTO -> PersonDTO 16:16:45,686 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/unfall/UnfallPoliceDTO.hbm.xml 16:16:45,706 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.unfall.UnfallPoliceDTO -> UnfallPoliceDTO 16:16:45,716 INFO Configuration:328 - Mapping resource: de/vkb/bskg/dto/unfall/UnfallVersicherterDTO.hbm.xml 16:16:45,736 INFO Binder:229 - Mapping class: de.vkb.bskg.dto.unfall.UnfallVersicherterDTO -> UnfallVersicherterDTO 16:16:45,736 INFO Configuration:328 - Mapping resource: test/Parent.hbm.xml 16:16:45,756 INFO Binder:229 - Mapping class: test.Parent -> Parent 16:16:45,756 INFO Configuration:328 - Mapping resource: test/Child.hbm.xml 16:16:45,766 INFO Binder:229 - Mapping class: test.Child -> Child 16:16:45,766 INFO Configuration:1030 - Configured SessionFactory: null 16:16:45,766 INFO Configuration:613 - processing one-to-many association mappings 16:16:45,766 INFO Binder:1168 - Mapping collection: de.vkb.bskg.dto.common.BuendelDTO.personen -> PersonDTO 16:16:45,766 INFO Binder:1168 - Mapping collection: de.vkb.bskg.dto.kranken.KrankenPoliceDTO.versicherte -> KrankenVersicherterDTO 16:16:45,766 INFO Binder:1168 - Mapping collection: de.vkb.bskg.dto.unfall.UnfallPoliceDTO.versicherte -> UnfallVersicherterDTO 16:16:45,766 INFO Binder:1168 - Mapping collection: test.Parent.childs -> Child 16:16:45,776 INFO Configuration:622 - processing one-to-one association property references 16:16:45,776 INFO Configuration:647 - processing foreign key constraints 16:16:45,796 INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.DB2Dialect 16:16:45,796 INFO SettingsFactory:62 - Use outer join fetching: true 16:16:45,806 INFO DriverManagerConnectionProvider:42 - Using Hibernate built-in connection pool (not for production use!) 16:16:45,806 INFO DriverManagerConnectionProvider:43 - Hibernate connection pool size: 20 16:16:45,806 INFO DriverManagerConnectionProvider:77 - using driver: COM.ibm.db2.jdbc.net.DB2Driver at URL: jdbc:db2://localhost:6789/BSKG_TES 16:16:45,806 INFO DriverManagerConnectionProvider:78 - connection properties: {user=db2vips, password=db2vips} 16:16:45,816 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) 16:16:46,658 INFO SettingsFactory:102 - Use scrollable result sets: false 16:16:46,658 INFO SettingsFactory:105 - Use JDBC3 getGeneratedKeys(): false 16:16:46,658 INFO SettingsFactory:108 - Optimize cache for minimal puts: false 16:16:46,658 INFO SettingsFactory:114 - echoing all SQL to stdout 16:16:46,658 INFO SettingsFactory:117 - Query language substitutions: {} 16:16:46,658 INFO SettingsFactory:128 - cache provider: net.sf.ehcache.hibernate.Provider 16:16:46,658 INFO Configuration:1093 - instantiating and configuring caches 16:16:46,768 INFO SessionFactoryImpl:119 - building session factory 16:16:47,369 INFO SessionFactoryObjectFactory:82 - no JNDI name configured Hibernate: insert into Parent (id) values (default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Child (parent, id) values (?, default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Child (parent, id) values (?, default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Parent (id) values (default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Child (parent, id) values (?, default) Hibernate: values IDENTITY_VAL_LOCAL() Hibernate: insert into Child (parent, id) values (?, default) Hibernate: values IDENTITY_VAL_LOCAL() net.sf.hibernate.HibernateException: You may not change the reference to a collection with cascade="all-delete-orphan" at net.sf.hibernate.impl.SessionImpl.prepareCollectionForUpdate(SessionImpl.java:2949) at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2886) 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:2588) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2454) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2256) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2235) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at test.TestParent.main(TestParent.java:108) My mapping files are: <hibernate-mapping> <class name="test.Parent" dynamic-update="false" dynamic-insert="false" > <id name="id" column="id" type="java.lang.Long" unsaved-value="null" > <generator class="native"> </generator> </id> <set name="childs" lazy="false" inverse="true" cascade="all-delete-orphan" sort="unsorted" > <key column="parent" /> <one-to-many class="test.Child" /> </set> <!-- To add non XDoclet property mappings, create a file named hibernate-properties-Parent.xml containing the additional properties and place it in your merge dir. --> </class> </hibernate-mapping> <hibernate-mapping> <class name="test.Child" dynamic-update="false" dynamic-insert="false" > <id name="id" column="id" type="java.lang.Long" unsaved-value="null" > <generator class="native"> </generator> </id> <many-to-one name="parent" class="test.Parent" cascade="none" outer-join="auto" update="true" insert="true" column="parent" not-null="true" /> </class> </hibernate-mapping> And the DTOs: public class Parent { private Long id; private Set childs = new HashSet(); public Long getId() { return id; } public void setId(Long long1) { id = long1; } public Set getChilds() { return childs; } public void setChilds(Set set) { childs = set; for (Iterator iter = childs.iterator(); iter.hasNext();) { Child child = (Child) iter.next(); child.setParent(this); } } } public class Child { private Long id; private Parent parent; public Long getId() { return id; } public void setId(Long long1) { id = long1; } public Parent getParent() { return parent; } public void setParent(Parent parent) { this.parent = parent; } }
    via by Martin Hackmann,
  • I'm not sure if this is MySQL related or not, it occurs on the OpenSymphony Confluence instance trying to remove pages. org.springframework.orm.hibernate.HibernateSystemException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations); nested exception is: net.sf.hibernate.HibernateException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations) net.sf.hibernate.HibernateException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2174) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:711) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1319) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascadeCollection(Cascades.java:526) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:452) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2583) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2190) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2179) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:309) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:218) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:196) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:135) at $Proxy83.removeContentEntity(Unknown Source) at com.atlassian.confluence.pages.actions.RemovePageAction.doRemove(RemovePageAction.java:45)
    via by Mike Cannon-Brookes,
  • trying to remove this page http://confluence.atlassian.com/display/DISC/testing%2Bsearch produces this error : Cause: org.springframework.orm.hibernate.HibernateSystemException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations); nested exception is: net.sf.hibernate.HibernateException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations) Stack Trace: [hide] org.springframework.orm.hibernate.HibernateSystemException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations); nested exception is: net.sf.hibernate.HibernateException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations) net.sf.hibernate.HibernateException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2174) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:711) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1319) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascadeCollection(Cascades.java:526) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:452) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2583) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2190) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2179) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:309) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:218) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:196) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:135) at $Proxy97.removeContentEntity(Unknown Source) at com.atlassian.confluence.pages.actions.RemovePageAction.doRemove(RemovePageAction.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:309) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:175) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:58) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:32) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:18) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:182) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:36) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:83) at com.atlassian.confluence.setup.SpringSessionInViewFilter.doFilterInternal(SpringSessionInViewFilter.java:32) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:39) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534) Referer URL: http://confluence.atlassian.com/pages/removepage.action?spaceKey=DISC&title=testing+search System Information: System Date: Wednesday, 28 Jan 2004
    via by Zohar Melamed,
  • I get this exception when trying to edit my personal description: org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection; nested exception is: net.sf.hibernate.HibernateException: Found shared references to a collection net.sf.hibernate.HibernateException: Found shared references to a collection at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2785) at net.sf.hibernate.impl.FlushVisitor.processCollection(FlushVisitor.java:63) at net.sf.hibernate.impl.AbstractVisitor.processValue(AbstractVisitor.java:137) at net.sf.hibernate.impl.AbstractVisitor.processValues(AbstractVisitor.java:71) at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2500) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2366) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2200) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2179) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:309) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:218) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:196) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:135) at $Proxy6.savePersonalInformation(Unknown Source) at com.atlassian.confluence.user.actions.EditMyProfileAction.updatePersonalInformation(EditMyProfileAction.java:113) at com.atlassian.confluence.user.actions.EditMyProfileAction.doEdit(EditMyProfileAction.java:70)
    via by Mike Cannon-Brookes,
  • Cause: org.springframework.orm.hibernate.HibernateSystemException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations); nested exception is: net.sf.hibernate.HibernateException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations) Stack Trace: [hide] org.springframework.orm.hibernate.HibernateSystemException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations); nested exception is: net.sf.hibernate.HibernateException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations) net.sf.hibernate.HibernateException: Flush during cascade is dangerous - this might occur if an object was deleted and then re-saved by cascade (remove deleted object from associations) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2174) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:711) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1319) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascadeCollection(Cascades.java:526) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:452) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2583) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2190) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2179) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:309) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:218) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:196) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:135) at $Proxy13.removeContentEntity(Unknown Source) at com.atlassian.confluence.pages.AbstractPage.remove(AbstractPage.java:119) at com.atlassian.confluence.pages.Page.remove(Page.java:145) at com.atlassian.confluence.pages.actions.RemovePageAction.doRemove(RemovePageAction.java:21) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:309) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:175) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:58) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:32) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:18) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:182) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:36) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:83) at com.atlassian.confluence.setup.SpringSessionInViewFilter.doFilterInternal(SpringSessionInViewFilter.java:32) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534)
    via by Dave Loeng [Atlassian],
  • I have some data model that I want to save into Database. Some classes have references to each other and lists. One of this class represents tree likes structure and implement <i>Lifecycle</i>. Then I try to save my model I see nexk error: <code> net.sf.hibernate.HibernateException: reassociated object has dirty collection reference at net.sf.hibernate.impl.OnLockVisitor.processCollection(OnLockVisitor.java:68) 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.AbstractVisitor.process(AbstractVisitor.java:93) at net.sf.hibernate.impl.SessionImpl.reassociate(SessionImpl.java:1689) at net.sf.hibernate.impl.SessionImpl.doUpdateMutable(SessionImpl.java:1449) at net.sf.hibernate.impl.SessionImpl.doUpdate(SessionImpl.java:1470) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1393) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2673) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2250) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2239) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at com.luxoft.rad.vsp.jdo.DatabaseManager.saveObject(DatabaseManager.java:201) at com.luxoft.rad.vsp.jdo.AppTest.saveTest2(AppTest.java:70) at com.luxoft.rad.vsp.jdo.AppTest.<init>(AppTest.java:26) at com.luxoft.rad.vsp.jdo.AppTest.main(AppTest.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.intellij.rt.execution.application.AppMain.main(Unknown Source) </code> ======================================= Where are part of my object model: public class FramedObject extends BaseExperimentObject implements Framed, Childable { private Frame frame; private FramedObject() { this("", null); } public FramedObject(String id, Frame frame) { super(id); setFrame(frame); } public Frame getFrame() { return frame; } public void setFrame(Frame frame) { this.frame = frame; if (frame != null && frame.getUserObject() != this) { frame.setUserObject(this); } } } ------- public class BaseExperimentObject extends DefaultIdentifiable implements ExperimentObject {...} -------- public class DefaultIdentifiable extends DefaultDBIdentifiable implements Identifiable, Serializable, Cloneable { private String id; private String descriptin = ""; ... } -------- public class DefaultDBIdentifiable implements DBIdentifiable { private String key; ... } -------- public interface DBIdentifiable { public void setKey(String key); public String getKey(); } -------- public interface Frame extends Serializable, Cloneable, DBIdentifiable { Frame getParent(); void setParent(Frame parent); } --------- public class DefaultFrameImpl extends DefaultDBIdentifiable implements Frame, Lifecycle { private Frame parent; private List children = new ArrayList(0); private Transform3D transform; //variables for scaringa private Tuple positionVector = new Tuple(); private Tuple rotationVector = new Tuple(); private Tuple scaleVector = new Tuple(); private double rotationAngle; public DefaultFrameImpl() { this(null, null); } public DefaultFrameImpl(Matrix4d m) { this(null, m); } public DefaultFrameImpl(Frame parent) { this(parent, null); } public DefaultFrameImpl(Frame parent, Matrix4d m) { setParent(parent); transform = (m != null)? new Transform3D(m): new Transform3D(); } public Frame getParent() { return parent; } public void setParent(final Frame parent){ this.parent = parent; } public List getChildren() { return children; } ... public Object skaReadResolve() { ... (Changes local variables) } /** * This method calls with skaringa before serialization of Frame * * @return */ public Object skaWriteReplace() { ... (Changes local variables) } public boolean onSave(Session session) throws CallbackException { skaWriteReplace(); return true; } public boolean onUpdate(Session session) throws CallbackException { skaWriteReplace(); return true; } public boolean onDelete(Session session) throws CallbackException { skaWriteReplace(); return true; } public void onLoad(Session session, Serializable serializable) { skaReadResolve(); } } ------- My main test programm: DefaultFrameImpl o1 = new DefaultFrameImpl(); FramedObject o = new FramedObject("sdf", o1); session.saveOrUpdate(o); If I remove <i>Lifecycle</i> interface from <i>DefaultFrameImpl</i> class declaration. It's work, but I need this interface to correct saving. ==================== Where are full trace of Hibernate work: C:/Software/j2sdk1.4.2_04\bin\java -Dfile.encoding=windows-1251 -classpath C:\Software\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jce.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\Software\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\Software\j2sdk1.4.2_04\jre\lib\rt.jar;C:\Software\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\dnsns.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3daudio.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3dcore.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3dutils.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\ldapsec.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\localedata.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\sunjce_provider.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\vecmath.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\DatabaseManager\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-event-api-1.0.4-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-store-1.0-dev-20040206.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xalan-2.4.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jide-common.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\log4j-1.2.8.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-component-20040122.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\mysql-connector-java-3.1.3-beta-bin.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-pool-1.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\logkit-1.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\skaringa-r3p0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jess.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\odmg-3.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\ehcache-0.7.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\vecmath.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jdbc2_0-stdext.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-i18n-1.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\dom4j-1.4.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-logger-1.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jade.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\hibernate2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\avalon-framework-4.2.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xerces-2.4.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-manager-interfaces-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-sourceresolve-1.0.2-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jta.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-xmlutil-1.0-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-lang-1.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-collections-3.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\Base64.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jadeTools.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-event-impl-1.0.4-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-digester.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\alloy.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xml-apis.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-beanutils.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-monitor-1.0.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-logging.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jide-grids.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-naming-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\cglib-full-2.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-io-1.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-manager-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\ModelCore\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\SystemCore\build\classes;C:\Software\junit3.8.1\junit.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\TempSelection\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\GeometrySubsystem\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\SensorModelCore\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\Serializer\build\classes;C:\Software\IntelliJ-IDEA-4.0.3\lib\idea_rt.jar -Didea.launcher.port=7582 -Didea.launcher.library=C:\Software\IntelliJ-IDEA-4.0.3\bin\breakgen.dll com.intellij.rt.execution.application.AppMain com.luxoft.rad.vsp.jdo.AppTest 11:41:41,363 INFO Environment:469 - Hibernate 2.1.5 11:41:41,373 INFO Environment:498 - hibernate.properties not found 11:41:41,383 INFO Environment:529 - using CGLIB reflection optimizer 11:41:41,383 INFO Configuration:910 - configuring from url: file:/C:/Prj/VSM/Development_VSM/Development/SecuraVista/modules/DatabaseManager/build/classes/com/luxoft/rad/vsp/jdo/hibernate.cfg.xml 11:41:41,793 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd in classpath under net/sf/hibernate/ 11:41:41,803 DEBUG DTDEntityResolver:29 - found http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd in classpath 11:41:41,853 DEBUG Configuration:853 - connection.driver_class=com.mysql.jdbc.Driver 11:41:41,853 DEBUG Configuration:853 - connection.url=jdbc:mysql://localhost:3306/securavista 11:41:41,853 DEBUG Configuration:853 - connection.username=root 11:41:41,853 DEBUG Configuration:853 - connection.password= 11:41:41,853 DEBUG Configuration:853 - dialect=net.sf.hibernate.dialect.MySQLDialect 11:41:41,853 DEBUG Configuration:853 - show_sql=false 11:41:41,853 DEBUG Configuration:1012 - null<-org.dom4j.tree.DefaultAttribute@1a33d48 [Attribute: name resource value "com/luxoft/rad/vsp/jdo/system.hbm.xml"] 11:41:41,853 INFO Configuration:331 - Mapping resource: com/luxoft/rad/vsp/jdo/system.hbm.xml 11:41:41,863 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/ 11:41:41,863 DEBUG DTDEntityResolver:29 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath 11:41:41,974 INFO Binder:229 - Mapping class: com.luxoft.rad.vsp.jdo.Registration -> registration 11:41:42,084 DEBUG Binder:485 - Mapped property: className -> className, type: string 11:41:42,104 DEBUG Binder:485 - Mapped property: unregistred -> unregistred, type: boolean 11:41:42,104 DEBUG Configuration:1012 - null<-org.dom4j.tree.DefaultAttribute@157aa53 [Attribute: name resource value "com/luxoft/rad/vsp/jdo/TestObj.hbm.xml"] 11:41:42,104 INFO Configuration:331 - Mapping resource: com/luxoft/rad/vsp/jdo/TestObj.hbm.xml 11:41:42,114 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/ 11:41:42,114 DEBUG DTDEntityResolver:29 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath 11:41:42,134 INFO Binder:229 - Mapping class: com.luxoft.rad.vsp.jdo.ITestObj -> frame 11:41:42,144 DEBUG Binder:485 - Mapped property: id -> id, type: string 11:41:42,154 DEBUG Binder:485 - Mapped property: parent -> parent, type: com.luxoft.rad.vsp.jdo.ITestObj 11:41:42,194 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.jdo.TestObj -> test 11:41:42,194 DEBUG Binder:485 - Mapped property: name -> name, type: string 11:41:42,194 DEBUG Binder:485 - Mapped property: parent -> parent, type: com.luxoft.rad.vsp.jdo.ITestObj 11:41:42,214 DEBUG Binder:485 - Mapped property: children, type: java.util.Collection 11:41:42,214 INFO Configuration:1053 - Configured SessionFactory: null 11:41:42,214 DEBUG Configuration:1054 - properties: {hibernate.connection.password=, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Software\j2sdk1.4.2_04\jre\bin, java.vm.version=1.4.2_04-b05, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, idea.launcher.port=7582, user.country=RU, sun.os.patch.level=Service Pack 4, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Prj\VSM\Development_VSM\Development\SecuraVista, java.runtime.version=1.4.2_04-b05, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Software\j2sdk1.4.2_04\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\SKLIME~1\LOCALS~1\Temp\, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows 2000, sun.java2d.fontpath=, java.library.path=C:\Software\j2sdk1.4.2_04\bin;.;C:\WINNT\system32;C:\WINNT;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\DMI\WIN32\BIN;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Program Files\Rational\RUPBuilder;;C:\Program Files\Rational\Coverage;C:\Program Files\Rational\ClearCase\bin;C:\Software\j2sdk1.4.2_04\bin\, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.0, connection.password=, user.home=C:\Documents and Settings\SKlimenko, user.timezone=Europe/Moscow, connection.username=root, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=windows-1251, java.specification.version=1.4, hibernate.connection.driver_class=com.mysql.jdbc.Driver, show_sql=false, user.name=SKlimenko, java.class.path=C:\Software\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jce.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\Software\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\Software\j2sdk1.4.2_04\jre\lib\rt.jar;C:\Software\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\dnsns.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3daudio.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3dcore.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3dutils.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\ldapsec.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\localedata.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\sunjce_provider.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\vecmath.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\DatabaseManager\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-event-api-1.0.4-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-store-1.0-dev-20040206.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xalan-2.4.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jide-common.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\log4j-1.2.8.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-component-20040122.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\mysql-connector-java-3.1.3-beta-bin.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-pool-1.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\logkit-1.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\skaringa-r3p0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jess.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\odmg-3.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\ehcache-0.7.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\vecmath.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jdbc2_0-stdext.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-i18n-1.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\dom4j-1.4.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-logger-1.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jade.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\hibernate2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\avalon-framework-4.2.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xerces-2.4.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-manager-interfaces-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-sourceresolve-1.0.2-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jta.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-xmlutil-1.0-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-lang-1.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-collections-3.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\Base64.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jadeTools.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-event-impl-1.0.4-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-digester.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\alloy.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xml-apis.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-beanutils.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-monitor-1.0.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-logging.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jide-grids.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-naming-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\cglib-full-2.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-io-1.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-manager-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\ModelCore\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\SystemCore\build\classes;C:\Software\junit3.8.1\junit.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\TempSelection\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\GeometrySubsystem\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\SensorModelCore\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\Serializer\build\classes;C:\Software\IntelliJ-IDEA-4.0.3\lib\idea_rt.jar, hibernate.show_sql=false, java.vm.specification.version=1.0, java.home=C:\Software\j2sdk1.4.2_04\jre, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost:3306/securavista, user.language=ru, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_04, java.ext.dirs=C:\Software\j2sdk1.4.2_04\jre\lib\ext, sun.boot.class.path=C:\Software\j2sdk1.4.2_04\jre\lib\rt.jar;C:\Software\j2sdk1.4.2_04\jre\lib\i18n.jar;C:\Software\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jce.jar;C:\Software\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\Software\j2sdk1.4.2_04\jre\classes, java.vendor=Sun Microsystems Inc., connection.driver_class=com.mysql.jdbc.Driver, file.separator=\, idea.launcher.library=C:\Software\IntelliJ-IDEA-4.0.3\bin\breakgen.dll, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, connection.url=jdbc:mysql://localhost:3306/securavista, dialect=net.sf.hibernate.dialect.MySQLDialect, sun.cpu.isalist=pentium i486 i386} 11:41:42,214 INFO Configuration:331 - Mapping resource: com/luxoft/rad/vsp/jdo/core.hbm.xml 11:41:42,224 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/ 11:41:42,224 DEBUG DTDEntityResolver:29 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath 11:41:42,394 INFO Binder:229 - Mapping class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet -> default_objects_set 11:41:42,394 DEBUG Binder:485 - Mapped property: key -> pk, type: string 11:41:42,394 DEBUG Binder:485 - Mapped property: id -> id, type: string 11:41:42,394 DEBUG Binder:485 - Mapped property: description -> description, type: string 11:41:42,404 DEBUG Binder:485 - Mapped property: sceneObjects, type: java.util.Map 11:41:42,414 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.ComplexObjectSet -> complex_object_set 11:41:42,414 DEBUG Binder:485 - Mapped property: innerSet -> inner_set, type: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:42,424 INFO Binder:229 - Mapping class: com.luxoft.rad.vsp.model.core.BaseExperimentObject -> experiment_object 11:41:42,424 DEBUG Binder:485 - Mapped property: key -> pk, type: string 11:41:42,424 DEBUG Binder:485 - Mapped property: id -> id, type: string 11:41:42,424 DEBUG Binder:485 - Mapped property: description -> description, type: string 11:41:42,424 DEBUG Binder:485 - Mapped property: container -> container_key, type: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:42,424 INFO Binder:229 - Mapping class: com.luxoft.rad.vsp.model.core.scene.Frame -> frame 11:41:42,424 DEBUG Binder:485 - Mapped property: key -> pk, type: string 11:41:42,434 DEBUG Binder:485 - Mapped property: parent -> parent, type: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:42,444 DEBUG Binder:485 - Mapped property: userObject -> userObject, type: com.luxoft.rad.vsp.model.core.FramedObject 11:41:42,444 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl -> defalt_frame_impl 11:41:42,454 DEBUG Binder:485 - Mapped property: children, type: java.util.Collection 11:41:42,464 DEBUG Binder:485 - Mapped property: x -> pos_x, type: double 11:41:42,464 DEBUG Binder:485 - Mapped property: y -> pos_y, type: double 11:41:42,464 DEBUG Binder:485 - Mapped property: z -> pos_z, type: double 11:41:42,765 DEBUG Binder:485 - Mapped property: positionVector -> pos_x, pos_y, pos_z, type: com.luxoft.rad.vsp.model.core.math.Tuple 11:41:42,775 DEBUG Binder:485 - Mapped property: x -> rot_x, type: double 11:41:42,775 DEBUG Binder:485 - Mapped property: y -> rot_y, type: double 11:41:42,775 DEBUG Binder:485 - Mapped property: z -> rot_z, type: double 11:41:42,775 DEBUG Binder:485 - Mapped property: rotationVector -> rot_x, rot_y, rot_z, type: com.luxoft.rad.vsp.model.core.math.Tuple 11:41:42,775 DEBUG Binder:485 - Mapped property: x -> scal_x, type: double 11:41:42,775 DEBUG Binder:485 - Mapped property: y -> scal_y, type: double 11:41:42,775 DEBUG Binder:485 - Mapped property: z -> scal_z, type: double 11:41:42,775 DEBUG Binder:485 - Mapped property: scaleVector -> scal_x, scal_y, scal_z, type: com.luxoft.rad.vsp.model.core.math.Tuple 11:41:42,775 DEBUG Binder:485 - Mapped property: rotationAngle -> rotationAngle, type: double 11:41:42,775 INFO Binder:229 - Mapping class: com.luxoft.rad.vsp.model.core.scene.Shape -> shape 11:41:42,785 DEBUG Binder:485 - Mapped property: key -> pk, type: string 11:41:42,785 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.scene.DefaultShape -> default_shape 11:41:42,785 DEBUG Binder:485 - Mapped property: id -> id, type: string 11:41:42,785 DEBUG Binder:485 - Mapped property: description -> description, type: string 11:41:42,785 INFO Binder:229 - Mapping class: com.luxoft.rad.vsp.model.core.Substance -> substance 11:41:42,785 DEBUG Binder:485 - Mapped property: key -> pk, type: string 11:41:42,795 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.DefaultSubstance -> default_substance 11:41:42,795 DEBUG Binder:485 - Mapped property: id -> id, type: string 11:41:42,795 DEBUG Binder:485 - Mapped property: description -> description, type: string 11:41:42,795 INFO Binder:229 - Mapping class: com.luxoft.rad.vsp.model.core.AbleToSeeModel -> able_to_see_model 11:41:42,795 DEBUG Binder:485 - Mapped property: key -> pk, type: string 11:41:42,795 DEBUG Binder:485 - Mapped property: x -> pos_x, type: double 11:41:42,795 DEBUG Binder:485 - Mapped property: y -> pos_y, type: double 11:41:42,795 DEBUG Binder:485 - Mapped property: z -> pos_z, type: double 11:41:42,795 DEBUG Binder:485 - Mapped property: position -> pos_x, pos_y, pos_z, type: com.luxoft.rad.vsp.model.core.math.Tuple 11:41:42,795 DEBUG Binder:485 - Mapped property: x -> pnt_x, type: double 11:41:42,805 DEBUG Binder:485 - Mapped property: y -> pnt_y, type: double 11:41:42,805 DEBUG Binder:485 - Mapped property: z -> pnt_z, type: double 11:41:42,805 DEBUG Binder:485 - Mapped property: point -> pnt_x, pnt_y, pnt_z, type: com.luxoft.rad.vsp.model.core.math.Tuple 11:41:42,805 DEBUG Binder:485 - Mapped property: x -> up_x, type: double 11:41:42,805 DEBUG Binder:485 - Mapped property: y -> up_y, type: double 11:41:42,805 DEBUG Binder:485 - Mapped property: z -> up_z, type: double 11:41:42,805 DEBUG Binder:485 - Mapped property: up -> up_x, up_y, up_z, type: com.luxoft.rad.vsp.model.core.math.Tuple 11:41:42,805 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.Experiment -> experiment 11:41:42,805 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.Environment -> environment 11:41:42,805 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.editor.selection.MockExperimentObject -> mock_experiment_object 11:41:42,815 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.FramedObject -> framed_object 11:41:42,815 DEBUG Binder:485 - Mapped property: frame -> frame, type: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:42,815 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.MockFramed -> mock_framed 11:41:42,815 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.ShapedObject -> shaped_object 11:41:42,825 DEBUG Binder:485 - Mapped property: shape -> shape, type: com.luxoft.rad.vsp.model.core.scene.Shape 11:41:42,825 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.SubstantialObject -> substantial_object 11:41:42,825 DEBUG Binder:485 - Mapped property: substance -> substance, type: com.luxoft.rad.vsp.model.core.Substance 11:41:42,835 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.DefaultEnvironmentObject -> default_environment_object 11:41:42,835 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.DefaultLandscapeObject -> default_landscape_object 11:41:42,845 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.VirtualObject -> virtual_object 11:41:42,845 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.KnotObject -> knot_object 11:41:42,845 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.ViewPoint -> view_point 11:41:42,855 DEBUG Binder:485 - Mapped property: viewerModel -> viewerModel, type: com.luxoft.rad.vsp.model.core.AbleToSeeModel 11:41:42,855 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.GroupObject -> group_object 11:41:42,855 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.FrontierObject -> frontier_object 11:41:42,855 INFO Binder:570 - Mapping collection: com.luxoft.rad.vsp.model.core.FrontierObject.knotList -> frontier_knots 11:41:42,855 DEBUG Binder:485 - Mapped property: knotList, type: java.util.Collection 11:41:42,865 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.sensor.core.AbstractSensor -> abstract_sensor 11:41:42,865 INFO Binder:200 - Mapping joined-subclass: com.luxoft.rad.vsp.model.core.SyntheticEntity -> synthetic_entity 11:41:42,875 DEBUG Binder:485 - Mapped property: side -> side, type: com.luxoft.rad.vsp.jdo.SideUserType 11:41:42,875 INFO Configuration:627 - processing one-to-many association mappings 11:41:42,875 DEBUG Binder:1350 - Second pass for collection: com.luxoft.rad.vsp.jdo.TestObj.children 11:41:42,875 INFO Binder:1178 - Mapping collection: com.luxoft.rad.vsp.jdo.TestObj.children -> frame 11:41:42,875 DEBUG Binder:1365 - Mapped collection key: parent, one-to-many: com.luxoft.rad.vsp.jdo.ITestObj 11:41:42,885 DEBUG Binder:1350 - Second pass for collection: com.luxoft.rad.vsp.model.core.DefaultObjectsSet.sceneObjects 11:41:42,885 INFO Binder:1178 - Mapping collection: com.luxoft.rad.vsp.model.core.DefaultObjectsSet.sceneObjects -> experiment_object 11:41:42,885 DEBUG Binder:1365 - Mapped collection key: set_key, index: id, one-to-many: com.luxoft.rad.vsp.model.core.BaseExperimentObject 11:41:42,885 DEBUG Binder:1350 - Second pass for collection: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl.children 11:41:42,885 INFO Binder:1178 - Mapping collection: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl.children -> frame 11:41:42,885 DEBUG Binder:1365 - Mapped collection key: parent, one-to-many: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:42,885 DEBUG Binder:1350 - Second pass for collection: com.luxoft.rad.vsp.model.core.FrontierObject.knotList 11:41:42,885 DEBUG Binder:1365 - Mapped collection key: frontier_pk, element: knot_pk, type: com.luxoft.rad.vsp.model.core.KnotObject 11:41:42,885 INFO Configuration:636 - processing one-to-one association property references 11:41:42,885 INFO Configuration:661 - processing foreign key constraints 11:41:42,885 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.ComplexObjectSet 11:41:42,885 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:42,885 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.SubstantialObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Shape 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FrontierObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.BaseExperimentObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.KnotObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.Substance 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.SubstantialObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.GroupObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.BaseExperimentObject 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.jdo.ITestObj 11:41:42,895 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.jdo.ITestObj 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.VirtualObject 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Shape 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.BaseExperimentObject 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.AbleToSeeModel 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.VirtualObject 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.Substance 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.ShapedObject 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.jdo.TestObj 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.jdo.ITestObj 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.SubstantialObject 11:41:42,905 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:42,935 INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.MySQLDialect 11:41:42,935 INFO SettingsFactory:63 - Use outer join fetching: true 11:41:42,945 INFO DriverManagerConnectionProvider:42 - Using Hibernate built-in connection pool (not for production use!) 11:41:42,945 INFO DriverManagerConnectionProvider:43 - Hibernate connection pool size: 20 11:41:42,945 INFO DriverManagerConnectionProvider:77 - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/securavista 11:41:42,945 INFO DriverManagerConnectionProvider:78 - connection properties: {user=root, password=} 11:41:42,955 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) 11:41:42,965 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0 11:41:42,965 DEBUG DriverManagerConnectionProvider:100 - opening new JDBC connection 11:41:43,275 DEBUG DriverManagerConnectionProvider:106 - created connection to: jdbc:mysql://localhost:3306/securavista, Isolation Level: 4 11:41:43,275 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1 11:41:43,275 INFO SettingsFactory:103 - Use scrollable result sets: true 11:41:43,275 INFO SettingsFactory:106 - Use JDBC3 getGeneratedKeys(): true 11:41:43,275 INFO SettingsFactory:109 - Optimize cache for minimal puts: false 11:41:43,275 INFO SettingsFactory:118 - Query language substitutions: {} 11:41:43,275 INFO SettingsFactory:129 - cache provider: net.sf.hibernate.cache.EhCacheProvider 11:41:43,285 INFO Configuration:1116 - instantiating and configuring caches 11:41:43,306 INFO SessionFactoryImpl:118 - building session factory 11:41:43,306 DEBUG SessionFactoryImpl:124 - instantiating session factory with properties: {hibernate.connection.password=, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Software\j2sdk1.4.2_04\jre\bin, java.vm.version=1.4.2_04-b05, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, idea.launcher.port=7582, user.country=RU, sun.os.patch.level=Service Pack 4, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Prj\VSM\Development_VSM\Development\SecuraVista, java.runtime.version=1.4.2_04-b05, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Software\j2sdk1.4.2_04\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\SKLIME~1\LOCALS~1\Temp\, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows 2000, sun.java2d.fontpath=, java.library.path=C:\Software\j2sdk1.4.2_04\bin;.;C:\WINNT\system32;C:\WINNT;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\DMI\WIN32\BIN;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Program Files\Rational\RUPBuilder;;C:\Program Files\Rational\Coverage;C:\Program Files\Rational\ClearCase\bin;C:\Software\j2sdk1.4.2_04\bin\, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.0, connection.password=, user.home=C:\Documents and Settings\SKlimenko, user.timezone=Europe/Moscow, connection.username=root, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=windows-1251, java.specification.version=1.4, hibernate.connection.driver_class=com.mysql.jdbc.Driver, show_sql=false, user.name=SKlimenko, java.class.path=C:\Software\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jce.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\Software\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\Software\j2sdk1.4.2_04\jre\lib\rt.jar;C:\Software\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\dnsns.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3daudio.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3dcore.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3dutils.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\ldapsec.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\localedata.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\sunjce_provider.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\vecmath.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\DatabaseManager\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-event-api-1.0.4-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-store-1.0-dev-20040206.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xalan-2.4.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jide-common.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\log4j-1.2.8.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-component-20040122.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\mysql-connector-java-3.1.3-beta-bin.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-pool-1.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\logkit-1.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\skaringa-r3p0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jess.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\odmg-3.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\ehcache-0.7.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\vecmath.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jdbc2_0-stdext.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-i18n-1.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\dom4j-1.4.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-logger-1.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jade.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\hibernate2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\avalon-framework-4.2.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xerces-2.4.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-manager-interfaces-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-sourceresolve-1.0.2-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jta.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-xmlutil-1.0-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-lang-1.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-collections-3.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\Base64.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jadeTools.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-event-impl-1.0.4-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-digester.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\alloy.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xml-apis.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-beanutils.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-monitor-1.0.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-logging.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jide-grids.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-naming-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\cglib-full-2.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-io-1.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-manager-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\ModelCore\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\SystemCore\build\classes;C:\Software\junit3.8.1\junit.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\TempSelection\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\GeometrySubsystem\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\SensorModelCore\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\Serializer\build\classes;C:\Software\IntelliJ-IDEA-4.0.3\lib\idea_rt.jar, hibernate.show_sql=false, java.vm.specification.version=1.0, java.home=C:\Software\j2sdk1.4.2_04\jre, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost:3306/securavista, user.language=ru, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_04, java.ext.dirs=C:\Software\j2sdk1.4.2_04\jre\lib\ext, sun.boot.class.path=C:\Software\j2sdk1.4.2_04\jre\lib\rt.jar;C:\Software\j2sdk1.4.2_04\jre\lib\i18n.jar;C:\Software\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jce.jar;C:\Software\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\Software\j2sdk1.4.2_04\jre\classes, java.vendor=Sun Microsystems Inc., connection.driver_class=com.mysql.jdbc.Driver, file.separator=\, idea.launcher.library=C:\Software\IntelliJ-IDEA-4.0.3\bin\breakgen.dll, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, connection.url=jdbc:mysql://localhost:3306/securavista, dialect=net.sf.hibernate.dialect.MySQLDialect, sun.cpu.isalist=pentium i486 i386} 11:41:43,626 INFO ReflectHelper:176 - reflection optimizer disabled for: com.luxoft.rad.vsp.jdo.Registration, IllegalArgumentException: Cannot find matching method/constructor 11:41:44,077 DEBUG SessionFactoryObjectFactory:39 - initializing class SessionFactoryObjectFactory 11:41:44,077 DEBUG SessionFactoryObjectFactory:76 - registered: 2c9e811afe330bc700fe330bcb0d0000 (unnamed) 11:41:44,087 INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured 11:41:44,087 DEBUG SessionFactoryImpl:195 - instantiated session factory 11:41:44,137 DEBUG SessionImpl:555 - opened session 11:41:44,137 DEBUG SessionImpl:1527 - find: from registration in class Registration where unregistred = 0 11:41:44,157 DEBUG QueryTranslator:147 - compiling query 11:41:44,177 DEBUG SessionImpl:2246 - flushing session 11:41:44,177 DEBUG SessionImpl:2439 - Flushing entities and processing referenced collections 11:41:44,177 DEBUG SessionImpl:2780 - Processing unreferenced collections 11:41:44,177 DEBUG SessionImpl:2794 - Scheduling collection removes/(re)creates/updates 11:41:44,177 DEBUG SessionImpl:2270 - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects 11:41:44,177 DEBUG SessionImpl:2275 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections 11:41:44,177 DEBUG SessionImpl:1818 - Dont need to execute flush 11:41:44,177 DEBUG QueryTranslator:207 - HQL: from registration in class com.luxoft.rad.vsp.jdo.Registration where unregistred = 0 11:41:44,177 DEBUG QueryTranslator:208 - SQL: select registration.className as className, registration.unregistred as unregist2_ from registration registration where (unregistred=0 ) 11:41:44,177 DEBUG BatcherImpl:200 - about to open: 0 open PreparedStatements, 0 open ResultSets 11:41:44,177 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0 11:41:44,177 DEBUG DriverManagerConnectionProvider:90 - using pooled JDBC connection, pool size: 0 11:41:44,177 DEBUG SQL:226 - select registration.className as className, registration.unregistred as unregist2_ from registration registration where (unregistred=0 ) 11:41:44,187 DEBUG BatcherImpl:249 - preparing statement 11:41:44,217 DEBUG Loader:278 - processing result set 11:41:44,217 DEBUG Loader:295 - done processing result set (0 rows) 11:41:44,217 DEBUG BatcherImpl:207 - done closing: 0 open PreparedStatements, 0 open ResultSets 11:41:44,217 DEBUG BatcherImpl:269 - closing statement 11:41:44,227 DEBUG Loader:308 - total objects hydrated: 0 11:41:44,227 DEBUG SessionImpl:3116 - initializing non-lazy collections 11:41:44,227 DEBUG SessionImpl:573 - closing session 11:41:44,227 DEBUG SessionImpl:3336 - disconnecting session 11:41:44,227 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1 11:41:44,227 DEBUG SessionImpl:585 - transaction completion 11:41:44,227 INFO SessionFactoryImpl:534 - closing 11:41:44,227 INFO DriverManagerConnectionProvider:143 - cleaning up connection pool: jdbc:mysql://localhost:3306/securavista 11:41:44,227 INFO Configuration:627 - processing one-to-many association mappings 11:41:44,227 INFO Configuration:636 - processing one-to-one association property references 11:41:44,227 INFO Configuration:661 - processing foreign key constraints 11:41:44,227 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.ComplexObjectSet 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.SubstantialObject 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Shape 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FrontierObject 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.BaseExperimentObject 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.KnotObject 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.Substance 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.SubstantialObject 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:44,237 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.GroupObject 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.BaseExperimentObject 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.jdo.ITestObj 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.jdo.ITestObj 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.VirtualObject 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Shape 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.BaseExperimentObject 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.AbleToSeeModel 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.VirtualObject 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.Substance 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.ShapedObject 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.Frame 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.jdo.TestObj 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.jdo.ITestObj 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:44,247 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:44,257 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.DefaultObjectsSet 11:41:44,257 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.SubstantialObject 11:41:44,257 DEBUG Configuration:678 - resolving reference to class: com.luxoft.rad.vsp.model.core.FramedObject 11:41:44,257 INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.MySQLDialect 11:41:44,257 INFO SettingsFactory:63 - Use outer join fetching: true 11:41:44,257 INFO DriverManagerConnectionProvider:42 - Using Hibernate built-in connection pool (not for production use!) 11:41:44,257 INFO DriverManagerConnectionProvider:43 - Hibernate connection pool size: 20 11:41:44,257 INFO DriverManagerConnectionProvider:77 - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/securavista 11:41:44,257 INFO DriverManagerConnectionProvider:78 - connection properties: {user=root, password=} 11:41:44,257 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) 11:41:44,257 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0 11:41:44,257 DEBUG DriverManagerConnectionProvider:100 - opening new JDBC connection 11:41:44,317 DEBUG DriverManagerConnectionProvider:106 - created connection to: jdbc:mysql://localhost:3306/securavista, Isolation Level: 4 11:41:44,317 DEBUG DriverManagerConnectionProvider:120 - returning connection to pool, pool size: 1 11:41:44,327 INFO SettingsFactory:103 - Use scrollable result sets: true 11:41:44,327 INFO SettingsFactory:106 - Use JDBC3 getGeneratedKeys(): true 11:41:44,327 INFO SettingsFactory:109 - Optimize cache for minimal puts: false 11:41:44,327 INFO SettingsFactory:118 - Query language substitutions: {} 11:41:44,327 INFO SettingsFactory:129 - cache provider: net.sf.hibernate.cache.EhCacheProvider 11:41:44,327 INFO Configuration:1116 - instantiating and configuring caches 11:41:44,327 INFO SessionFactoryImpl:118 - building session factory 11:41:44,327 DEBUG SessionFactoryImpl:124 - instantiating session factory with properties: {hibernate.connection.password=, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Software\j2sdk1.4.2_04\jre\bin, java.vm.version=1.4.2_04-b05, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, idea.launcher.port=7582, user.country=RU, sun.os.patch.level=Service Pack 4, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Prj\VSM\Development_VSM\Development\SecuraVista, java.runtime.version=1.4.2_04-b05, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Software\j2sdk1.4.2_04\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\SKLIME~1\LOCALS~1\Temp\, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows 2000, sun.java2d.fontpath=, java.library.path=C:\Software\j2sdk1.4.2_04\bin;.;C:\WINNT\system32;C:\WINNT;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\DMI\WIN32\BIN;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Program Files\Rational\RUPBuilder;;C:\Program Files\Rational\Coverage;C:\Program Files\Rational\ClearCase\bin;C:\Software\j2sdk1.4.2_04\bin\, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.0, connection.password=, user.home=C:\Documents and Settings\SKlimenko, user.timezone=Europe/Moscow, connection.username=root, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=windows-1251, java.specification.version=1.4, hibernate.connection.driver_class=com.mysql.jdbc.Driver, show_sql=false, user.name=SKlimenko, java.class.path=C:\Software\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jce.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\Software\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\Software\j2sdk1.4.2_04\jre\lib\rt.jar;C:\Software\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\dnsns.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3daudio.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3dcore.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\j3dutils.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\ldapsec.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\localedata.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\sunjce_provider.jar;C:\Software\j2sdk1.4.2_04\jre\lib\ext\vecmath.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\DatabaseManager\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-event-api-1.0.4-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-store-1.0-dev-20040206.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xalan-2.4.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jide-common.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\log4j-1.2.8.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-component-20040122.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\mysql-connector-java-3.1.3-beta-bin.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-pool-1.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\logkit-1.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\skaringa-r3p0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jess.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\odmg-3.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\ehcache-0.7.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\vecmath.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jdbc2_0-stdext.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-i18n-1.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\dom4j-1.4.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-logger-1.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jade.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\hibernate2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\avalon-framework-4.2.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xerces-2.4.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-manager-interfaces-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-sourceresolve-1.0.2-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jta.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-xmlutil-1.0-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-lang-1.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-collections-3.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\Base64.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jadeTools.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-event-impl-1.0.4-dev.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-digester.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\alloy.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\xml-apis.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-beanutils.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-monitor-1.0.2.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\commons-logging.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\jide-grids.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-naming-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\cglib-full-2.0.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-io-1.1.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\lib\excalibur-instrument-manager-1.0.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\ModelCore\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\SystemCore\build\classes;C:\Software\junit3.8.1\junit.jar;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\TempSelection\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\GeometrySubsystem\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\SensorModelCore\build\classes;C:\Prj\VSM\Development_VSM\Development\SecuraVista\modules\Serializer\build\classes;C:\Software\IntelliJ-IDEA-4.0.3\lib\idea_rt.jar, hibernate.show_sql=false, java.vm.specification.version=1.0, java.home=C:\Software\j2sdk1.4.2_04\jre, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost:3306/securavista, user.language=ru, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_04, java.ext.dirs=C:\Software\j2sdk1.4.2_04\jre\lib\ext, sun.boot.class.path=C:\Software\j2sdk1.4.2_04\jre\lib\rt.jar;C:\Software\j2sdk1.4.2_04\jre\lib\i18n.jar;C:\Software\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\Software\j2sdk1.4.2_04\jre\lib\jce.jar;C:\Software\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\Software\j2sdk1.4.2_04\jre\classes, java.vendor=Sun Microsystems Inc., connection.driver_class=com.mysql.jdbc.Driver, file.separator=\, idea.launcher.library=C:\Software\IntelliJ-IDEA-4.0.3\bin\breakgen.dll, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, connection.url=jdbc:mysql://localhost:3306/securavista, dialect=net.sf.hibernate.dialect.MySQLDialect, sun.cpu.isalist=pentium i486 i386} 11:41:44,397 INFO ReflectHelper:176 - reflection optimizer disabled for: com.luxoft.rad.vsp.jdo.Registration, IllegalArgumentException: Cannot find matching method/constructor 11:41:44,547 DEBUG SessionImpl:3388 - running Session.finalize() 11:41:44,647 DEBUG SessionFactoryObjectFactory:76 - registered: 2c9e811afe330bc700fe330bcd470001 (unnamed) 11:41:44,647 INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured 11:41:44,647 DEBUG SessionFactoryImpl:195 - instantiated session factory getFrame: null setFrame: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl@32060c, null 11:41:44,667 DEBUG SessionImpl:555 - opened session 11:41:44,667 DEBUG JDBCTransaction:37 - begin 11:41:44,667 DEBUG DriverManagerConnectionProvider:84 - total checked-out connections: 0 11:41:44,667 DEBUG DriverManagerConnectionProvider:90 - using pooled JDBC connection, pool size: 0 11:41:44,667 DEBUG JDBCTransaction:41 - current autocommit status:false 11:41:44,677 DEBUG SessionImpl:1387 - saveOrUpdate() unsaved instance 11:41:44,677 DEBUG SessionImpl:778 - generated identifier: 2c9e811afe330bc700fe330bcd650002 11:41:44,677 DEBUG SessionImpl:825 - saving [com.luxoft.rad.vsp.model.core.FramedObject#2c9e811afe330bc700fe330bcd650002] 11:41:44,677 DEBUG Cascades:497 - processing cascades for: com.luxoft.rad.vsp.model.core.FramedObject getFrame: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl@32060c 11:41:44,687 DEBUG Cascades:113 - cascading to saveOrUpdate() 11:41:44,687 DEBUG SessionImpl:1387 - saveOrUpdate() unsaved instance 11:41:44,687 DEBUG SessionImpl:778 - generated identifier: 2c9e811afe330bc700fe330bcd6f0003 11:41:44,687 DEBUG SessionImpl:825 - saving [com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl#2c9e811afe330bc700fe330bcd6f0003] 11:41:44,687 DEBUG SessionImpl:850 - calling onSave() 11:41:44,698 DEBUG SessionImpl:852 - insertion vetoed by onSave() 11:41:44,698 DEBUG Cascades:506 - done processing cascades for: com.luxoft.rad.vsp.model.core.FramedObject getFrame: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl@32060c 11:41:44,698 DEBUG Cascades:341 - id unsaved-value strategy NULL 11:41:44,698 DEBUG Cascades:497 - processing cascades for: com.luxoft.rad.vsp.model.core.FramedObject getFrame: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl@32060c 11:41:44,698 DEBUG Cascades:506 - done processing cascades for: com.luxoft.rad.vsp.model.core.FramedObject 11:41:44,698 DEBUG JDBCTransaction:59 - commit 11:41:44,698 DEBUG SessionImpl:2246 - flushing session 11:41:44,708 DEBUG Cascades:497 - processing cascades for: com.luxoft.rad.vsp.model.core.FramedObject getFrame: com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl@32060c 11:41:44,708 DEBUG Cascades:113 - cascading to saveOrUpdate() 11:41:44,708 DEBUG Cascades:341 - id unsaved-value strategy NULL 11:41:44,708 DEBUG SessionImpl:1392 - saveOrUpdate() previously saved instance with id: 2c9e811afe330bc700fe330bcd6f0003 11:41:44,708 DEBUG SessionImpl:1440 - updating [com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl#2c9e811afe330bc700fe330bcd6f0003] 11:41:44,708 DEBUG SessionImpl:1446 - calling onUpdate() 11:41:44,708 DEBUG SessionImpl:1448 - update vetoed by onUpdate() 11:41:44,708 DEBUG SessionImpl:1681 - reassociating transient instance: [com.luxoft.rad.vsp.model.core.scene.DefaultFrameImpl#2c9e811afe330bc700fe330bcd6f0003] 11:41:44,718 ERROR DatabaseManager:205 - com.luxoft.rad.vsp.jdo.DatabaseManager@8ddc4c net.sf.hibernate.HibernateException: reassociated object has dirty collection reference at net.sf.hibernate.impl.OnLockVisitor.processCollection(OnLockVisitor.java:68) 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.AbstractVisitor.process(AbstractVisitor.java:93) at net.sf.hibernate.impl.SessionImpl.reassociate(SessionImpl.java:1689) at net.sf.hibernate.impl.SessionImpl.doUpdateMutable(SessionImpl.java:1449) at net.sf.hibernate.impl.SessionImpl.doUpdate(SessionImpl.java:1470) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1393) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2673) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2250) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2239) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at com.luxoft.rad.vsp.jdo.DatabaseManager.saveObject(DatabaseManager.java:201) at com.luxoft.rad.vsp.jdo.AppTest.saveTest2(AppTest.java:70) at com.luxoft.rad.vsp.jdo.AppTest.<init>(AppTest.java:26) at com.luxoft.rad.vsp.jdo.AppTest.main(AppTest.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.intellij.rt.execution.application.AppMain.main(Unknown Source) Process terminated with exit code 0
    via by Sergey Klimenko,
  • seeing this on all builds on my local 3.0 trunk instance. the builds don't save all info (like passing tests info): 2010-07-08 12:32:32,254 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [SaveBuildTask] Saving build results to disk... 2010-07-08 12:32:32,400 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultErrorHandler] Recording error: Could not save the build results. Data could be in an inconsistent state. : UPM-TRUNK : Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues 2010-07-08 12:32:32,401 FATAL [BAM::Default Agent::Agent:pool-4-thread-1] [SaveBuildTask] Could not save the build results BuildResults: UPM-TRUNK-1. Data could be in an inconsistent state. org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues Caused by: net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2905) 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:2618) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2484) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2279) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2258) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:510) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy26.savePlan(Unknown Source) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager$1.run(DefaultBuildDefinitionManager.java:105) at com.atlassian.bamboo.schedule.PlanSchedulerCallback.run(PlanSchedulerCallback.java:24) at com.atlassian.bamboo.schedule.DefaultPlanScheduler$3.run(DefaultPlanScheduler.java:64) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:322) at com.atlassian.bamboo.schedule.DefaultPlanScheduler.executeWithoutPlanSchdules(DefaultPlanScheduler.java:57) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.savePlanAndDefinition(DefaultBuildDefinitionManager.java:92) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.updateVcsBuildDefinition(SaveBuildTask.java:140) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.call(SaveBuildTask.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy270.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.LocalBuildResultProcessor.processBuildResult(LocalBuildResultProcessor.java:144) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:115) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:619) 2010-07-08 12:32:32,401 ERROR [BAM::Default Agent::Agent:pool-4-thread-1] [SaveBuildTask] Attempting to clean up build results data 2010-07-08 12:32:32,401 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [SaveBuildTask] Finished building UPM-TRUNK-1. 2010-07-08 12:32:32,402 ERROR [BAM::Default Agent::Agent:pool-4-thread-1] [LocalBuildResultProcessor] Unable to call SaveBuildTask java.lang.Exception: Could not save the build results BuildResults: UPM-TRUNK-1. Data could be in an inconsistent state. at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.call(SaveBuildTask.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy270.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.LocalBuildResultProcessor.processBuildResult(LocalBuildResultProcessor.java:144) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:115) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:619) Caused by: org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597) at org.springframework.orm.hibernate.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:607) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:518) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy26.savePlan(Unknown Source) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager$1.run(DefaultBuildDefinitionManager.java:105) at com.atlassian.bamboo.schedule.PlanSchedulerCallback.run(PlanSchedulerCallback.java:24) at com.atlassian.bamboo.schedule.DefaultPlanScheduler$3.run(DefaultPlanScheduler.java:64) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:322) at com.atlassian.bamboo.schedule.DefaultPlanScheduler.executeWithoutPlanSchdules(DefaultPlanScheduler.java:57) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.savePlanAndDefinition(DefaultBuildDefinitionManager.java:92) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.updateVcsBuildDefinition(SaveBuildTask.java:140) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.call(SaveBuildTask.java:76) ... 18 more Caused by: net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2905) 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:2618) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2484) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2279) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2258) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:510) ... 33 more 2010-07-08 12:32:32,407 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [DashboardCacheListener] event: com.atlassian.bamboo.event.BuildFinishedEvent[source=com.atlassian.bamboo.build.DefaultBuildExecutionManager@7ce66597] 2010-07-08 12:32:32,417 ERROR [BAM::Default Agent::Agent:pool-4-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on 'Default Agent'. Agent will attempt to recover its normal operation... java.lang.RuntimeException: java.lang.Exception: Could not save the build results BuildResults: UPM-TRUNK-1. Data could be in an inconsistent state. at com.atlassian.bamboo.v2.build.agent.LocalBuildResultProcessor.processBuildResult(LocalBuildResultProcessor.java:149) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:115) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.Exception: Could not save the build results BuildResults: UPM-TRUNK-1. Data could be in an inconsistent state. at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.call(SaveBuildTask.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy270.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.LocalBuildResultProcessor.processBuildResult(LocalBuildResultProcessor.java:144) ... 4 more Caused by: org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597) at org.springframework.orm.hibernate.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:607) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:518) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy26.savePlan(Unknown Source) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager$1.run(DefaultBuildDefinitionManager.java:105) at com.atlassian.bamboo.schedule.PlanSchedulerCallback.run(PlanSchedulerCallback.java:24) at com.atlassian.bamboo.schedule.DefaultPlanScheduler$3.run(DefaultPlanScheduler.java:64) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:322) at com.atlassian.bamboo.schedule.DefaultPlanScheduler.executeWithoutPlanSchdules(DefaultPlanScheduler.java:57) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.savePlanAndDefinition(DefaultBuildDefinitionManager.java:92) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.updateVcsBuildDefinition(SaveBuildTask.java:140) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.call(SaveBuildTask.java:76) ... 18 more Caused by: net.sf.hibernate.HibernateException: Found shared references to a collection: com.atlassian.bamboo.resultsummary.AbstractResultsSummary.jiraIssues at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2905) 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:2618) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2484) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2279) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2258) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:510) ... 33 more 2010-07-08 12:32:32,417 INFO [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultErrorHandler] Recording error: Unknown exception occurred on 'Default Agent'. Agent will attempt to recover its normal operation... : All Builds : java.lang.Exception: Could not save the build results BuildResults: UPM-TRUNK-1. Data could be in an inconsistent state.
    via by Cheryl Jerozal [Atlassian],
    • net.sf.hibernate.HibernateException: You may not change the reference to a collection with cascade="all-delete-orphan" at net.sf.hibernate.impl.SessionImpl.prepareCollectionForUpdate(SessionImpl.java:2949) at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2886) 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:2588) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2454) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2256) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2235) at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61) at test.TestParent.main(TestParent.java:108)
    No Bugmate found.