Hi I am trying to retrieve the branch name for the below source codd but always thowing Null pointer Exception . I have checked the API and this is how i assume is we need retrieve or may be i am wrong .Please advise.
CSBranch branch = client.getBranch(new CSVPath("//p-web-ts1/default/main/americas/us/en/sites/test.page"), true);
System.out.println("Sub-Branches in the branch: " + branch.getName());