When an administrator tries to delete a content source in Service Broker, an Internal Server Error is seen in the UI and a log exception is generated similar to the entry Unable to deserialize object value from JSON within the snippet below:
2021-xx-xxT15:08:41.573Z INFO catalog-service-app [host='catalog-service-app-id' thread='http-nio-8000-exec-24' user='mssid' org='<Org id>' trace='<trace id>'] c.v.t.c.s.CatalogSourceServiceImpl - Deleting CatalogSource(id=<catalog id>) 2021-xx-xxT15:08:41.583Z ERROR catalog-service-app [host='catalog-service-app-id' thread='http-nio-8000-exec-24' user='mssid' org='<Org id>' trace='<trace id>'] c.v.s.webmvc.error.RestExceptionHandler - Internal Error com.vmware.symphony.webmvc.error.exception.InternalErrorException: Internal Server Error [Error Reference ID: {<error id>}]
at com.vmware.symphony.webmvc.error.exception.InternalErrorException.wrap(InternalErrorException.java:36)
Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: Unable to deserialize object value from JSON: {"type": "object", "required": ["disks"], "properties": {"disks": {"type": "array", "items": {"type": "object", "maxItems": 5, "properties": {"size": {"type": "number", "title": "Size GB", "maximum": 1024.0, "minimum": 1.0}, "mountpoint": {"type": "string", "title": "Mountpoint/Drive Letter"}}}, "title": "Disks", "description": "Data disk mount points and sizes"}, "cpuCount": {"type": "integer", "oneOf": [{"const": 2, "title": "2"}, {"const": 4, "title": "4"}, {"const": 8, "title": "8"}], "default": 2, "maximum": 8, "minimum": 2}, "totalMemoryMB": {"enum": [1024.0], "type": "number", "title": "Memory", "default": 1024, "maximum": 8192.0, "minimum": 1024.0}}}; nested exception is
java.lang.IllegalArgumentException: Unable to deserialize object value from JSON: {"type": "object", "required": ["disks"], "properties": {"disks": {"type": "array", "items": {"type": "object", "maxItems": 5, "properties": {"size": {"type": "number", "title": "Size GB", "maximum": 1024.0, "minimum": 1.0}, "mountpoint": {"type": "string", "title": "Mountpoint/Drive Letter"}}}, "title": "Disks", "description": "Data disk mount points and sizes"}, "cpuCount": {"type": "integer", "oneOf": [{"const": 2, "title": "2"}, {"const": 4, "title": "4"}, {"const": 8, "title": "8"}], "default": 2, "maximum": 8, "minimum": 2}, "totalMemoryMB": {"enum": [1024.0], "type": "number", "title": "Memory", "default": 1024, "maximum": 8192.0, "minimum": 1024.0}}}
Caused by: java.lang.IllegalArgumentException: Unable to deserialize object value from JSON: {"type": "object", "required": ["disks"], "properties": {"disks": {"type": "array", "items": {"type": "object", "maxItems": 5, "properties": {"size": {"type": "number", "title": "Size GB", "maximum": 1024.0, "minimum": 1.0}, "mountpoint": {"type": "string", "title": "Mountpoint/Drive Letter"}}}, "title": "Disks", "description": "Data disk mount points and sizes"}, "cpuCount": {"type": "integer", "oneOf": [{"const": 2, "title": "2"}, {"const": 4, "title": "4"}, {"const": 8, "title": "8"}], "default": 2, "maximum": 8, "minimum": 2}, "totalMemoryMB": {"enum": [1024.0], "type": "number", "title": "Memory", "default": 1024, "maximum": 8192.0, "minimum": 1024.0}}}
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Schema type must be ARRAY at [Source: (String)"{"type": "object", "required": ["disks"], "properties": {"disks": {"type": "array", "items": {"type": "object", "maxItems": 5, "properties": {"size": {"type": "number", "title": "Size GB", "maximum": 1024.0, "minimum": 1.0}, "mountpoint": {"type": "string", "title": "Mountpoint/Drive Letter"}}}, "title": "Disks", "description": "Data disk mount points and sizes"}, "cpuCount": {"type": "integer", "oneOf": [{"const": 2, "title": "2"}, {"const": 4, "title": "4"}, {"const": 8, "title": "8"}], "defau"[truncated 166 chars]; line: 1, column: 125] (through reference chain: com.vmware.json.schema.model.JsonSchemaBuilder["properties"]->java.util.LinkedHashMap["disks"]->com.vmware.json.schema.model.JsonSchemaBuilder["items"]->com.vmware.json.schema.model.JsonSchemaBuilder["maxItems"])