reflection: access to fields and methods of superclasses caused an exception