We have devices missing in our SRM Group Asset Reports, and we see errors : java.lang.NumberFormatException in tomcat log

book

Article ID: 226116

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

After reinitialized faulty landscape in SRM we are getting the following errors and no Global Collections in Reports.

 

Sep 23, 2021 22:16:39.477 (Thread-108) (AssetManagerLogging) - (ERROR) - addDeviceModel()

Caused by: java.lang.NumberFormatException: For input string: "subslot 0/0 transceiver 0"

                at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

                at java.lang.Long.parseLong(Long.java:589)

                at java.lang.Long.parseLong(Long.java:631)

                at com.aprisma.spectrum.app.repmgr.dc.asset.AssetManager.lineCardUpdate(AssetManager.java:1313)

 

Cause

SRM was failing to process NCM Events due to NumberFormatException and hence it was skipping the NCM events processing.

Environment

Release : 10.4.3.1 / 21.2.1

Component : Spectrum Reporting (SRM)

Resolution

Code changes are done to fix the NumberFormatException issue. SRM is able to process all NCM Events successfully.

For Spectrum 10.4.3.1 please request patch 10.04.03.01.D196 from Support

For Spectrum 21.2.1 please request patch 21.02.01.D06 from Support

 

 

Additional Information

This is fixed out of box in Spectrum 21.2.4..

 


Symptom: Unprocessed bucket files are increasing specifically for NCM Events.
Resolution: SRM was failing to process NCM Events due to NumberFormatException and hence it was skipping the NCM events processing. Code changes are done to fix the NumberFormatException issue. SRM is able to process all NCM Events successfully. (DE511472,  21.2.4)