There is a problem getting information about the current process, I've created the following issue https://github.com/elastic/beats/issues/6426 to followup.
Also, the current log statement hide the original error, making this problem a bit harder to debug than it should be.