I no longer get the AbstractMethodError when trying to extend FOP but...
WHen I downloaded the FOP I took both fop-0.20.4-src.tar.gz and fop-0.20.4rc-src.tar.gz which is the best to use as FOP. the one with the RC was the one giving me problems. -RaMSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AbstractMethodError when trying to extend FOP
cancel that I think I found it.Add photos to your messages with MSN 8. Get 2 months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AbstractMethodError when trying to extend FOP
I have attached my ExtElementMapping file and I also rebuilt FOP with debugging turned on this is the error I get: C:\apps\fop-0.20.4>fop c:\test.fo -pdf c:\test.pdf C:\apps\fop-0.20.4>java -cp build\fop.jar;build\test.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop c:\test.fo -pdf c:\test.pdf[INFO] FOP 0.20.4Exception in thread "main" java.lang.AbstractMethodError at org.apache.fop.apps.Driver.addElementMapping(Driver.java:415) at org.apache.fop.apps.Driver.addElementMapping(Driver.java:426) at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:300) at org.apache.fop.apps.Driver.(Driver.java:197) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:55) at org.apache.fop.apps.Fop.main(Fop.java:19) Tired of spam? Get advanced junk mail protection with MSN 8. ExtElementMapping.java Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AbstractMethodError when trying to extend FOP
AbstractMethodError means that a method on a class is called that is abstract. Compare your implementation with org.apache.fop.svg.SVGElementMapping. addToBuilder is just plain public and that's how it should be. Going to bed now...back in 9 hours. On 21.11.2002 22:51:38 Raffi Simon wrote: > as a test, I took the ExtensionElementMapping.java file that comes with the > sourse files and I added a system.out.println to the code and compiled it and > placed it in the classpath, I still get the same exception. I do not think > this has to do with my implementation. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AbstractMethodError when trying to extend FOP
as a test, I took the ExtensionElementMapping.java file that comes with the sourse files and I added a system.out.println to the code and compiled it and placed it in the classpath, I still get the same exception. I do not think this has to do with my implementation. -RafAdd photos to your e-mail with MSN 8. Get 2 months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AbstractMethodError when trying to extend FOP
Turn on debug info in the build.xml and recompile FOP. Having line numbers will make it a lot easier for you to track down the problem. Looking at the source of Driver I guess you don't have a method addToBuilder(FOTreeBuilder) in your ElementMapping implementation. On 21.11.2002 22:25:24 Raffi Simon wrote: > I follow the directions to extend FOP, I created a jar file with my classes > and place a org.apache.fop.fo.ElementMapping file in the jar and when I run > the FOP with my custom element I get the following. > [INFO] FOP 0.20.4rc > Exception in thread "main" java.lang.AbstractMethodError > at org.apache.fop.apps.Driver.addElementMapping(Unknown Source) > at org.apache.fop.apps.Driver.addElementMapping(Unknown Source) > at org.apache.fop.apps.Driver.setupDefaultMappings(Unknown Source) > at org.apache.fop.apps.Driver.(Unknown Source) > at org.apache.fop.apps.CommandLineStarter.run(Unknown Source) > at org.apache.fop.apps.Fop.main(Unknown Source) > Can anyone help? > -Raf Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AbstractMethodError when trying to extend FOP
I follow the directions to extend FOP, I created a jar file with my classes and place a org.apache.fop.fo.ElementMapping file in the jar and when I run the FOP with my custom element I get the following. [INFO] FOP 0.20.4rcException in thread "main" java.lang.AbstractMethodError at org.apache.fop.apps.Driver.addElementMapping(Unknown Source) at org.apache.fop.apps.Driver.addElementMapping(Unknown Source) at org.apache.fop.apps.Driver.setupDefaultMappings(Unknown Source) at org.apache.fop.apps.Driver.(Unknown Source) at org.apache.fop.apps.CommandLineStarter.run(Unknown Source) at org.apache.fop.apps.Fop.main(Unknown Source) Can anyone help? -RafMSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]