Aggregations issue

Can you show how you are calling this from the JAVA API?