xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49216] NullPointerException in DataBufferInt.getBankData()
Date Sun, 09 May 2010 17:25:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49216

--- Comment #4 from chris@techadapt.com 2010-05-09 13:25:09 EDT ---
I'm continuing to get this error even if I raise the JVM maximum memory
allocation substantially.  The most recent stack trace with -Xmx1536M is:

java.lang.NullPointerException
    at java.awt.image.DataBufferInt.getBankData(DataBufferInt.java:162)
    at
org.apache.batik.ext.awt.image.rendered.PadRed$ZeroRecter_INT_PACK.<init>(PadRed.java:156)
    at
org.apache.batik.ext.awt.image.rendered.PadRed$ZeroRecter.getZeroRecter(PadRed.java:123)
    at
org.apache.batik.ext.awt.image.rendered.PadRed.handleZero(PadRed.java:193)
    at org.apache.batik.ext.awt.image.rendered.PadRed.copyData(PadRed.java:92)
    at
org.apache.batik.ext.awt.image.rendered.ColorMatrixRed.copyData(ColorMatrixRed.java:116)
    at
org.apache.batik.ext.awt.image.rendered.FormatRed.copyData(FormatRed.java:116)
    at
org.apache.batik.ext.awt.image.rendered.AbstractRed.getData(AbstractRed.java:526)
    at
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:264)
    at
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:455)
    at
org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(PadRable8Bit.java:135)
    at
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
    at
org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(PadRable8Bit.java:135)
    at
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
    at
org.apache.batik.ext.awt.image.renderable.FilterChainRable8Bit.paintRable(FilterChainRable8Bit.java:251)
    at
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:549)
    at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
    at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
    at
org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.genRect(GraphicsNodeRed8Bit.java:140)
    at
org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.copyData(GraphicsNodeRed8Bit.java:116)
    at org.apache.batik.ext.awt.image.rendered.PadRed.copyData(PadRed.java:88)
    at
org.apache.batik.ext.awt.image.rendered.AbstractRed.getData(AbstractRed.java:526)
    at
org.apache.batik.ext.awt.image.rendered.Any2LumRed.copyData(Any2LumRed.java:71)
    at
org.apache.batik.ext.awt.image.rendered.AbstractRed.getData(AbstractRed.java:526)
    at
org.apache.batik.ext.awt.image.rendered.FilterAsAlphaRed.copyData(FilterAsAlphaRed.java:83)
    at
org.apache.batik.ext.awt.image.rendered.AbstractRed.getData(AbstractRed.java:526)
    at
org.apache.batik.ext.awt.image.rendered.MultiplyAlphaRed.INT_PACK_BYTE_COMP_Impl(MultiplyAlphaRed.java:107)
    at
org.apache.batik.ext.awt.image.rendered.MultiplyAlphaRed.copyData(MultiplyAlphaRed.java:183)
    at
org.apache.batik.ext.awt.image.rendered.Any2sRGBRed.copyData(Any2sRGBRed.java:166)
    at
org.apache.batik.ext.awt.image.rendered.FormatRed.copyData(FormatRed.java:116)
    at
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:347)
    at
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:455)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:549)
    at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
    at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
    at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
    at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
    at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
    at
org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(CanvasGraphicsNode.java:159)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
    at
org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
    at
org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
    at org.apache.batik.gvt.renderer.MacRenderer.repaint(MacRenderer.java:361)
    at org.apache.batik.gvt.renderer.MacRenderer.repaint(MacRenderer.java:291)
    at
org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:111)
    at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
    at
org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
    at
com.dji.converter.epub.renderer.ImageRenderer.convertVectorImage(ImageRenderer.java:332)
    at
com.dji.converter.epub.renderer.ImageRenderer.render(ImageRenderer.java:113)
    at
com.dji.converter.epub.renderer.ImageRenderer.render(ImageRenderer.java:56)
    at com.dji.converter.epub.ePubWriter.writeContent(ePubWriter.java:218)
    at
com.dji.converter.epub.ePubConverter.writeContent(ePubConverter.java:376)
    at
com.dji.converter.epub.ePubConverter.processEvents(ePubConverter.java:335)
    at com.dji.converter.epub.ePubConverter.convert(ePubConverter.java:185)
    at com.dji.converter.ConverterBase.run(ConverterBase.java:88)
    at java.lang.Thread.run(Thread.java:613)
Invalid memory access of location 0x128 eip=0x4dcd8a

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message