Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-36720

Error printing assesment as PDF

    XMLWordPrintable

    Details

    • 10 status:
      Resolved
    • Previous Issue Keys:
      SAM-1106

      Description

      Seen on some assesments but not others:

      2011-01-27 12:19:11,828 INFO TP-Processor457 org.sakaiproject.tool.assessment.ui.bean.print.PDFAssessmentBean - starting PDF generation
      DocumentException: java.lang.IllegalArgumentException: Font size too small: 0.0
      at com.lowagie.text.pdf.PdfContentByte.setFontAndSize(Unknown Source)
      at com.lowagie.text.pdf.PdfDocument.writeLineToContent(Unknown Source)
      at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
      at com.lowagie.text.pdf.ColumnText.goComposite(Unknown Source)
      at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
      at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
      at com.lowagie.text.pdf.PdfPRow.writeCells(Unknown Source)
      at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source)
      at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source)
      at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source)
      at com.lowagie.text.pdf.ColumnText.goComposite(Unknown Source)
      at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
      at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
      at com.lowagie.text.pdf.PdfDocument.addPTable(Unknown Source)
      at com.lowagie.text.pdf.PdfDocument.add(Unknown Source)
      at com.lowagie.text.Document.add(Unknown Source)
      at org.sakaiproject.tool.assessment.ui.bean.print.PDFAssessmentBean.getStream(PDFAssessmentBean.java:599)
      at org.sakaiproject.tool.assessment.ui.bean.print.PDFAssessmentBean.getPDFAttachment(PDFAssessmentBean.java:464)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    ottenhoff Sam Ottenhoff
                    Reporter:
                    dhorwitz David Horwitz
                  • Votes:
                    2 Vote for this issue
                    Watchers:
                    13 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration