#vulnerable code 
                                @Test
    public void pushAndUpdate() throws IOException, URISyntaxException {
        Swift swift = new Swift()
                .setOnFileObjectStore("websites");
        website = new WebsiteMock(new AccountMock(swift), "website");
        website.pushDirectory(FileAction.getFile("websites/website"));
        assertEquals(7, website.list().size());
        website.pushDirectory(FileAction.getFile("websites/website2"));
        assertEquals(6, website.list().size());
    } 
                            #location 6 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                @Test
    public void pushAndUpdate() throws IOException, URISyntaxException {
        Swift swift = new Swift()
                .setOnFileObjectStore("websites", false);
        website = new WebsiteMock(new AccountMock(swift), "website");
        website.pushDirectory(FileAction.getFile("websites/website"));
        assertEquals(7, website.list().size());
        website.pushDirectory(FileAction.getFile("websites/website2"));
        assertEquals(6, website.list().size());
    }