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 "Chandra Sekhar Kakarla (JIRA)" <ji...@apache.org> on 2015/07/22 16:28:04 UTC

[jira] [Updated] (BATIK-1128) NoClassDefFoundError Could not initialize class org.apache.batik.ext.awt.color.NamedProfileCache

     [ https://issues.apache.org/jira/browse/BATIK-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chandra Sekhar Kakarla updated BATIK-1128:
------------------------------------------
    Summary: NoClassDefFoundError Could not initialize class org.apache.batik.ext.awt.color.NamedProfileCache  (was: Batik with YUI Compressor causing build failure issues)

> NoClassDefFoundError Could not initialize class org.apache.batik.ext.awt.color.NamedProfileCache
> ------------------------------------------------------------------------------------------------
>
>                 Key: BATIK-1128
>                 URL: https://issues.apache.org/jira/browse/BATIK-1128
>             Project: Batik
>          Issue Type: Bug
>          Components: javadoc, Samples, Scripting, SVG DOM, Utilities
>    Affects Versions: 1.8
>         Environment: Windows7, Maven 3.0, Batik 1.8, Batik 1.7
>            Reporter: Chandra Sekhar Kakarla
>            Priority: Critical
>              Labels: batik, build-failure, java, png, svg, yuicompressor
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Facing issue while using Batik 1.7(SVG to PNG Conversion using java) and YUI Compressor 2.4.7 together causing build failure issue.
> bq. Not sure any dependency conflicts with the jars. (YUICompressor  and Batik-js calling package structure *org.mozilla.javascript* )
> {code}
> [yuicompress] 1:0:Compilation produced 8 syntax errors.
> org.mozilla.javascript.EvaluatorException: Compilation produced 8 syntax errors.
>         at com.yahoo.platform.yui.compressor.YUICompressTask$1.runtimeError(YUIC
> ompressTask.java:225)
>         at org.mozilla.javascript.Parser.parse(Unknown Source)
>         at org.mozilla.javascript.Parser.parse(Unknown Source)
>         at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScri
> ptCompressor.java:312)
>         at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScr
> iptCompressor.java:533)
>         at com.yahoo.platform.yui.compressor.YUICompressTask.doCompression(YUICo
> mpressTask.java:202)
>         at com.yahoo.platform.yui.compressor.YUICompressTask.execute(YUICompress
> Task.java:101) {code}
> bq. By using Batik 1.8 svg to png converstion itself is not working, getting below issues..
> {code}java.lang.NoClassDefFoundError: Could not initialize class org.apache.batik.ext.awt.color.NamedProfileCache{code}
> {code} Exception : java.lang.NoSuchMethodError: org.apache.batik.util.SoftReferenceCache.<init>(Z)V {code}
> Please let me know what should I need to do to make it work properly...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org