Buggy code:
@ SuppressWarnings ( "unchecked" ) public abstract class AbstractEditProperties extends ShareDialogue { protected AbstractEditProperties ( WebDrone drone ) { } private Log logger = LogFactory . getLog ( this . getClass ( ) ) ; protected static final By INPUT_NAME_SELECTOR = By . cssSelector ( "input[id$='prop_cm_name']" ) ; protected static final By INPUT_TITLE_SELECTOR = By . cssSelector ( "input[id$='prop_cm_title']" ) ; protected static final By INPUT_DESCRIPTION_SELECTOR = By . cssSelector ( "textarea[id$='prop_cm_description']" ) ; protected static final By INPUT_AUTHOR_SELECTOR = By . cssSelector ( "input[id$='prop_cm_author']" ) ; protected static final By INPUT_RESOLUTION_UNIT_SELECTOR = By . cssSelector ( "input[id$='prop_exif_resolutionUnit']" ) ; protected static final By INPUT_VERTICAL_RESOLUTION_SELECTOR = By . cssSelector ( "input[id$='_prop_exif_yResolution']" ) ; protected static final By INPUT_ORIENTATION_SELECTOR = By . cssSelector ( "input[id$='prop_exif_orientation']" ) ; protected static final By BUTTON_SELECT_TAG = By . cssSelector ( "div[id$='cntrl-itemGroupActions']" ) ; protected static final By CATEGORY_BUTTON_SELECT_TAG = By . cssSelector ( "div[id$='categories-cntrl-itemGroupActions']" ) ; protected static final By BUTTON_ALL_PROPERTIES = By . cssSelector ( "a[id$='editMetadata-button']" ) ; protected static final By CHECK_BOX_MODEL_ACTIVE = By . cssSelector ( "input[id$='_modelActive-entry']" ) ; protected static final By CHECK_BOX_WORKFLOW_DEPLOYED = By . cssSelector ( "input[id$='_definitionDeployed-entry']" ) ; protected static final By INPUT_PUBLISHER_SELECTOR = By . cssSelector ( "input[id$='prop_cm_publisher']" ) ; protected static final By INPUT_CONTRIBUTOR_SELECTOR = By . cssSelector ( "input[id$='prop_cm_contributor']" ) ; protected static final By INPUT_TYPE_SELECTOR = By . cssSelector ( "input[id$='prop_cm_type']" ) ; protected static final By INPUT_IDENTIFIER_SELECTOR = By . cssSelector ( "input[id$='prop_cm_identifier']" ) ; protected static final By INPUT_SOURCE_SELECTOR = By . cssSelector ( "input[id$='prop_cm_dcsource']" ) ; protected static final By INPUT_COVERAGE_SELECTOR = By . cssSelector ( "input[id$='prop_cm_coverage']" ) ; protected static final By INPUT_RIGHTS_SELECTOR = By . cssSelector ( "input[id$='prop_cm_rights']" ) ; protected static final By INPUT_SUBJECT_SELECTOR = By . cssSelector ( "input[id$='prop_cm_subject']" ) ; protected static final By INPUT_ENDPOINT_HOST_SELECTOR = By . cssSelector ( "input[id$='endpointhost']" ) ; protected static final By INPUT_ENDPOINT_PORT_SELECTOR = By . cssSelector ( "input[id$='endpointport']" ) ; protected static final By SELECT_BTN = By . cssSelector ( ".show-picker<seq2seq4repair_space>button" ) ; protected static final By TRANSFER_ENABLED = By . cssSelector ( "input[id$='enabled-entry']" ) ; protected static final By USER_NAME = By . cssSelector ( "input[id$='username']" ) ; protected static final By PASSWORD = By . cssSelector ( "input[id$='password']" ) ; protected static final By INPUT_SITE_CONFIGURATION_SELECTOR = By . cssSelector ( "textarea[id$='siteConfig']" ) ; protected static final By INPUT_SITE_HOSTNAME_SELECTOR = By . cssSelector ( "input[id$='hostName']" ) ; protected static final By WEB_ASSETS_LIST = By . cssSelector ( "div[id$='webassets-cntrl-currentValueDisplay']" ) ; protected static final By REDITION_CONFIG = By . cssSelector ( "textarea[id$='prop_ws_renditionConfig']" ) ; protected static final By INPUT_RECORD_LOCATION = By . cssSelector ( "input[id$='prop_rma_location']" ) ; protected static final By INPUT_EMAIL_ALIAS = By . cssSelector ( "input[id$='prop_emailserver_alias']" ) ; public void setInput ( final WebElement input , final String value ) { } protected String getValue ( By by ) { } public String getName ( ) { } public void setName ( final String name ) { } public String getDocumentTitle ( ) { } public void setDocumentTitle ( final String title ) { } public String getDescription ( ) { } public void setDescription ( final String description ) { } public TagPage getTag ( ) { } public CategoryPage getCategory ( ) { } @ Deprecated public List < Categories > getCategories ( ) { } public List < String > getCategoryList ( ) { } public void clickOnCancel ( ) { } public void clickSave ( ) { } public void clickAllProperties ( ) { } public void setModelActive ( ) { } public boolean isModelActive ( ) { try { <START_BUG> return drone . findAndWait ( AbstractEditProperties . CHECK_BOX_MODEL_ACTIVE ) . isSelected ( ) ; <END_BUG> } catch ( TimeoutException te ) { } return false ; } public void setWorkflowDeployed ( ) { } public void setEndpointHost ( String endpointHost ) { } public void setEndpointPort ( String endpointPort ) { } public void setUserName ( String username ) { } public void setPassword ( String password ) { } public SelectContentPage clickSelect ( ) { } public void selectTransferEnabled ( ) { } public void setLocation ( final String location ) { } public void setEmailAlias ( String alias ) { } }

Fix:
return drone . find ( AbstractEditProperties . CHECK_BOX_MODEL_ACTIVE ) . isSelected ( ) ;