AnsweredAssumed Answered

'Transaction didn't commit' error when creating ne

Question asked by whippet on Jan 19, 2007
Hi,

Can anyone perhaps shed some light on what roughly causes this error ? This occcured in the process of me creating an ActionExecuter and an ActionHandler for my rule.


20:50:27,830 ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] Found 1 integrity violations:
The association child multiplicity has been violated:
   Association: Association[ class=ClassDef[name={http://www.alfresco.org/model/action/1.0}compositeaction], name={http://www.alfresco.org/model/action/1.0}actions, target class={http://www.alfresco.org/model/action/1.0}action, source role=null, target role=null]
   Required child Multiplicity: 1..*
   Actual child Multiplicity: 0
20:50:27,877 WARN  [org.hibernate.cache.ReadWriteCache] An item was expired by the cache while it was locked (increase your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs#616
20:50:27,877 WARN  [org.hibernate.cache.ReadWriteCache] An item was expired by the cache while it was locked (increase your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs#617
20:50:27,877 WARN  [org.hibernate.cache.ReadWriteCache] An item was expired by the cache while it was locked (increase your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs#618
20:50:27,877 WARN  [org.hibernate.cache.ReadWriteCache] An item was expired by the cache while it was locked (increase your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs#619
20:50:27,877 ERROR [org.alfresco.util.transaction.SpringAwareUserTransaction] Transaction didn't commit
org.alfresco.repo.node.integrity.IntegrityException: Integrity failure

My suspicion (which is just a hunch) is on the portion of code in which I am trying to fill the aspectProperties parameter with params in the addAspect method:


HashMap<QName, Serializable> params = new HashMap<QName, Serializable>(1);

Thanks,
P

Outcomes