创建名为"atabaseJobStore.JobSerialalizationErrorChecker"的bean时、AIQUM服务无法启动NPE错误
适用场景
- ActiveIQ Unified Manager ( AIQUM ) 9.6 及更高版本
- OVA
- Java空指针异常(NPE)
问题描述
- AIQUM ocie服务突然崩溃
- 重新启动或升级到更高版本后未出现
dfm-app.war
部署文件失败、并显示以下错误:
cat /opt/netapp/essentials/jboss/standalone/deployments/dfm-app.war.failed
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseJobStore.JobSerializationErrorChecker': Invocation of init method failed; nested exception is java.lang.NullPointerException
Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseJobStore.JobSerializationErrorChecker': Invocation of init method failed; nested exception is java.lang.NullPointerException
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseJobStore.JobSerializationErrorChecker': Invocation of init method failed; nested exception is java.lang.NullPointerException
- SERVER.log:
ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 121) MSC000001: Failed to start service jboss.deployment.unit."dfm-app.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."dfm-app.war".undertow-deployment: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseJobStore.JobSerializationErrorChecker': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.wildfly.extension.undertow@19.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81) [wildfly-undertow-19.0.0.Final.jar:19.0.0.Final]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [java.base:]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [java.base:]
at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) [jboss-threads-2.3.3.Final.jar:2.3.3.Final]
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) [jboss-threads-2.3.3.Final.jar:2.3.3.Final]
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) [jboss-threads-2.3.3.Final.jar:2.3.3.Final]
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) [jboss-threads-2.3.3.Final.jar:2.3.3.Final]
at java.base/java.lang.Thread.run(Thread.java:829) [java.base:]
at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485) [jboss-threads-2.3.3.Final.jar:2.3.3.Final]
Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseJobStore.JobSerializationErrorChecker': Invocation of init method failed; nested exception is java.lang.NullPointerException