Skip to content

SecurityLabel class cannot deserialize #5

@anlklsim

Description

@anlklsim

Using the 2.7.5 or 2.9.1 versions of the SDK, the SecurityLabel throws the following exception since there isn't a "color" field defined in the class when it's deserialized:

Exception in thread "main" java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "color" (class com.threatconnect.sdk.server.entity.SecurityLabel), not marked as ignorable (3 known properties: "dateAdded", "name", "description"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions