Skip to content

Boolean null values in obligation filter can trigger NPE #3881

@YianZhao

Description

@YianZhao

Description

RestControllerHelper#getObligationIdsFromRequestWithValueTrue(...) may throw a NullPointerException when the request body map contains a key with a null Boolean value.

Currently the filter uses:

reqBodyMap.getValue().equals(true)

//If getValue() returns null, this causes an NPE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions