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

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)

 Also, there are thousands of modelcreatedestroy buckets in the reporting folder.

Environment

Release : 10.4.3.1 / 21.2.1

Component : Spectrum Reporting (SRM)

Cause

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

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)

Set the parameter "com.aprisma.reportmanager.processLineCardData" value to false in $SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml.