Skip to Content
0
Jun 12, 2018 at 08:57 PM

hmcconfigmigrator incompatible with 6.6

184 Views

HMC Config Migrator (downloaded from https://launchpad.support.sap.com/#/notes/2333970) is unable to process HMC Tree nodes - fails with the following exception:

  java.lang.NoSuchMethodError: com.hybris.cockpitng.config.explorertree.jaxb.ExplorerTree.getNavigationNodeOrTypeNode()Ljava/util/List;
     at de.hybris.hmc2.services.config.impl.DefaultHmc2TreeConfigurationHelper.createConfiguration(DefaultHmc2TreeConfigurationHelper.java:41) ~[?:?]
     at de.hybris.hmc2.services.config.impl.DefaultHmc2ConfigurationService.migrateHMCConfiguration(DefaultHmc2ConfigurationService.java:101) ~[?:?]
     at de.hybris.hmc2.services.config.Hmc2ConfigurationService$migrateHMCConfiguration.call(Unknown Source) ~[?:?]

Apparently the method of ExplorerTree. getNavigationNodeOrTypeNode() was renamed to getNavigationNodeOrTypeNodeOrDynamicNode()