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 Bill Haneman <Bi...@Sun.COM> on 2001/03/29 15:43:24 UTC

TextLayout is unhappy on Solaris...

Hi Guys:

When I run the new browser on Solaris, loading textBiDi.svg,
I get the following stack trace (after about 30 seconds :-( )

java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-U)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, interpreted mode)


Any clues?  I don't have time to chase this at the moment.

-Bill


P.S. - This is my first time running the new viewer/browser...

-----
svgbrowser:
     [java] java.lang.NoClassDefFoundError: sun/awt/font/Utilities
     [java]     at sun.awt.font.Bidi.<clinit>(Bidi.java:1067)
     [java]     at 
java.awt.font.TextLine.createBidiOnParagraph(TextLine.java:1072)
     [java]     at 
java.awt.font.TextLine.standardCreateTextLine(TextLine.java:1131)
     [java]     at 
java.awt.font.TextLayout.standardInit(TextLayout.java:626)
     [java]     at java.awt.font.TextLayout.<init>(TextLayout.java:468)
     [java]     at 
org.apache.batik.gvt.text.ConcreteTextLayoutFactory.createTextLayout(Con
creteTextLayoutFactory.java:84)
     [java]     at 
org.apache.batik.gvt.renderer.BasicTextPainter.getOffsetAdjustedTextLayo
ut(BasicTextPainter.java:414)
     [java]     at 
org.apache.batik.gvt.renderer.BasicTextPainter.getBounds(BasicTextPainte
r.java:292)
     [java]     at 
org.apache.batik.gvt.renderer.BasicTextPainter.getPaintedBounds(BasicTex
tPainter.java:270)
     [java]     at 
org.apache.batik.gvt.TextNode.getPrimitiveBounds(TextNode.java:116)
     [java]     at 
org.apache.batik.gvt.AbstractGraphicsNode.getTransformedPrimitiveBounds(
AbstractGraphicsNode.java:815)
     [java]     at 
org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(AbstractG
raphicsNode.java:789)
     [java]     at 
org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds
(CompositeGraphicsNode.java:316)
     [java]     at 
org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(AbstractG
raphicsNode.java:789)
     [java]     at 
org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds
(CompositeGraphicsNode.java:316)
     [java]     at 
org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(AbstractG
raphicsNode.java:789)
     [java]     at 
org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(CompositeG
raphicsNode.java:274)
     [java]     at 
org.apache.batik.gvt.filter.GraphicsNodeRable8Bit.getBounds2D(GraphicsNo
deRable8Bit.java:134)
     [java]     at 
org.apache.batik.gvt.filter.GraphicsNodeRable8Bit.createRendering(Graphi
csNodeRable8Bit.java:272)
     [java]     at 
org.apache.batik.gvt.renderer.StaticRenderer.updateWorkingBuffers(Static
Renderer.java:411)
     [java]     at 
org.apache.batik.gvt.renderer.StaticRenderer.clearOffScreen(StaticRender
er.java:313)
     [java]     at 
org.apache.batik.swing.gvt.GVTTreeRenderer.run(GVTTreeRenderer.java:97)

------
Bill Haneman x19279
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland 


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


Re: TextLayout is unhappy on Solaris...

Posted by Stephane Hillion <St...@sophia.inria.fr>.
On Thursday 29 March 2001 15:43, Bill Haneman wrote:
> Hi Guys:
>
> When I run the new browser on Solaris, loading textBiDi.svg,
> I get the following stack trace (after about 30 seconds :-( )
>
> java version "1.3.0rc1"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-U)
> Java HotSpot(TM) Client VM (build 1.3.0rc1-S, interpreted mode)
>
>
> Any clues?  I don't have time to chase this at the moment.
>
> -Bill
>
>
> P.S. - This is my first time running the new viewer/browser...
>
> -----
> svgbrowser:
>      [java] java.lang.NoClassDefFoundError: sun/awt/font/Utilities

