xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sinvaldo Pacheco <sinvaldo.pach...@gmail.com>
Subject SVG problem when export to pdf
Date Fri, 23 Aug 2013 14:01:33 GMT
Hello, Good morning!
Forgive me for my Engilsh, I 'm brazilian....
I ' m  developing a jasper report that has a SVG image, for this I
downloaded  a Apache Batik Library for do a jasperreport renders the image,
but I got a "java.lang.IllegalArgumentException: name is null"

Please, Can you help me?

===================== CODE =====================

<image hAlign="Center" vAlign="Middle">
<reportElement uuid="debf5b1d-e084-4673-a711-71f37a3acb50" x="0" y="0"
width="179" height="66"/>
<imageExpression><![CDATA[net.sf.jasperreports.renderers.BatikRenderer.getInstance(new
java.net.URL("http://localhost:8080/prohab/assets/img/BRASAO_COLORIDO.svg
"))]]></imageExpression>
</image>


===================== CODE =====================


Thanks
-- 
*Sinvaldo C. P. Junior*
Analista Desenvolvedor de Sistemas.
*Celular:* (19) 8121-1652

Mime
View raw message