edvin
11/08/2017, 6:58 PMimdb.getActor()
with a null value, while your function definition requires a non null String. Since you haven't changed anything in the textfield, no value has been pushed to the model, so when you do actorname.value
it returns null as it should.