Hi Xavier,

<[EMAIL PROTECTED]> wrote on 12/04/2006 05:02:26 AM:

> I use batik to create some charts in a standalone swing application. 
There is 
> no problem.
> But when I try to integrate this application as module in an other swing 

> application I've also developped, I've the following stack trace :
> 
> java.lang.NoSuchMethodError: 
org.apache.batik.ext.awt.AreaOfInterestHintKey: 
> method <init>()V not found
>  at org.apache.batik.ext.awt.RenderingHintsKeyExt.<clinit>(Unknown 
Source)

    My first guess is that you might be mixing classes from different 
versions of Batik. Is that possible?  Anyway, these sorts of errors
are almost always class path issues, so check that very carefully.


>  at org.apache.batik.ext.awt.image.GraphicsUtil.createGraphics(Unknown 
Source)
>  at org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.genRect(Unknown 
Source)
>  at org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.copyData(Unknown 
Source)
>  at org.apache.batik.ext.awt.image.rendered.TileCacheRed.genRect(Unknown 
Source)
>  at org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.
> drawBlockInPlace(Unknown Source)
>  at 
org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.drawBlock(Unknown 
Source)
>  at org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.
> copyToRasterByBlocks(Unknown Source)
>  at 
org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.copyData(Unknown 
Source)
>  at 
org.apache.batik.ext.awt.image.rendered.TranslateRed.copyData(Unknown 
Source)
>  at org.apache.batik.ext.awt.image.rendered.PadRed.copyData(Unknown 
Source)
>  at org.apache.batik.gvt.renderer.StaticRenderer.repaint(Unknown Source)
>  at org.apache.batik.gvt.renderer.StaticRenderer.repaint(Unknown Source)
>  at org.apache.batik.swing.gvt.GVTTreeRenderer.run(Unknown Source)
> 
> I use a JSVGCanvas in a JSVGScrollPane to render my svg document.
> Both versions (standalone & module) are running under jre 1.5.0_02
> All the batik jars are declared in the classpath at runtime...
> 
> Can anyone give me a response ?Pour connaƮtre nos solutions et services, 
visitez
> 
> http://www.ic.lu
> 
> To learn about our services and solutions, please visit:
> http://www.ic.lu
> 
> 
> This E-mail is confidential. If you are not the addressee you may not 
copy, 
> forward, disclose or use any part of it. If you have received this 
message in 
> error, please delete it and notify the sender immediately by return 
E-mail.
> 
> Internet communications cannot be guaranteed to be timely, secure, error 
or 
> virus-free. The sender does not accept liability for any errors or 
omissions.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to