[MAGNOLIA-5392] DumperUtil should now fail on InvalidItemStateException Created: 16/Oct/13 Updated: 18/Oct/13 Resolved: 16/Oct/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.1 |
| Fix Version/s: | 5.1.1 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Daniel Lipp | Assignee: | Daniel Lipp |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Sprint: | 5.1.1 |
| Description |
|
Several ee-bundle builds failed with an InvalidItemStateException. It seems to be a timing issue. Obviously there's concurrent modifications going on and hence one thread could remove a property but DumperUtil tries doesn't realize and tries to dump it. This is to be expected so DumperUtil should be more tolerant. Sample stacktrace: Templating Warning - http://localhost:9199/magnoliaTest/demo-project/news-and-events/events-overview/another-event~mgnlArea=comments~ Nothing rendered. The area node is probably empty. [INFO] [talledLocalContainer] 2013-10-16 10:44:08,904 ERROR info.magnolia.cms.util.DumperUtil : can't dump [INFO] [talledLocalContainer] javax.jcr.InvalidItemStateException: Item does not exist anymore: 37ecfdb7-4130-4e18-97e0-75f5ee7fad2e/{http://www.jcp.org/jcr/1.0}lockOwner [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116) [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:104) [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.PropertyImpl.getDefinition(PropertyImpl.java:855) [INFO] [talledLocalContainer] at info.magnolia.jcr.wrapper.DelegatePropertyWrapper.getDefinition(DelegatePropertyWrapper.java:223) [INFO] [talledLocalContainer] at info.magnolia.jcr.wrapper.DelegatePropertyWrapper.getDefinition(DelegatePropertyWrapper.java:223) [INFO] [talledLocalContainer] at info.magnolia.jcr.wrapper.DelegatePropertyWrapper.getDefinition(DelegatePropertyWrapper.java:223) [INFO] [talledLocalContainer] at info.magnolia.cms.util.DumperUtil.dump(DumperUtil.java:136) [INFO] [talledLocalContainer] at info.magnolia.cms.util.DumperUtil.dump(DumperUtil.java:84) [INFO] [talledLocalContainer] at info.magnolia.module.admininterface.pages.JCRUtilsPage.dump(JCRUtilsPage.java:115) |