xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Quei├čer <s.queis...@freenet.de>
Subject UnsupportedOperationException in SVN revision 746293
Date Fri, 20 Feb 2009 17:10:51 GMT
Hello,

while playing with batik from the SVN repository (rev 746293) I noticed
that in some situations there is an UnsupportedOperationException
thrown. The traceback
java.lang.UnsupportedOperationException
	at org.apache.batik.gvt.CompositeGraphicsNode.addAll(Unknown Source)
	at org.apache.batik.gvt.MarkerShapePainter.buildMarkerGroup(Unknown Source)
	at org.apache.batik.gvt.MarkerShapePainter.getPaintedBounds2D(Unknown Source)
	at org.apache.batik.gvt.CompositeShapePainter.getPaintedBounds2D(Unknown Source)
	at org.apache.batik.gvt.ShapeNode.getPrimitiveBounds(Unknown Source)
	at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedPrimitiveBounds(Unknown Source)
	at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source)
	at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source)
	at org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds(Unknown Source)
	at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source)
	at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source)
	at org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds(Unknown Source)
	at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source)
	at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source)
	at org.apache.batik.gvt.filter.GraphicsNodeRable8Bit.getBounds2D(Unknown Source)
	at org.apache.batik.gvt.filter.GraphicsNodeRable8Bit.createRendering(Unknown Source)
	at org.apache.batik.gvt.renderer.StaticRenderer.renderGNR(Unknown Source)
	at org.apache.batik.gvt.renderer.DynamicRenderer.updateWorkingBuffers(Unknown Source)
	at org.apache.batik.gvt.renderer.StaticRenderer.clearOffScreen(Unknown Source)
	at org.apache.batik.swing.gvt.GVTTreeRenderer.run(Unknown Source)

indicates that the method CompositeGraphicsNode.addAll is called by
MarkerShapePainter.buildMarkerGroup (line 304). This call seems to be
not yet? supported (see line 764 in CompositeGraphicsNode). Perhaps
someone forgot to merge the code for addAll from a branch...

Regards,
Sebastian

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


Mime
View raw message