Can't get value from field

@Russ_Thomas I found a solution, see below.

//get the activation code
WebUI.waitForElementVisible(findTestObject(activationCode),50)
WebUI.doubleClick(findTestObject(activationCode))
WebUI.sendKeys(findTestObject(activationCode), Keys.chord(Keys.CONTROL, ‘c’))

WebUI.click(findTestObject(inputActivationCode))
WebUI.sendKeys(findTestObject(inputActivationCode), Keys.chord(Keys.CONTROL, ‘v’))

@kazurayam that was based on the assumption that the null result was causing the other exception, the fix was not resolved at that time. But i did find a workaround, see last comment.