Skip to content

Exception while patch of EnterpriseUser details #946

@harpreet86

Description

@harpreet86

After using Apache Scimple in my SpringBoot application, I tried to test it via scim2-tester but it failed in all patch operations of Enterprise user with below exception.

ERROR check_replace_attribute Failed to replace attribute 'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:costCenter': The server returned a SCIM Error object: Cannot invoke "java.util.Map.get(Object)" because "sourceAsMap" is null

After analyzing, I checked that while create operation I persisted org.apache.directory.scim.spec.resources.ScimUser in database and all details got saved including enterprise User extension ones correctly but while deserializing the same into org.apache.directory.scim.spec.resources.ScimUser it does not read extensions attribute.

Please suggest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions