xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ananth balasubramanyam <abala...@cs.odu.edu>
Subject exception : unable to open svg in squiggle
Date Thu, 17 Jun 2004 15:07:30 GMT

hi all,

I have an SVG created in adobe illustrator and when i open this in batik
squiggle, I get the following exception :

java.lang.ArrayIndexOutOfBoundsException: -1
        at
org.apache.batik.ext.awt.LinearGradientPaintContext.fillHardNoCycle(Unknown
Source)
        at
org.apache.batik.ext.awt.LinearGradientPaintContext.fillRaster(Unknown
Source)
        at
org.apache.batik.ext.awt.MultipleGradientPaintContext.getRaster(Unknown
Source)
        at
sun.java2d.pipe.AlphaPaintPipe.renderPathTile(AlphaPaintPipe.java:106)
        at
sun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRenderer.java:102)
        at
sun.java2d.pipe.DuctusShapeRenderer.fill(DuctusShapeRenderer.java:49)
        at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:119)
        at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2156)
        at org.apache.batik.gvt.FillShapePainter.paint(Unknown Source)
        at org.apache.batik.gvt.CompositeShapePainter.paint(Unknown
Source)
        at org.apache.batik.gvt.ShapeNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at org.apache.batik.gvt.ShapeNode.paint(Unknown Source)
        at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Unknown
Source)
        at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
        at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
        at org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.genRect(Unknown
Source)
        at
org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.copyData(Unknown Source)
        at
org.apache.batik.ext.awt.image.rendered.TileCacheRed.genRect(Unknown
Source)
        at
org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.drawBlockInPlace(Unknown
Source)
        at
org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.drawBlock(Unknown
Source)
        at
org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.copyToRasterByBlocks(Unknown
Source)
        at
org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.copyData(Unknown
Source)
        at
org.apache.batik.ext.awt.image.rendered.TranslateRed.copyData(Unknown
Source)
        at org.apache.batik.ext.awt.image.rendered.PadRed.copyData(Unknown
Source)
        at org.apache.batik.gvt.renderer.StaticRenderer.repaint(Unknown
Source)
        at org.apache.batik.gvt.renderer.StaticRenderer.repaint(Unknown
Source)
        at org.apache.batik.swing.gvt.GVTTreeRenderer.run(Unknown Source)


I have no clue as to what is causing this error. If somebody can infer
something, please help

thanks,
Ananth

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


Mime
View raw message