use it when you will send to your report a data that embeded into HashMap without Database or without List of data from your Java Application if you don't least it your can't show your report a message will appear "THE document has no pages " jp = JasperFillManager.fillReport(jr, map, new JREmptyDataSource());