#3 Legend Rendering (Class Not Found)

closed
nobody
None
5
2003-02-01
2002-10-21
No

When using the cewolf:legend tag to render the legend
as a spearate image, an exception is thrown that
causes the rending to fail.

First pass through, the excecption is:

java.lang.ExceptionInInitializerError
at de.laures.cewolf.util.Renderer.renderLegend
(Renderer.java:86)
at de.laures.cewolf.taglib.LegendTag.doStartTag
(LegendTag.java:60)

Caused by: java.awt.HeadlessException
at
sun.java2d.HeadlessGraphicsEnvironment.getDefaultScr
eenDevice(HeadlessGraphicsEnvironment.java:67)
at de.laures.cewolf.util.ImageHelper.<clinit>
(ImageHelper.java:48)

Subsequent loads of the page cause the following
exception:

java.lang.NoClassDefFoundError
at de.laures.cewolf.util.Renderer.renderLegend
(Renderer.java:86)
at de.laures.cewolf.taglib.LegendTag.doStartTag
(LegendTag.java:60)

Without the cewolf:legend tag, the chart renders
correctly.

Discussion

  • Guido Laures

    Guido Laures - 2002-10-22

    Logged In: YES
    user_id=574032

    Please post thisin the help forum.

     
  • Guido Laures

    Guido Laures - 2003-02-01
    • status: open --> closed
     
  • Guido Laures

    Guido Laures - 2003-02-01

    Logged In: YES
    user_id=574032

    Pleas check the FAQs

     

Log in to post a comment.