Uploaded image for project: 'Shadowrun 6'
  1. SR6-292

Exception while generating PDF (ConditionStunElement)

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects versions: 1.2.1
    • Fix versions: 1.3.1
    • Components: None
    • Labels:
      None

      Description

      Beim Versuch einen Qi-Fokus hinzuzufügen wird der Fokus nicht in Genesis angezeigt, jedoch wird in der Übersicht "Wähle Art und Stufe des Fokus" das Karma und das Geld abgezogen. Außerdem kommt beim PDF Export eine Fehlermeldung.

      2020-06-21 15:14:56.215 INFO [genesis] (PrintHelper.java:224) - Print as PDF using plugin 'Shadowrun 6 PDF Export'
      2020-06-21 15:14:56.215 INFO [shadowrun6.print] (ShadowrunPrintPlugin.java:474) - Print character to D:\DEADR4BBIT\PenPaper\Shadowrun\Chummers_Paradise\Charaktere\Ace.pdf
      2020-06-21 15:14:56.216 INFO [shadowrun6.print] (ShadowrunPrintPlugin.java:478) - character = org.prelle.shadowrun6.ShadowrunCharacter@10beb385
      2020-06-21 15:14:56.256 FATAL [shadowrun6.print] (ShadowrunPrintPlugin.java:503) - Failed printing
      java.lang.IllegalArgumentException: No message found for the.number.of.columns.in.pdfptable.constructor.must.be.greater.than.zero (null)
      at com.itextpdf.text.pdf.PdfPTable.<init>(PdfPTable.java:223) ~[Genesis.merged.module:?]
      at org.prelle.shadowrun6.print.elements.ConditionStunElement.getStunTable(ConditionStunElement.java:34) ~[?:?]
      at org.prelle.shadowrun6.print.elements.ConditionStunElement.get(ConditionStunElement.java:20) ~[?:?]
      at org.prelle.shadowrun6.print.pages.BasicPage.getCellFromElement(BasicPage.java:33) ~[?:?]
      at org.prelle.shadowrun6.print.pages.BasicPage.getCellFromElement(BasicPage.java:38) ~[?:?]

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Anja Prelle
                Reporter:
                Stefan Prelle
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: