Community
Participate
Working Groups
See: IFileStore fileStore = NewFileServlet.getFileStore(p, authority); File file = fileStore.toLocalFile(EFS.NONE, null); getFileStore can return null, but it is not checked. I think it just needs: if (fileStore == null) return null; Also it would be helpful for the method javadoc to say it can return null (even if this is not API).
Fixed with 3a185c15d207c81f2fc81e1caee5d254c28d98aa.