ISingleDriver driver = (ISingleDriver) DriverUtil.chooseDriver(p.getByteArray()); if (driver != null) { p.setDriver(driver); } else {
p.setDriver(); if (p.getDriver().isNullDriver()) {
    void revalidateDriver() {        ISingleDriver driver = (ISingleDriver) DriverUtil.chooseDriver(p.getByteArray());        if (driver != null) {            p.setDriver(driver);        } else {            try {                setClosed(true);            } catch (PropertyVetoException e) {                ErrorMsg.reportStatus(e);            }            return;        }    }