← Back to team overview

dhis2-devs team mailing list archive

[Bug 761903] Re: Data Completeness Report - pdf export fails with IllegalArgumentException

 

** Changed in: dhis2
       Status: New => Fix Committed

** Changed in: dhis2
     Assignee: (unassigned) => Lars Helge Øverland (larshelge)

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/761903

Title:
  Data Completeness Report - pdf export fails with
  IllegalArgumentException

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  1. Select Data Completeness Report
  2. Click Download as PDF
  3. Exception! (same problem exists if I select anything)

  [-] Exception (java.lang.IllegalArgumentException): The number of
  columns in PdfPTable constructor must be greater than zero.

      com.lowagie.text.pdf.PdfPTable.(Unknown source)
      org.hisp.dhis.system.grid.GridUtils.toPdf(GridUtils.java:105)
      org.hisp.dhis.result.GridPdfResult.execute(GridPdfResult.java:95)
      +++++


References