Github user photogamerun commented on the issue:
https://github.com/apache/carbondata/pull/2178
firstly let me explain this change
private Set<String> updateTableList(String schemaName, String user) {
updateCarbonFile(user);
private CarbonFile carbonFileList; is initially null
only this method updateCarbonFile give the value to carbonFileList
so once user call updateTableList(user) without initilize carbonFileList it
will throw nullpointexception in updateTableList method
List<CarbonFile> schema =
Stream.of(carbonFileList.listFiles()).filter(a ->
schemaName.equals(a.getName()))
.collect(Collectors.toList());
---