"fullRepresentation" in CompactApplet.qml is sometimes null
This cause type errors, as later on a property of it is used while it's still null.
As I read it, the fullRepresentation property is only set conditionally, and this clearly not always happens.
However, here the variable is used like it's always present.