Skip to main content
NetApp Knowledge Base

Suddenly Unified Manager fails to start throwing Java error creating bean

Views:
460
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

Applies to

OnCommand Unified Manager 9.5

Issue

UM fails suddenly and does not start anymore

 

Server.log

2021-02-16 09:44:11,115 ERROR [stderr] (alert-117) Exception in thread "alert-117" java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117)     at deployment.dfm-app.war//com.netapp.dfm.impl.alert.EmailAlertAction.getTemplateData(EmailAlertAction.java:272)
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117)     at deployment.dfm-app.war//com.netapp.dfm.impl.alert.EmailAlertAction.execute(EmailAlertAction.java:216)
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117)     at deployment.dfm-app.war//com.netapp.dfm.impl.alert.AlertManager$1.run(AlertManager.java:215)
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117)     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117)     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2021-02-16 09:44:11,117 ERROR [stderr] (alert-117)     at deployment.dfm-app.war//com.netapp.dfm.common.logging.MDCClearingThreadFactory$1.run(MDCClearingThreadFactory.java:28)
2021-02-16 09:44:11,117 ERROR [stderr] (alert-117)     at java.base/java.lang.Thread.run(Thread.java:834)

followed by

2021-02-16 11:10:50,804 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 114) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'api' defined in com.netapp.ocf.rest.core.docs.config.SwaggerConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method 'api' threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants
    ...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'api' defined in com.netapp.ocf.rest.core.docs.config.SwaggerConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method 'api' threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants
    ...
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method 'api' threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants
    at deployment.dfm-app.war//org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
    at deployment.dfm-app.war//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
    ... 43 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.