This is certainly why the renderer thread you coded in the old JSVGCanvas 
catched NoClassDefFoundError...
Don't you want to update your JDK version and tell me if you always got this 
exception before I catch this exception again?
--
  Stephane.

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


Re: TextLayout is unhappy on Solaris...

Posted by Vincent Hardy <vh...@eng.sun.com>.
Bill,

I have entered a new Bug in Bugzilla (#1151) for this. 
V.

Bill Haneman wrote:
> 
> Hi Guys:
> 
> When I run the new browser on Solaris, loading textBiDi.svg,
> I get the following stack trace (after about 30 seconds :-( )
> 
> java version "1.3.0rc1"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-U)
> Java HotSpot(TM) Client VM (build 1.3.0rc1-S, interpreted mode)
> 
> Any clues?  I don't have time to chase this at the moment.
> 
> -Bill
> 
> P.S. - This is my first time running the new viewer/browser...
> 
> -----
> svgbrowser:
>      [java] java.lang.NoClassDefFoundError: sun/awt/font/Utilities
>      [java]     at sun.awt.font.Bidi.<clinit>(Bidi.java:1067)
>      [java]     at
> java.awt.font.TextLine.createBidiOnParagraph(TextLine.java:1072)
>      [java]     at
> java.awt.font.TextLine.standardCreateTextLine(TextLine.java:1131)
>      [java]     at
> java.awt.font.TextLayout.standardInit(TextLayout.java:626)
>      [java]     at java.awt.font.TextLayout.<init>(TextLayout.java:468)
>      [java]     at
> org.apache.batik.gvt.text.ConcreteTextLayoutFactory.createTextLayout(Con
> creteTextLayoutFactory.java:84)
>      [java]     at
> org.apache.batik.gvt.renderer.BasicTextPainter.getOffsetAdjustedTextLayo
> ut(BasicTextPainter.java:414)
>      [java]     at
> org.apache.batik.gvt.renderer.BasicTextPainter.getBounds(BasicTextPainte
> r.java:292)
>      [java]     at
> org.apache.batik.gvt.renderer.BasicTextPainter.getPaintedBounds(BasicTex
> tPainter.java:270)
>      [java]     at
> org.apache.batik.gvt.TextNode.getPrimitiveBounds(TextNode.java:116)
>      [java]     at
> org.apache.batik.gvt.AbstractGraphicsNode.getTransformedPrimitiveBounds(
> AbstractGraphicsNode.java:815)
>      [java]     at
> org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(AbstractG
> raphicsNode.java:789)
>      [java]     at
> org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds
> (CompositeGraphicsNode.java:316)
>      [java]     at
> org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(AbstractG
> raphicsNode.java:789)
>      [java]     at
> org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds
> (CompositeGraphicsNode.java:316)
>      [java]     at
> org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(AbstractG
> raphicsNode.java:789)
>      [java]     at
> org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(CompositeG
> raphicsNode.java:274)
>      [java]     at
> org.apache.batik.gvt.filter.GraphicsNodeRable8Bit.getBounds2D(GraphicsNo
> deRable8Bit.java:134)
>      [java]     at
> org.apache.batik.gvt.filter.GraphicsNodeRable8Bit.createRendering(Graphi
> csNodeRable8Bit.java:272)
>      [java]     at
> org.apache.batik.gvt.renderer.StaticRenderer.updateWorkingBuffers(Static
> Renderer.java:411)
>      [java]     at
> org.apache.batik.gvt.renderer.StaticRenderer.clearOffScreen(StaticRender
> er.java:313)
>      [java]     at
> org.apache.batik.swing.gvt.GVTTreeRenderer.run(GVTTreeRenderer.java:97)
> 
> ------
> Bill Haneman x19279
> Gnome Accessibility / Batik SVG Toolkit
> Sun Microsystems Ireland
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org

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