如何在与PHPJasperXML集成的iReport 5.6中创建SubReport

I'm trying to create a SubReport in iReport 5.6 integrated with PHPJasperXML, but I'm having some troubles... Can anyone help me ?

How to pass the REPORT_CONNECTION to the SubReport? I put to use the same connection of the Main report, but it didn't work...

Notice (8): Undefined property: PHPJasperXMLSubReport::$gname [APP\Vendor\PHPJasperXML\class\PHPJasperXMLSubReport.inc.php, line 631]

Notice (8): Undefined variable: isPrintRepeatedValues [APP\Vendor\PHPJasperXML\class\PHPJasperXMLSubReport.inc.php, line 650]

Fail to connect database