BulkMibCompile script ending with null pointer exception
search cancel

BulkMibCompile script ending with null pointer exception

book

Article ID: 186621

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction

BulkMibCompile.sh script ends with the following error: 

$ /ca/spectrum/MibDatabase/scripts/BulkMibCompile.sh -d /home/extraced_mibs/


MySQL authentication success.


java.lang.NullPointerException
java.lang.NullPointerException
        at com.aprisma.spectrum.app.mib.web.BulkMibCompile.main(BulkMibCompile.java:304)

Environment

Release : 10.3

Component : Spectrum Core / SpectroSERVER

Cause

- Check permissions on the directory where the mibs are located. 
- Incorrect/invalid permissions will cause this type of issue

Resolution

- Logged in Spectrum Admin user to the SpectroSERVER Bash shell
- Extracted the MIB files to <SPECROOT>/MibDatabase/userContrib and ran the script  - the MIBs imported fine.