Spectrum Modeling Gateway error "java.lang.NullPointerException" thrown when exporting services
search cancel

Spectrum Modeling Gateway error "java.lang.NullPointerException" thrown when exporting services

book

Article ID: 8506

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

When running modelinggateway to export the services, the following exception is thrown: 

user@host SS-Tools]$ ./modelinggateway -vnm host -e file.xml 

 

Modeling Gateway export started. Tue, Oct 24, 2017, at 09:50:32 AM CEST 

 

Exporting 1384 Service models... 

Exporting 2658 Service associations... 

Modeling Gateway export exception: 

java.lang.NullPointerException 

    at com.aprisma.tie.export.AssociationExport.exportToXmlFile(AssociationExport.java:87) 

    at com.aprisma.tie.export.ExportModule.exportModuleToFile(ExportModule.java:170) 

    at com.aprisma.tie.export.TopologyFileExport.exportToFile(TopologyFileExport.java:317) 

    at com.aprisma.tie.export.MgExportMain.startExport(MgExportMain.java:186) 

    at com.aprisma.tie.export.MgExportMain.startExport(MgExportMain.java:74) 

    at com.aprisma.tie.ModelingGateway.performAction(ModelingGateway.java:351) 

    at com.aprisma.tie.ModelingGatewayMain.main(ModelingGatewayMain.java:180)

Environment

DX NetOps Spectrum all releases

Cause

Issue caused by empty Customers Group.

Resolution

Via Service Editor, delete the empty Customers Group or create new customers to add to the empty groups.