When running this command, in what circumstances would the following error be resulted, in a cluster with MOM failover?
org.springframework.osgi.extender.internal.support.ExtenderConfiguration <init> INFO: No custom extender configuration detected; using defaults... Apr 10, 2018 12:28:57 PM org.springframework.scheduling.timer.TimerTaskExecutor afterPropertiesSet INFO: Initializing Timer Repairing metadata in /mom/CA/APM/Introscope/data/metadata java.lang.NullPointerException at com.wily.introscope.em.smartstor.tools.fileapps.RepairMetaTool.close(RepairMetaTool.java:53) at com.wily.introscope.em.smartstor.tools.fileapps.RepairMetaTool.main(RepairMetaTool.java:77) at com.wily.introscope.em.smartstor.tools.SmartStorTools.main(SmartStorTools.java:64) at com.wily.introscope.eclipseapp.SmartStorTools.start(SmartStorTools.java:11) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Environment
MOM clusters with primary MOM and secondary MOM
Resolution
When the error in the "Background" section is seen, it shows that EM has not been shut down before the command is run.
If this is a MOM cluster with a primary MOM and a secondary MOM, both need to be shut down. Having done so, running the command would be successful.