[MAGNOLIA-5906] Cannot bootstrap new DAM content Created: 05/Sep/14 Updated: 05/Sep/14 Resolved: 05/Sep/14 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.3.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Steven McDermott | Assignee: | Unassigned |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
rhel |
||
| Attachments: |
|
| 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)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
I am trying to test for an upgrade of magnolia. I exported all of the DAM/Assets from magnolia and included in my mgnl-bootstrap/my-module folder but when i try to install the log tells me that an Item does not exist anymore plus a couple of other errors immediately after, see below. I checked my bootstrap file and the uuid the error points to is there. I haven't had this issue installing this same bootstrap file other times this week. The only change I made before this was to add a couple of new files to bootstrap for a new template page. I cannot attach my dam bootstrap file because its too large. could this be the reason it is not working? I am not sure it would be because the error occurs at line 503 and there are 20,000+ lines in that file. I have added the ActivateContentTask class mentioned below in the error for reference. Logs: 2014-09-04 15:10:04,699 ERROR com.nrgedge.delta.ActivateContentTask : RepositoryException in class com.nrgedge.delta.ActivateContentTask javax.jcr.InvalidItemStateException: Item does not exist anymore: b0e6e70d-271c-4f59-8614-b26679d7f492 at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116) at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:90) at org.apache.jackrabbit.core.NodeImpl.getNodes(NodeImpl.java:2202) at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNodes(DelegateNodeWrapper.java:202) at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNodes(ContentDecoratorNodeWrapper.java:129) at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNodes(DelegateNodeWrapper.java:202) at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNodes(ContentDecoratorNodeWrapper.java:129) at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNodes(DelegateNodeWrapper.java:202) at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNodes(ContentDecoratorNodeWrapper.java:129) at info.magnolia.jcr.util.NodeUtil.getNodes(NodeUtil.java:666) at info.magnolia.jcr.util.NodeUtil.visit(NodeUtil.java:657) at info.magnolia.jcr.util.NodeUtil.visit(NodeUtil.java:658) at info.magnolia.jcr.util.NodeUtil.visit(NodeUtil.java:658) at info.magnolia.jcr.util.NodeUtil.visit(NodeUtil.java:658) at info.magnolia.jcr.util.NodeUtil.visit(NodeUtil.java:651) at com.nrgedge.delta.AbstractProcessContentTask.processDam(AbstractProcessContentTask.java:41) at com.nrgedge.delta.AbstractProcessContentTask.execute(AbstractProcessContentTask.java:32) at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:514) at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:496) at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:274) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:414) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:411) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:385) at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:268) at info.magnolia.module.ui.ModuleManagerNullUI.onStartup(ModuleManagerNullUI.java:66) at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:149) at info.magnolia.init.MagnoliaServletContextListener$1.doExec(MagnoliaServletContextListener.java:248) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:414) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:411) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:385) at info.magnolia.init.MagnoliaServletContextListener.startServer(MagnoliaServletContextListener.java:245) at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:171) at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:125) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2014-09-04 15:10:05,047 ERROR info.magnolia.module.InstallContextImpl : > Could not install or update eyefinity module. Task 'Install templates' failed. (RepositoryException: Cannot save a new item: item.save()) info.magnolia.module.delta.TaskExecutionException: Failed to update templates with Cannot save a new item: item.save() at info.magnolia.module.inplacetemplating.setup.TemplatesInstallTask.execute(TemplatesInstallTask.java:153) at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:514) at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:496) at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:274) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:414) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:411) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:385) at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:268) at info.magnolia.module.ui.ModuleManagerNullUI.onStartup(ModuleManagerNullUI.java:66) at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:149) at info.magnolia.init.MagnoliaServletContextListener$1.doExec(MagnoliaServletContextListener.java:248) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:414) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:411) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:385) at info.magnolia.init.MagnoliaServletContextListener.startServer(MagnoliaServletContextListener.java:245) at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:171) at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:125) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: javax.jcr.RepositoryException: Cannot save a new item: item.save() at org.apache.jackrabbit.core.ItemSaveOperation.getTransientStates(ItemSaveOperation.java:349) at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:98) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329) at info.magnolia.jcr.wrapper.DelegateNodeWrapper.save(DelegateNodeWrapper.java:541) at info.magnolia.jcr.wrapper.DelegateNodeWrapper.save(DelegateNodeWrapper.java:541) at info.magnolia.jcr.wrapper.MgnlPropertySettingNodeWrapper.save(MgnlPropertySettingNodeWrapper.java:248) at info.magnolia.jcr.wrapper.DelegateNodeWrapper.save(DelegateNodeWrapper.java:541) at info.magnolia.audit.MgnlAuditLoggingContentDecoratorNodeWrapper.save(MgnlAuditLoggingContentDecoratorNodeWrapper.java:235) at info.magnolia.cms.core.DefaultContent.save(DefaultContent.java:510) at info.magnolia.cms.util.ContentUtil.createPath(ContentUtil.java:446) at info.magnolia.cms.util.ContentUtil.createPath(ContentUtil.java:419) at info.magnolia.module.inplacetemplating.setup.TemplatesInstallTask.execute(TemplatesInstallTask.java:140) ... 25 more |
| Comments |
| Comment by Steven McDermott [ 05/Sep/14 ] |
|
Please disregard. I was bootstrapping a template incorrectly, which caused the error. |
| Comment by Richard Gange [ 05/Sep/14 ] |
|
No problem Steven. In the future be sure to create support requests under the SUPPORT project. -r |