Smarts ASAM: When using the DevicesNotInEffect.conf file to do discovery for ASAM Adapter into TSM; Get the followin java error: MAIN_MSG-*-STDFD_ERR-stderr: java.lang.NullPointerException
search cancel

Smarts ASAM: When using the DevicesNotInEffect.conf file to do discovery for ASAM Adapter into TSM; Get the followin java error: MAIN_MSG-*-STDFD_ERR-stderr: java.lang.NullPointerException

book

Article ID: 331684

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


When using the DevicesNotInEffect.conf file to do discovery for ASAM Adapter into TSM, during discovery the following Java NullPointerException error occurs:

[July 20, 2016 7:28:39 PM GMT+00:00 +638ms] t@120317696 platform
MAIN_MSG-*-STDFD_ERR-stderr: Exception in thread "SmWorker"

[July 20, 2016 7:28:39 PM GMT+00:00 +638ms] t@120317696 platform
MAIN_MSG-*-STDFD_ERR-stderr: java.lang.NullPointerException
at com.smarts.asac.processcontrol.EventFacade.deleteAllIGMPInterfacesInRouter(EventFacade.java:298)
at com.smarts.asac.processcontrol.EventFacade.deleteRouter(EventFacade.java:122)
at com.smarts.asac.processcontrol.EventFacade.deleteRouter(EventFacade.java:79)

[July 20, 2016 7:28:39 PM GMT+00:00 +638ms] t@120317696 platform
MAIN_MSG-*-STDFD_ERR-stderr: at com.smarts.asac.AlcatelSAMAdapter.reloadFilters(AlcatelSAMAdapter.java:1157)
at com.smarts.asac.ems.AlcSamDiscoveryTask.doExecute(AlcSamDiscoveryTask.java:175)
at com.smarts.agLib.basics.SmWorkTask.execute(SmWorkTask.java:53)

[July 20, 2016 7:28:39 PM GMT+00:00 +638ms] t@120317696 platform
MAIN_MSG-*-STDFD_ERR-stderr: at com.smarts.agLib.basics.SmWorker.run(SmWorker.java:42)


When the command "dmctl -s <ASAM domain> get GA_StringDictionary::AdapterFilters" is ran, the following output was observed:

Properties of GA_StringDictionary::AdapterFilters:
CreationClassName = GA_StringDictionary
Name = AdapterFilters
ServiceName =
keys =

{ <device name> }

map =


Environment

VMware Smart Assurance - SMARTS

Cause

The process was trying to remove the device listed within the DevicesNotInEffect.conf from the topology when executing deleteAllIGMPInterfacesInRouter.

Resolution

Restart Topology Split Manager and ASAM with a clean repository.  This will resolve the issue.

Additional Information

To trigger a discovery for ASAM, run the following command: 

sm_adapter -s <ASAM domain> /opt/EMC/ASAM/smarts/rules/alcatel-sam/discover.asl