You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by ECS Engineering <en...@energycontrolsystems.com> on 2004/05/04 01:03:44 UTC
Java 1.5 beta and Batik
With Batik 1.5.1rc2 (or batik-src-04-04-01.zip) and J2SE Version 1.5.0-beta (build 1.5.0-beta-b32c),
(js.jar has no optimizer directory)
I'm getting (the first time rendering starts):
java.nio.channels.ClosedByInterruptException
at java.nio.channels.spi.AbstractInterruptibleChannel.end(Unknown Source)
at sun.nio.ch.FileChannelImpl.position(Unknown Source)
at sun.font.TrueTypeFont.readBlock(Unknown Source)
at sun.font.FileFont.getGlyphMetrics(Native Method)
at sun.font.FileFontStrike.getGlyphMetrics(Unknown Source)
at sun.font.StandardGlyphVector$GlyphStrike.addDefaultGlyphAdvance(Unknown Source)
at sun.font.StandardGlyphVector.initPositions(Unknown Source)
at sun.font.StandardGlyphVector.getGlyphPosition(Unknown Source)
at org.apache.batik.gvt.font.AWTGVTGlyphVector.performDefaultLayout(Unknown Source)
at org.apache.batik.gvt.text.GlyphLayout.doExplicitGlyphLayout(Unknown Source)
at org.apache.batik.gvt.text.GlyphLayout.adjustTextSpacing(Unknown Source)
at org.apache.batik.gvt.text.GlyphLayout.getAdvance2D(Unknown Source)
at org.apache.batik.gvt.renderer.StrokingTextPainter.getTextChunk(Unknown Source)
at org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(Unknown Source)
at org.apache.batik.gvt.renderer.StrokingTextPainter.getBounds2D(Unknown Source)
at org.apache.batik.gvt.TextNode.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.getTransformedPrimitiveBounds(Unknown Source)
at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(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.getTransformedPrimitiveBounds(Unknown Source)
at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(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.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)
java.nio.channels.ClosedChannelException
at sun.nio.ch.FileChannelImpl.ensureOpen(Unknown Source)
at sun.nio.ch.FileChannelImpl.position(Unknown Source)
at sun.font.TrueTypeFont.readBlock(Unknown Source)
... many more CloseChannelExceptions
Is this my problem or some incompatibility with the j2re1.5 beta? (I have one Windows 98 1st edition laptop which wouldn't run my applets until I tried the J2SE 1.5 beta - I'm testing on Windows 98 2nd edition).
Thanks,
Stan Dickerson
Energy Control Systems, Inc.
Email: engineering@energycontrolsystems.com
http://www.energycontrolsystems.com