ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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)

Cause

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

Environment

Release : 10.3

Component : Spectrum Core / SpectroSERVER

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.