Good day. I have three objects: VSpec, VSpecPart,VSpecPosition and HQL-query. The report displays VSpecPosition, its grouped by field VSpecPart part in VSpecPosition class. All works fine until I try to print another field FROM CLASS VSpecPart with VSpecPart.toString(). I try to write $F{part}.toString()+" "+$F{part}.getClass().getMethod("getQ",null).invoke($F{part}).toString(), but get the error : The method invoke(Object, Object[]) in the type Method is not applicable for arguments (Object). How I must write expression to access private field q? public class VSpecPart extends VDBObject implements Comparable { private VSpec spec; private int q=1; private List<VSpecPosition> positions=new ArrayList<VSpecPosition>(); ... } public class VSpecPosition extends VDBObject { private VSpecPart part; ... private int q=1; ... public int getQ() { return q; } ... } HQL-query: (from VSpecPosition p where p.part.spec=$P{SPEC})