I'm getting CMISNotFoundException while accessing the root folder even though i already have many documents uploaded to the repository.I'm able to fetch the repository id but getRootFolder throws error

could not fetch folder due to org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Object not found
```
s = d.getSession().session;
p.append("Successfully established session \n");
p.append("id:"+s.getRepositoryInfo().getId()+"\n");
try {
	Folder folder = s.getRootFolder();
	}catch(Exception e) {
           p.append("could not fetch folder due to "+e.toString()+"\n");
	}
	  
```

Why is this happening?