bugfix: methodvalueaccessor threw nullpointerexceptions when trying to 
get value of a null parent