#fixed code
                                protected void getInfo() {
        this.info = new ObjectInformationCommand(getAccount(), getClient(), getAccess(), getContainer(), this).call();
        this.setInfoRetrieved();
    }
#vulnerable code 
                                protected void getInfo() {
        ObjectInformation info = new ObjectInformationCommand(getAccount(), getClient(), getAccess(), getContainer(), this).call();
        this.lastModified = info.getLastModified();
        this.etag = info.getEtag();
        this.contentLength = info.getContentLength();
        this.contentType = info.getContentType();
        this.setMetadata(info.getMetadata());
        this.setInfoRetrieved();
    } 
                            #location 3 
                            #vulnerability type NULL_DEREFERENCE