JPL-IMCE / gov.nasa.jpl.imce.oml

Ontology Modeling Language (OML) Workbench
14 stars 1 forks source link

Serialization bug for parsing OMLZip NumericalScalarRestrictions #318

Closed NicolasRouquette closed 4 years ago

NicolasRouquette commented 4 years ago
OMLZip. Loading: file:/data/inputs/branches/ghw-merged/normalized/src/main/oml/www.w3.org/2001/XMLSchema.omlzip
### 1 Conversion Errors! ###
OMLTables.toLiteralNumber(value): ill-formed value=null
java.lang.IllegalArgumentException: OMLTables.toLiteralNumber(value): ill-formed value=null
        at gov.nasa.jpl.imce.oml.model.extensions.OMLTables.toLiteralNumber(OMLTables.java:1607)
        at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.readNumericScalarRestrictions(OMLSpecificationTables.java:4299)
        at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.lambda$69(OMLSpecificationTables.java:3729)
        at java.util.ArrayList.forEach(ArrayList.java:1257)
        at gov.nasa.jpl.imce.oml.zip.OMLSpecificationTables.load(OMLSpecificationTables.java:3901)
        at gov.nasa.jpl.imce.oml.zip.OMLZipResource.loadInternal(OMLZipResource.java:491)
        at gov.nasa.jpl.imce.oml.zip.OMLZipResource.load(OMLZipResource.java:180)