#vulnerable code 
                                protected void getInfo() {
        ContainerInformation info = new ContainerInformationCommand(getAccount(), getClient(), getAccess(), this).call();
        this.bytesUsed = info.getBytesUsed();
        this.objectCount = info.getObjectCount();
        this.publicContainer = info.isPublicContainer();
        this.setMetadata(info.getMetadata());
        this.setInfoRetrieved();
    } 
                            #location 3 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                protected void getInfo() {
        this.info = new ContainerInformationCommand(getAccount(), getClient(), getAccess(), this).call();
        this.setInfoRetrieved();
    }