Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 176561

Catalog Service PUT requests fail with "optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException"

$
0
0

I'm trying to update an entitlement PUT /api/entitlements/{id} .

It goes through on the FIRST attempt and FAILS all SUCCESSIVE ATTEMPTS.

 

It's the same with other PUT API's of catalog-service

 

{

    "errors": [

        {

            "code": 50505,

            "source": null,

            "message": "System exception.",

            "systemMessage": "Object of class [com.vmware.vcac.catalog.domain.Entitlement] with identifier [6d751a75-2fcd-4b94-ab72-fc8615e40f8e]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.vmware.vcac.catalog.domain.Entitlement#6d751a75-2fcd-4b94-ab72-fc8615e40f8e]",

            "moreInfoUrl": null

        }

    ]

}


Viewing all articles
Browse latest Browse all 176561

Trending Articles