Lots of NullPointerExceptionregarding errors with VNA integration in tomcat log file

book

Article ID: 209797

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Problem: Below exception is seen when there is a delete IS_COMPOSED_OF relation in update
 
I was troubleshooting an issue with the Customer regarding integration between Spectrum and VNA (20.2.5 running on Spectrum, 3.7.10 for VNA). The only issue remaining is the following error messages showing in the catalina.log:
 
Mar 02, 2021 13:10:09.215 (pool-5-thread-9387) (SDNIntegrationServlet) - Processing deletion of relations....
Mar 02, 2021 13:10:09.215 (pool-5-thread-9387) (SDNIntegrationServlet) -  Entering parseRelations .. 
Mar 02, 2021 13:10:09.215 (pool-5-thread-9387) (SDNIntegrationServlet) - relId = 65540 RelationType = IS_COMPOSED_OF
Mar 02, 2021 13:10:09.215 (pool-5-thread-9387) (SDNIntegrationServlet) -  Left_relId = 16375044 Right_relId = 20308335
Mar 02, 2021 13:10:09.216 (pool-5-thread-9387) (SDNIntegrationServlet) -  Submitting the Callable task to thread pool
Mar 02, 2021 13:10:09.216 (pool-6-thread-144) (SDNIntegrationServlet) - parsing IsComposed Of Relation 
Mar 02, 2021 13:10:09.216 (pool-6-thread-144) (SDNIntegrationServlet) - leftMh : 0x49006b37
Mar 02, 2021 13:10:09.216 (pool-6-thread-144) (SDNIntegrationServlet) - rightMh : null
java.lang.NullPointerException
    at com.ca.spectrum.app.sdn.integration.manager.SDNModeling.handleIsComposedOfRel(SDNModeling.java:2082)
    at com.ca.spectrum.app.sdn.integration.manager.SDNModeling.parseRelations(SDNModeling.java:1938)
    at com.ca.spectrum.app.sdn.integration.manager.SDNModeling.startModeling(SDNModeling.java:882)
    at com.ca.spectrum.app.sdn.integration.manager.SDNModelingThread.run(SDNModelingThread.java:50)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Mar 02, 2021 13:10:09.216 (pool-5-thread-9387) (SDNIntegrationServlet) - Discovering Connections....

Cause

Used Future list object for parallel processing of IS_COMPOSED_OF relation. Assigned NULL for this object in processing of added relation.
That is why the exception is thrown in the processing of delete relation.

Environment

Release : 20.2

Component : Spectrum Integrations

Resolution

The fix related to the exception is delivered to main stream and will be available in the upcoming release, but there is no ETA at this time.