Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
11/07/07 11:33:41 (17 years ago)
- Author:
-
jmoore
- Comment:
-
This issue was not was to track down. The implementation of findContainerHierarchies walks a graph returned from Hibernate and rearranges the entities in a read-only graph. However, to prevent Hibernate from saving the rearragements, first the entities are evicted from the session.
The exception that's being thrown here:
ome.conditions.ValidationException: not-null property references a null or transient value: ome.model.containers.DatasetImageLink.details.creati
onEvent; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: ome.model.containers.DatasetImageLink.detail
s.creationEvent
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:628)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:377)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:338)
at ome.security.basic.EventHandler.invoke(EventHandler.java:160)
...
just says that one of the read-only links created for the read-only graph is missing some values. That's fine, we expect as much. The question is why is it even checking. Because an object is still reachable that shouldn't be.
Turns out the cyclical relationship image->defaultPixels->image is again causing problems (this will probably be removed in the next version.)
Fixed by r1921.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Status
changed from
new
to
assigned
-
Property
Summary
changed from
PojoServiceTest Fails as Noted
to
IPojos.findContainerHierarchies() fails with ValidationException
-
Property
Priority
changed from
minor
to
critical
-
Property
Version
changed from
to
3.0-Beta1
-
v2
|
v4
|
|
1 | | Client integration tests fail with nested Hibernate error "not null property references a null or transient value". in PojoServiceTest, method testFindContainerHierarchies. |
| 1 | Client integration tests fail with nested Hibernate error "not null property references a null or transient value" in PojoServiceTest, method testFindContainerHierarchies rather than the expected Api usage exception. |
2 | 2 | |
3 | | forced failure, should fail and does. Test marked as "broken" |
| 3 | Test marked as "broken" |
4 | 4 | {{{ |
5 | 5 | try { |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.11960 sec.)