Jasper report with svg image raise errors

Description

Please allow usage of svg images in jasper reports.
Currently no jasper report is generated if it contains a svg image.

Jasperreports version 6.3.0 (which is also a little old) does support svg images and in Jerspersoft Studio all is fine.

To test this behaviour:
extract attached SVG-Test.zip to /etc/opennms/report-templates

modify database-report.xml and jasper-reports.xml and add these lines:

database-report.xml

jasper-reports.xml

restart opennms and run the report

it fail with the following exceptions in karaf.log

Replacing batik 1.7 jars with version 1.8 and xmlgraphics-common version 1.4 with version 2.0 resolve the problem but i don't know if it breaks other things.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

FRC Grooming Date

Components

Affects versions

Priority

PagerDuty

Created February 12, 2021 at 11:49 AM
Updated July 26, 2023 at 2:12 PM