search cancel

SRM NCM Bucket files not processing for Spectrum 10.4.0 with BMP 1.

book

Article ID: 228447

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

We can see that NCM Bucket files are not processing.

When we check the stdout.log after tomcat restart we can see the following:

 

Jul 06, 2021 11:10:01.713 (SRM/NCMConfigHandler/bucketReader) (SRMNCMHandlerEvents) - (DEBUG) - Processing 3 events.

Jul 06, 2021 11:10:04.088 (SRM/NCMConfigHandler/bucketReader) (com.aprisma.spectrum.app.repmgr.dc.event.handler.VardataMapFactory) - (WARN) - EOF Error while reading vardata. Setting attrVule to 'null' for attrID:14

Jul 06, 2021 11:10:04.088 (SRM/NCMConfigHandler/bucketReader) (com.aprisma.spectrum.app.repmgr.dc.event.handler.NCMConfigHandler) - (ERROR) - Error occurred while processing NCM event bucket

Caused by: java.lang.NumberFormatException: For input string: ""

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

                at java.lang.Integer.parseInt(Integer.java:592)

                at java.lang.Integer.parseInt(Integer.java:615)

                at com.aprisma.spectrum.app.repmgr.dc.event.attrmapper.CsModelHandleMapper.mapToJavaObject(CsModelHandleMapper.java:29)

                at com.aprisma.spectrum.app.repmgr.dc.event.handler.VardataMapFactory.doBuildMap(VardataMapFactory.java:144)

                at com.aprisma.spectrum.app.repmgr.dc.event.handler.VardataMapFactory.buildMap(VardataMapFactory.java:96)

                at com.aprisma.spectrum.app.repmgr.dc.event.handler.NCMConfigBucketReader.constructDTO(NCMConfigBucketReader.java:129)

                at com.aprisma.spectrum.app.repmgr.dc.event.handler.NCMConfigBucketReader.processBucketRecords(NCMConfigBucketReader.java:83)

                at com.aprisma.spectrum.app.repmgr.dc.event.handler.AbstractBucketReader.readBucket(AbstractBucketReader.java:133)

                at com.aprisma.spectrum.app.repmgr.dc.event.handler.BucketReaderScheduler$ScheduledReader.run(BucketReaderScheduler.java:118)

                at com.aprisma.util.thread.JobQueue.runJobThread(JobQueue.java:221)

                at com.aprisma.util.thread.JobQueue.access$000(JobQueue.java:15)

                at com.aprisma.util.thread.JobQueue$JobRunnable.run(JobQueue.java:24)

                at java.lang.Thread.run(Thread.java:748)

 

Jul 06, 2021 11:10:04.088 (SRM/NCMConfigHandler/bucketReader) (com.aprisma.spectrum.app.repmgr.dc.event.handler.NCMConfigHandler) - (ERROR) - Critical failure with events; processing halted for all servers.

 

Cause

Code logic did not account if the string would be empty

Environment

Release : 10.4

Component : Spectrum Reporting

Resolution

Patch 10.04.00.D184 to resolve this issue

Patch 10.04.00.D190 if PTF_029 is installed to fix SRM Polling issue.