hi charles,
are you sure that the subQuery is null ?
imo the npe is coming from the method toString() because there are no columns defined.
jakob
Charles N. Harvey III wrote:
Hello. I am creating a ReportQueryByCriteria and it is turning up null. And I don't even understand how that can happen.
Criteria criteria = new Criteria();
ReportQueryByCriteria subQuery = QueryFactory.newReportQuery( MyObject.class, criteria );
System.out.println( "\tReportQueryByCriteria: " + subQuery.toString() );
subQuery is null. I am only trying to print it to see what it is doing
and I can't do that. Is it because my criteria is empty? That shouldn't do it.
Does it not like the MyObject?
Has anyone else had this happen before?
Thanks a lot.
Charlie
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
