If you define it with the correct id but the wrong...
# tornadofx
e
If you define it with the correct id but the wrong type, for example:
val myLabel : TextField by fxid()
you will get: