Not able to create the TransportClient of the PreBuiltXPackTransportClient

So transport_client_user has not been created.

May be you did not read that? https://www.elastic.co/guide/en/x-pack/current/java-clients.html

BTW I moved your question to #x-pack