protected ByteArrayType variable;
is this persisted? seems like there is a mixup between variable and type.