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....