Fixed python/java error when trying to initialize the client