This time with the diff I mentioned attached.. :-) M. On Wed, 6 Jun 2001, Marcus Crafter wrote: > Hi Dims, > > We've just been playing with the latest CVS C2 source, and it seems > like this checkin has broken the FOP support in C2. > > With the new batik-libs.jar we're getting the following exception: > > Exception in thread "main" java.lang.NoSuchMethodError at > org.apache.fop.render.pdf.SVGRenderer.applyStyle(SVGRenderer.java:1762) at > org.apache.fop.render.pdf.SVGRenderer.renderElement(SVGRenderer.java:2028) at > org.apache.fop.render.pdf.SVGRenderer.renderSVG(SVGRenderer.java:169) at > org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:367) at > org.apache.fop.dom.svg.SVGArea.render(SVGArea.java:106) at > org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.java:298) >at > org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java:93) at > org.apache.fop.render.PrintRenderer.renderLineArea(PrintRenderer.java:442) at > org.apache.fop.layout.LineArea.render(LineArea.java:129) at > org.apache.fop.render.PrintRenderer.renderBlockArea(PrintRenderer.java:314) at > org.apache.fop.layout.BlockArea.render(BlockArea.java:125) at > org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:189) at > org.apache.fop.layout.AreaContainer.render(AreaContainer.java:77) at > org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:189) at > org.apache.fop.layout.AreaContainer.render(AreaContainer.java:77) at > org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:189) at > org.apache.fop.layout.AreaContainer.render(AreaContainer.java:77) at > org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:189) at > <snip>... > > The exception is not seen in the cocoon.log because it's an error, > I've attached a patch to have errors (ie. throwable) logged, so you > can see it as well. > > After some testing we've seen that following situations do work: > > o previous batik-all.jar/w3c.jar and C2's current fop-0.18.1.jar > o C2's current batik-libs.jar/dom2.jar and today's CVS fop > > It seems like some methods have changed in batik, which have been > updated in FOP CVS, but unfortunately after the release of fop 0.18.1. > > Is it possible to update the FOP jar file in lib to a newer version as > well ? > > Cheers, > > Marcus > > > > dims 01/05/31 10:30:37 > > > > Modified: lib xalan-2.1.0.jar > > Added: lib batik-libs.jar dom2.jar > > Removed: lib batik-all.jar w3c.jar > > Log: > > Moved to Latest Batik and Xalan2.1.0 from CVS. This is needed for getting > > the Internationalization sample to work out of the box in Tomcat 4.0. > > - Duplicate classes org.w3c.* and org.xml.* were removed from batik by using a >new > > target named "libs-jar" > > - Added dom2.jar which has the necessary org.w3c.* files. This was picked up > > from http://www.w3.org/DOM/DOMTM > > - Xalan's org.xml.sax.helpers.AttributesImpl was updated to be in sync with >xerces. > > > > Revision Changes Path > > 1.2 +2610 -2574xml-cocoon2/lib/xalan-2.1.0.jar > > > > <<Binary file>> > > > > > > 1.1 xml-cocoon2/lib/batik-libs.jar > > > > <<Binary file>> > > > > > > 1.1 xml-cocoon2/lib/dom2.jar > > > > <<Binary file>> > > > > > > > > ---------------------------------------------------------------------- > > In case of troubles, e-mail: [EMAIL PROTECTED] > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > ..... > ,,$$$$$$$$$, Marcus Crafter > ;$' '$$$$: Computer Systems Engineer > $: $$$$: Open Software Associates GmbH > $ o_)$$$: 82-84 Mainzer Landstrasse > ;$, _/\ &&:' 60327 Frankfurt Germany > ' /( &&& > \_&&&&' Email : [EMAIL PROTECTED] > &&&&. Business Hours : +49 69 9757 200 > &&&&&&&: After Hours : +49 69 49086750 > > -- ..... ,,$$$$$$$$$, Marcus Crafter ;$' '$$$$: Computer Systems Engineer $: $$$$: Open Software Associates GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$, _/\ &&:' 60327 Frankfurt Germany ' /( &&& \_&&&&' Email : [EMAIL PROTECTED] &&&&. Business Hours : +49 69 9757 200 &&&&&&&: After Hours : +49 69 49086750
Index: FOPSerializer.java =================================================================== RCS file: /home/cvspublic/xml-cocoon2/src/org/apache/cocoon/serialization/FOPSerializer.java,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 FOPSerializer.java --- FOPSerializer.java 2001/05/09 20:49:38 1.1.1.1 +++ FOPSerializer.java 2001/06/06 19:55:01 @@ -128,7 +128,10 @@ } catch (FOPException e) { getLogger().error("FOPSerializer.endDocument()", e); throw new SAXException (e); - } + } catch (Throwable t) { + getLogger().error("FOPSerializer.endDocument()", t); + throw new SAXException (t.getMessage()); + } } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]