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 Thomas E Deweese <th...@kodak.com> on 2001/02/01 14:36:48 UTC
Problem with feTile.svg
Hi all,
I'm in the processes of regression testing my new
Pattern/Tiling/DisplacementMapping code for commit so I extracted
latest CVS and tried to run all our svg files and selected be-suite
files.
With the latest CVS (I updated at ~8:15am EST) I get the following
stack trace with feTile. I wouldn't mind except this is exactly one
of the tests I want to check :)
All the code in the stack trace is ours (org.apache.batik). What I
can't figure out is how it's getting it's jar files crossed (I cleared
my classpath, so this is using only what ant sets up). The jar files
must be getting confused otherwise I wouldn't be able to compile those
classes.
Any ideas?
[java] Exception in thread "main" java.lang.NoSuchMethodError
[java] at org.apache.batik.dom.AbstractParentNode.fireDOMNodeInsertedEvent(AbstractParentNode.java:316)
[java] at org.apache.batik.dom.AbstractParentNode.appendChild(AbstractParentNode.java:198)
[java] at org.apache.batik.dom.AbstractParentNode.deepExport(AbstractParentNode.java:270)
[java] at org.apache.batik.dom.AbstractAttr.deepExport(AbstractAttr.java:197)
[java] at org.apache.batik.dom.AbstractElement.deepExport(AbstractElement.java:399)
[java] at org.apache.batik.dom.svg.SVGOMElement.deepExport(SVGOMElement.java:276)
[java] at org.apache.batik.dom.AbstractParentNode.deepExport(AbstractParentNode.java:269)
[java] at org.apache.batik.dom.AbstractElement.deepExport(AbstractElement.java:392)
[java] at org.apache.batik.dom.svg.SVGOMElement.deepExport(SVGOMElement.java:276)
[java] at org.apache.batik.dom.AbstractDocument.importNode(AbstractDocument.java:207)
[java] at org.apache.batik.bridge.ConcreteGVTBuilder.buildGraphicsNode(ConcreteGVTBuilder.java:201)
[java] at org.apache.batik.bridge.ConcreteGVTBuilder.buildComposite(ConcreteGVTBuilder.java:155)
[java] at org.apache.batik.bridge.ConcreteGVTBuilder.build(ConcreteGVTBuilder.java:86)
[java] at org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:172)
[java] at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:122)
[java] at org.apache.batik.apps.regard.Main.writeImage(Main.java:493)
[java] at org.apache.batik.apps.regard.Main.generateImages(Main.java:208)
[java] at org.apache.batik.apps.regard.Main.generateRefImages(Main.java:174)
[java] at org.apache.batik.apps.regard.Main.main(Main.java:88)
[java] Java Result: 1
Re: Problem with feTile.svg
Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "TK" == Thierry Kormann <Th...@sophia.inria.fr> writes:
>> Try ./build.sh regard on feTile or thumbnail (which uses feTile).
>>
>> Most everything else (at least through 'th') seems to work...
>>
TK> OK I have found the problem and I have fixed it.
TK> The problem was that the regard rule in the build.xml put the
TK> xerces archive before our classes directory. So the
TK> org.w3c.... packages of xerces were found first...
Thanks...
TK> (by the way, due to external use, I had to copy test.css and
TK> batikLogo.svg in respecively regard/svg and regard/).
Yes, this is a bit of an annoyance with using regard...
Re: Problem with feTile.svg
Posted by Thierry Kormann <Th...@sophia.inria.fr>.
> Try ./build.sh regard on feTile or thumbnail (which uses feTile).
>
> Most everything else (at least through 'th') seems to work...
>
OK I have found the problem and I have fixed it.
The problem was that the regard rule in the build.xml put
the xerces archive before our classes directory. So
the org.w3c.... packages of xerces were found first...
I have changed the build.xml for regard and I was able to
use regard with feTile.svg (by the way, due to external use, I had
to copy test.css and batikLogo.svg in respecively
regard/svg and regard/).
Thierry.
--
Thierry Kormann
email: Thierry.Kormann@sophia.inria.fr http://www.inria.fr/koala/tkormann/
Koala/Dyade/Bull @ INRIA - Sophia Antipolis
Re: Problem with feTile.svg
Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "TK" == Thierry Kormann <Th...@sophia.inria.fr> writes:
TK> Thomas E Deweese wrote:
>> All the code in the stack trace is ours (org.apache.batik). What I
>> can't figure out is how it's getting it's jar files crossed (I
>> cleared my classpath, so this is using only what ant sets up). The
>> jar files must be getting confused otherwise I wouldn't be able to
>> compile those classes.
TK> No idea. I have just commited changes to remove GVTFactory and
TK> ParserFactory. My changes should not fix your problem.
I'll check these out and see if the problem persists.
TK> I was not able to see the exception. I have tried to view
TK> feTile.svg using the viewer or rasterize it (using rasterizer)
TK> feTile.svg and no problem.
I get it with regard, I don't get it with the viewer (didn't try
the rasterizer).
TK> With the huge changes I made to clean the various packages, may be
TK> it's time to do a full checkout if possible.
TK> If you could indicate me a way to reproduce the error, I could
TK> investigate.
Try ./build.sh regard on feTile or thumbnail (which uses feTile).
Most everything else (at least through 'th') seems to work...
Re: Problem with feTile.svg
Posted by Thierry Kormann <Th...@sophia.inria.fr>.
Thomas E Deweese wrote:
> All the code in the stack trace is ours (org.apache.batik). What I
> can't figure out is how it's getting it's jar files crossed (I cleared
> my classpath, so this is using only what ant sets up). The jar files
> must be getting confused otherwise I wouldn't be able to compile those
> classes.
No idea. I have just commited changes to remove GVTFactory and ParserFactory.
My changes should not fix your problem.
I was not able to see the exception.
I have tried to view feTile.svg using the viewer or
rasterize it (using rasterizer) feTile.svg and no problem.
With the huge changes I made to clean the various packages, may be
it's time to do a full checkout if possible.
If you could indicate me a way to reproduce the error,
I could investigate.
Regards,
Thierry.
--
Thierry Kormann
email: Thierry.Kormann@sophia.inria.fr http://www.inria.fr/koala/tkormann/
Koala/Dyade/Bull @ INRIA - Sophia Antipolis