we've written a client which checkout (using CHECKOUT_BY_NAME) content based on dDocName, updates the document content and again checkin the document (using CHECK)N_UNIVERSAL). When we're doing checkin of already checked-out content we're getting error.
StatusMessage Content item 'CMS020640' was not successfully checked in. Unable to execute service method 'populateMissingDocumentValues'. (System Error: Null pointer is dereferenced.)
Can someone point what's the root cause of this error
Looks like some mandatory parameters for checkin are missing. If you want to know details turn on requestaudit in server-wide tracing to see what parameters are provided from your service and (if you perform a checkin from the web gui) what parameters are required.