Uploaded image for project: 'DavEx Integration'
  1. DavEx Integration
  2. JRDVX-8

Updating to 5.6 breaks module installation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 0.2
    • Fix Version/s: 0.3
    • Environment:
      Magnolia 5.6

      Description

      Error:

      java.lang.NoSuchMethodError: info.magnolia.module.InstallContext.getConfigHierarchyManager()Linfo/magnolia/cms/core/HierarchyManager
      

      Code:

        protected void doExecute(InstallContext ctx) throws RepositoryException, TaskExecutionException {
          NodeData methodsProp = ctx.getConfigHierarchyManager().getContent("/server/IPConfig/allow-all").getNodeData("methods");
      

      Stacktrace:

      java.lang.NoSuchMethodError: info.magnolia.module.InstallContext.getConfigHierarchyManager()Linfo/magnolia/cms/core/HierarchyManager;
      	at info.magnolia.jackrabbit.davex.setup.HttpMethodsTask.doExecute(HttpMethodsTask.java:66) ~[magnolia-module-jackrabbit-davex-0.2.jar:?]
      	at info.magnolia.module.delta.AbstractRepositoryTask.execute(AbstractRepositoryTask.java:57) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:511) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:493) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:279) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:407) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:404) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:378) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:273) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ui.ModuleManagerWebUI$2.run(ModuleManagerWebUI.java:126) [magnolia-core-5.6.jar:?]
      	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
      2017-12-03 08:56:20,192 ERROR info.magnolia.module.InstallContextImpl           : [70/707 tasks - null]> Could not perform installation: info.magnolia.module.InstallContext.getConfigHierarchyManager()Linfo/magnolia/cms/core/HierarchyManager;
      java.lang.NoSuchMethodError: info.magnolia.module.InstallContext.getConfigHierarchyManager()Linfo/magnolia/cms/core/HierarchyManager;
      	at info.magnolia.jackrabbit.davex.setup.HttpMethodsTask.doExecute(HttpMethodsTask.java:66) ~[magnolia-module-jackrabbit-davex-0.2.jar:?]
      	at info.magnolia.module.delta.AbstractRepositoryTask.execute(AbstractRepositoryTask.java:57) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:511) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:493) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:279) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:407) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:404) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:378) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:273) ~[magnolia-core-5.6.jar:?]
      	at info.magnolia.module.ui.ModuleManagerWebUI$2.run(ModuleManagerWebUI.java:126) [magnolia-core-5.6.jar:?]
      	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
      2017-12-03 08:56:20,511 INFO  fo.magnolia.objectfactory.ObservedComponentFactory: Re-loaded info.magnolia.freemarker.FreemarkerConfig from node /server/rendering/freemarker
      

        Checklists

        Acceptance criteria

          Attachments

            Activity

              People

              Assignee:
              rgange Richard Gange
              Reporter:
              JaXt0r Michael Dähnert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Checklists

                  Bug DoR
                  DoD

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1d
                    1d