on 2018 May 10 2:51 PM
Hi Experts,
I am trying to upgrade Hybris System from v5.6 to v6.7. While generating Backoffice configuration for my custom extensions using HMC Config Migrator Utility getting following Exception. Looks like Classes and methods in "backoffice-widgets-6.7.0.0-RC8.jar" have changed while the migrator utility is still referring the older versions. Has Hybris rolled out upgraded version of Config Migrator utility for v6.7? If not, is there any work around for this issue?
Exception Log-
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) ~[?:?] at HmcConfigMigratorWidgetController.migrateSelected(script1525952219675942428006.groovy:382) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60] at com.hybris.cockpitng.util.ViewAnnotationAwareComposer.invokeListenerMethod(ViewAnnotationAwareComposer.java:107) ~[cockpitframework-6.7.0.0-RC8.jar:?] at com.hybris.cockpitng.util.DefaultWidgetController.invokeListenerMethod(DefaultWidgetController.java:178) ~[cockpitframework-6.7.0.0-RC8.jar:?] at com.hybris.cockpitng.util.ViewAnnotationAwareComposer.lambda$applyEventListener$0(ViewAnnotationAwareComposer.java:124) ~[cockpitframework-6.7.0.0-RC8.jar:?] at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:3162) ~[zk-8.5.0.jar:3.6.4] at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:3132) ~[zk-8.5.0.jar:3.6.4] at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:3074) ~[zk-8.5.0.jar:3.6.4] at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138) ~[zk-8.5.0.jar:3.6.4] at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1846) ~[zk-8.5.0.jar:3.6.4] at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1618) [zk-8.5.0.jar:3.6.4] at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1321) [zk-8.5.0.jar:3.6.4] at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:606) [zk-8.5.0.jar:3.6.4] at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482) [zk-8.5.0.jar:3.6.4] at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:490) [zk-8.5.0.jar:3.6.4] at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [servlet-api.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:208) [spring-security-web-4.2.4.RELEASE.jar:4.2.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) [spring-security-web-4.2.4.RELEASE.jar:4.2.4.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347) [spring-web-4.3.14.RELEASE.jar:4.3.14.RELEASE]
Regards, Manoj.
Request clarification before answering.
Hi,
the tool is offered with no guarantees and in general is not maintained. The good news is that you have some options:
you can modify the sources of the tool so that it will be compatible with the new version
if possible to compile and stn earlier version, you can run the tool against that version (the final config.xml should be the same)
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.