CrossTabExtractionController fails with NullPointerException if no data provided #238
Labels
state: fixed
Fixed by the developer
type: bug
Something isn't working
ver: 7.1.4
Fixed in version
ver: 7.2.0
Fixed in version
ver: 7.3.0
Fixed in version
Milestone
Environment
com.haulmont.reports: 7.1.0
Description of the bug
Dataset for Band
apartments
is empty,Datasets for Bands
apartments_dynamic_header
andapartments_master_data
not empty.Report is attached, pls find GridExportReport.zip
To reproduce the issue, do following:
apartments
returning valuewith
return []
Replace Band
apartments_dynamic_header
returning valuewith
return [['roomNum': '']]
Replace Band
apartments_master_data
returning valuewith
return [['floorNum': '']]
3. Run report.
AR: NullPointerException
ER: xlsx file generated
Please find possible fix in attached overriden file
TgCrossTabExtractionController.zip
GridExportReport.zip
TgCrossTabExtractionController.zip
The text was updated successfully, but these errors were encountered: