Skip to Content
author's profile photo Former Member
Former Member

Backoffice broken with enumValueResolver error

I'm using hybris 6.4.0.5. Occasionally, backoffice throw the following error, and the only way to bring it back is to restart hybris application.

error trace: INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | ^[[1;31mERROR [hybrisHTTP88] [172.17.7.1] [DefaultWidgetInstanceManager] Error during send output INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | ^[[m org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.hybris.cockpitng.editor.defaulten um.DefaultEnumEditor': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'enumValueResolver' is expected to be of type [com.hybris.cockpitng.editor.defaultenum.EnumValueResolver] but was actually of type [com.hybris.backoffice.solrsearch.resolvers.EnumValueResolver] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBean PostProcessor.java:321) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFa ctory.java:1219) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBean(AbstractAutowireCapableBeanFa ctory.java:302) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.dependencies.impl.SpringApplicationContextDependencyResolver.injectDependencies(SpringApplicationC ontextDependencyResolver.java:67) ~[cockpitcore-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.dependencies.factory.impl.SpringApplicationContextInjectableObjectFactory.injectDependencies(Sprin gApplicationContextInjectableObjectFactory.java:66) ~[cockpitcore-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.components.Editor$CockpitEditorRendererFactory.injectDependencies(Editor.java:1204) ~[cockpitframe work-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.components.Editor$CockpitEditorRendererFactory.injectDependencies(Editor.java:1179) ~[cockpitframe work-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.dependencies.factory.impl.SpringApplicationContextInjectableObjectFactory.createAndInjectDependenc ies(SpringApplicationContextInjectableObjectFactory.java:77) ~[cockpitcore-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.components.Editor.prepareEditorRenderer(Editor.java:344) ~[cockpitframework-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.components.Editor.initialize(Editor.java:274) ~[cockpitframework-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.components.Editor.afterCompose(Editor.java:185) ~[cockpitframework-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer.createEditor(AbstractEditorAr eaComponentRenderer.java:357) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer$AttributeEditorWithLabelRenderer .render(DefaultEditorAreaSectionRenderer.java:453) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer$AttributeEditorWithLabelRenderer .render(DefaultEditorAreaSectionRenderer.java:442) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:79) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer$AttributeRenderer.render(Default EditorAreaSectionRenderer.java:530) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer$AttributeRenderer.render(Default EditorAreaSectionRenderer.java:509) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:79) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer.renderAttributes(DefaultEditorAr eaSectionRenderer.java:320) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer.renderAttributes(DefaultEditorAr eaSectionRenderer.java:348) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer$2.render(DefaultEditorAreaSectio nRenderer.java:274) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer$2.render(DefaultEditorAreaSectio nRenderer.java:260) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:79) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer.render(DefaultEditorAreaSectionR enderer.java:123) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer.render(DefaultEditorAreaSectionR enderer.java:69) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:79) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaTabRenderer.render(DefaultEditorAreaTabRenderer. java:73) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaTabRenderer.render(DefaultEditorAreaTabRenderer. java:31) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:79) ~[backoffice-widgets-6.4.0.5-RC4.jar:?] INFO | jvm 1 | main | 2017/12/15 08:53:03.432 | at com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaRenderer.lambda$ren

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 18, 2017 at 09:36 AM

    Hi ,

    It was reaported to Backoffice team (please take a look at https://jira.hybris.com/browse/ECP-2151). It is caused by duplicated bean name in different extensions. You can reach out to hybris support for them to provide you a workaround or fix it by yourself.

    Cheers, Jacek

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.