SmartStorTools.sh tool fails with "java.lang.NullPointerException."

Document ID : KB000058006
Last Modified Date : 04/07/2018
Show Technical Document Details
Issue:

The Smartstor Tool utility fails with the following Null Pointer Exception:

 
org.springframework.scheduling.timer.TimerTaskExecutorafterPropertiesSet
INFO: Initializing Timer java.lang.NullPointerException       
at com.wily.introscope.server.enterprise.entity.fsdb.metadata.memoryimpl.MetadataFile.finishLoading(MetadataFile.java:1247)       
at com.wily.introscope.em.smartstor.tools.fileapps.SpecialMetadataFileWrangler.loadMetadata(SpecialMetadataFileWrangler.java:122)      
at com.wily.introscope.em.smartstor.tools.fileapps.SpecialMetadataFileWrangler.(SpecialMetadataFileWrangler.java:43)       
at com.wily.introscope.em.smartstor.tools.fileapps.RegexTester.getMetadata(RegexTester.java:181)     
at com.wily.introscope.em.smartstor.tools.fileapps.RegexTester.main(RegexTester.java:82)       
at com.wily.introscope.em.smartstor.tools.SmartStorTools.main(SmartStorTools.java:60)       
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(Unknown Source)       
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)       
at java.lang.reflect.Method.invoke(Unknown Source)       
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:
    Any APM
    Cause:
    This is a known problem if the Smartstor Archive Folder location is not directly below the Data Directory
    Resolution:
    This is defined in the following two parameters in the IntroscopeEnterpriseManager.properties file:

    introscope.enterprisemanager.smartstor.directory=data
    introscope.enterprisemanager.smartstor.directory.archive=data/archive

    Do the following steps to help resolve this issue:

    • Edit the IntroscopeEnterpriseManager.properties file
    • Make the needed corrections to the above two parameters.
    • Save the IntroscopeEnterpriseManager.properties file
    • Restart the Introscope Enterprise Manager