Running modelinggateway to export the services customer is getting a Modeling Gateway export exception: java.lang.NullPointerException

Document ID : KB000008506
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Running modelinggateway to export the services customer is getting the following exception: 

 

spectrum@SPECSRV1 SS-Tools]$ ./modelinggateway -vnm SPECSRV1 -e prueba3.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:
Spectrum 10.2.1 on Windows
Cause:

Issue caused by two empty Customers Group.

Resolution:

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