Error running CA Spectrum Modeling Gateway export when using a custom attribute and/or model types with 0xfffnnnnn handles

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

ISSUE:

The following error is seen when running Spectrum Modeling Gateway export when using custom attribute and/or model types with 0xfffnnnnn attribute id's or model type handles:

Modeling Gateway export exception:
java.lang.NumberFormatException: For input string: "ffff0000"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65
)
at java.lang.Integer.parseInt(Integer.java:495)
at
com.aprisma.tie.util.CMDBTieTables.convertStringToInt(CMDBTieTables.java:797
)
at
com.aprisma.tie.export.CMDBFileExport.writeDevicesToFile(CMDBFileExport.java
:380)
at
com.aprisma.tie.export.CMDBFileExport.exportToXmlFile(CMDBFileExport.java:81
)
at com.aprisma.tie.export.CMDBExport.startExport(CMDBExport.java:176)
at com.aprisma.tie.ModelingGateway.performAction(ModelingGateway.java:370)
at com.aprisma.tie.ModelingGatewayMain.main(ModelingGatewayMain.java:59)

 

ROOT CAUSE:

The Modeling Gateway converts the attribute id's and model type handles from Hexadecimal to Integer in Java. In Java, an Integer can have a maximum value of 2,147,483,647 (signed int 32 bit). Attribute id's and model type handle that start with 0xfff are greater than the MAX Integer value in JAVA.

 

RESOLUTION:

This issue is addressed in the Spectrum 09.03.00.H02 HotFix for the Spectrum 09.03.00 code stream and will be addressed in Spectrum 09.04.03.00 and 10.01.00.00.