You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Koen De Groote (Jira)" <ji...@apache.org> on 2020/02/03 16:08:02 UTC
[jira] [Created] (BATIK-1278) W3C example image, parseStyleSheet
nullpointer
Koen De Groote created BATIK-1278:
-------------------------------------
Summary: W3C example image, parseStyleSheet nullpointer
Key: BATIK-1278
URL: https://issues.apache.org/jira/browse/BATIK-1278
Project: Batik
Issue Type: Bug
Components: CSS
Affects Versions: 1.12
Reporter: Koen De Groote
Attachments: Use04-GeneratedContent.svg, Use04.svg
Possible duplicate of https://issues.apache.org/jira/browse/BATIK-1163
Example image from here: [https://www.w3.org/TR/SVG11/struct.html]
Specifically, example "Example Use04": [https://www.w3.org/TR/SVG11/images/struct/Use04.svg]
Stacktrace:
{code:java}
java.lang.NullPointerException: null
at org.apache.batik.css.engine.CSSEngine.parseStyleSheet(CSSEngine.java:1223)
at org.apache.batik.css.engine.CSSEngine.parseStyleSheet(CSSEngine.java:1204)
at org.apache.batik.anim.dom.SVGOMStyleElement.getCSSStyleSheet(SVGOMStyleElement.java:140)
at org.apache.batik.css.engine.CSSEngine.getStyleSheetNodes(CSSEngine.java:923)
at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(CSSEngine.java:785)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(CSSEngine.java:867)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(CSSUtilities.java:81)
at org.apache.batik.bridge.CSSUtilities.convertVisibility(CSSUtilities.java:578)
at org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(SVGSVGElementBridge.java:141)
at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:76)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:208)
at org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:92)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org