anathema/anathema — Issue #43: Print Sidereals
Author: UrsKR
Created: 2012-01-28 10:40:31+00:00
State: open
Labels: Bug, Sheet

* Create a new Sidereal
* 'Print' to a Second Edition Character Sheet

```
[ERROR] net.sf.anathema.framework.reporting.ReportException: java.lang.UnsupportedOperationException: Trait Template Collection can't handle custom trait types
at net.sf.anathema.character.impl.reporting.SimpleExaltSheetReport.performPrint(SimpleExaltSheetReport.java:80)
at net.sf.anathema.framework.reporting.ITextReportPrinter.printReport(ITextReportPrinter.java:22)
at net.sf.anathema.framework.reporting.AnathemaPrintAction.performPrint(AnathemaPrintAction.java:152)
at net.sf.anathema.framework.reporting.AnathemaPrintAction.access$000(AnathemaPrintAction.java:37)
at net.sf.anathema.framework.reporting.AnathemaPrintAction$1.run(AnathemaPrintAction.java:108)
at net.disy.commons.swing.dialog.progress.ProgressMonitorExecutor$1.run(ProgressMonitorExecutor.java:52)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.UnsupportedOperationException: Trait Template Collection can't handle custom trait types
at net.sf.anathema.character.generic.impl.traits.TraitTemplateCollection$1.visitCustomTraitType(TraitTemplateCollection.java:54)
at net.sf.anathema.character.sidereal.colleges.model.CollegeType.accept(CollegeType.java:16)
at net.sf.anathema.character.generic.impl.traits.TraitTemplateCollection.getTraitTemplate(TraitTemplateCollection.java:24)
at net.sf.anathema.character.reporting.pdf.content.traits.FavorableTraitContent.getTraitMax(FavorableTraitContent.java:86)
at net.sf.anathema.character.reporting.pdf.rendering.general.traits.FavorableTraitBoxContentEncoder.encodeFavorableTrait(FavorableTraitBoxContentEncoder.java:108)
at net.sf.anathema.character.reporting.pdf.rendering.general.traits.FavorableTraitBoxContentEncoder.encodeTraitGroup(FavorableTraitBoxContentEncoder.java:89)
at net.sf.anathema.character.reporting.pdf.rendering.general.traits.FavorableTraitBoxContentEncoder.encodeTraitGroups(FavorableTraitBoxContentEncoder.java:63)
at net.sf.anathema.character.reporting.pdf.rendering.general.traits.FavorableTraitBoxContentEncoder.encode(FavorableTraitBoxContentEncoder.java:49)
at net.sf.anathema.character.reporting.pdf.rendering.general.box.PdfBoxEncoder.encodeBox(PdfBoxEncoder.java:48)
at net.sf.anathema.character.reporting.pdf.rendering.general.box.PdfBoxEncoder.encodeBox(PdfBoxEncoder.java:42)
at net.sf.anathema.character.sidereal.reporting.layout.Sidereal2ndEditionDetailsPageEncoder.encodeColleges(Sidereal2ndEditionDetailsPageEncoder.java:163)
at net.sf.anathema.character.sidereal.reporting.layout.Sidereal2ndEditionDetailsPageEncoder.encode(Sidereal2ndEditionDetailsPageEncoder.java:57)
at net.sf.anathema.character.impl.reporting.SimpleExaltSheetReport.performPrint(SimpleExaltSheetReport.java:77)
... 6 more
```