Category: | Bug report |
Priority: | Normal |
Status: | New |
Project: | Severity: | Minor |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
Usage of named colors in Styles (iReport) causes JRException when loading generated .jasper file in Java JRLoader.loadObject().
How to reproduce:
1. Create new Style
2. Select for either Forecolor or Backcolor named color from the dropdown, i.g. "white"
3. Add a staticText label, apply the style modified as above
4. Generate jasper file (works fine with Preview!)
5. In Java call JRLoader.loadObject(.jasper) with the just created jasper file. This causes "Class not found exception"
Environment:
iReport Designer: 5.0.0
JDK: 1.6.0_29
OS: Win 7x64 bit
v5.0.0