Bug 49827 - integration of barcode in fop 1.0
Hello, I am experiencing exactly the same issue as user named balza who commented the bug. I´ve already asked at apache forum but so far i got no answer (link is below). I´ve also attached the simple eclipse project (maven) to reproduce the issue. Is there a solution for it or some workaround? Thank you very much Great Regards Martin Klapec Link to apache issue :http://apache-fop.1065347.n5.nabble.com/Barcode-generation-with-FOP-1-1-td41617.html#a41618 Dropbox link to the projecthttps://dl.dropboxusercontent.com/u/41716864/barcode%20and%20fop.zip
[Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 Joshy Cyriac changed: What|Removed |Added CC||j.cyr...@gmail.com -- You are receiving this mail because: You are the assignee for the bug.
[Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 balza changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #9 from balza --- The problem still present FOP 1.1 BARCODE 2.1 JDK1.6.0_22 I don't understand if the problem is barcode4j 2.1, fop 1.1 or xmlgraphic-commons 1.5 Here the stacktrace. [LoggingEventListener.java:101] Image not available. URI: (instream-object). Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null (No context info available) org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null at org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:180) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(AbstractIFPainter.java:296) at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:203) at org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(IFRenderer.java:1290) at org.apache.fop.render.AbstractRenderer.renderInlineViewport(AbstractRenderer.java:820) at org.apache.fop.render.AbstractPathOrientedRenderer.renderInlineViewport(AbstractPathOrientedRenderer.java:785) at org.apache.fop.render.intermediate.IFRenderer.renderInlineViewport(IFRenderer.java:866) at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:678) at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:913) at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:643) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:561) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:980) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:980) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546) at org.apache.fop.render.AbstractRenderer.renderRegion(AbstractRenderer.java:337) at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:301) at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:748) at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:257) at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:238) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.renderPage(RenderPagesModel.java:193) at org.apache.fop.area.RenderPagesModel.checkPreparedPages(RenderPagesModel.java:174) at org.apache.fop.area.RenderPagesModel.endDocument(RenderPagesModel.java:258) at org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java:342) at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:168) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:183) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1273) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251) at it.gesi.commons.pdf.impl.Obj2pdf.transform(Obj2pdf.java:102) at it.gesi.commons.pdf.impl.Obj2pdf.generatePFDOutputStream(Obj2pdf.java:63) at it.gesi.wba.gestionali.pdf.CreatePdf.createPDF(CreatePdf.java:69) at it.gesi.wba.gestionali.pdf.CreatePdf.createPDF(CreatePdf.java:62) at it.gesi.wba.gestionali.pdf.CreatePdf.creaPdf(CreatePdf.java:76) at it.gesi.commons.stampa.CreaPdfTest.testCreaPdf(CreaPdfTest.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:228) at junit.framework
DO NOT REPLY [Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 Jeremias Maerki changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #8 from Jeremias Maerki 2012-04-02 05:32:25 UTC --- The Barcode4J 2.1 release should have resolved that: http://barcode4j.sourceforge.net/changes.html#version_2.1 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 --- Comment #7 from Glenn Adams 2012-04-01 19:57:37 UTC --- (In reply to comment #6) > I get side-tracked constantly lately. I've made some progress preparing > Barcode4J for release but there are still a few things I need to finish first. > Paying clients first, open source second. Sorry. jeremias, any status change on this bug? should it be moved to resolved? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 --- Comment #6 from Jeremias Maerki 2010-11-12 03:43:36 EST --- I get side-tracked constantly lately. I've made some progress preparing Barcode4J for release but there are still a few things I need to finish first. Paying clients first, open source second. Sorry. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 --- Comment #5 from Karsten 2010-11-12 03:38:14 EST --- Hi folks, I'm just having the very same issues. Any news about a build that works well with fop 1.0? Cheers, Karsten -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 marc-andre.mar...@progimed.fr changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME | AssignedTo|fop-...@xmlgraphics.apache. |marc-andre.mar...@progimed. |org |fr --- Comment #2 from marc-andre.mar...@progimed.fr 2010-09-03 08:19:57 EDT --- Created an attachment (id=25981) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25981) Fo file Hi, I have not solved my problem, my classpath is well referenced. I send you the fo file that contains barcode. My classpath is : LOCALCLASSPATH=${FOP_HOME}/build/fop.jar${pathSepChar}${FOP_HOME}/build/fop-sandbox.jar${pathSepChar}${FOP_HOME}/build/fop-hyph.jar${pathSepChar}${FOP_HOME}/barcode4j-2.0/build/barcode4j-fop-ext-complete.jar${pathSepChar}$LOCALCLASSPATH barcode4j is in the barcode4j-2.0 folder. when I change the fop.jar by that of fop-0.95 it works very well, but with that of his fop-1.0 does not work. when I activate the traces, I see these messages appear : - [TRACE] ImageProviderPipeline - Caching image: org.apache.xmlgraphics.image.loader.impl.ImageXMLDOM: null (image/svg+xml) - [ERROR] FOUserAgent - Image not available. URI: (instream-object). Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null (No context info available) Can you help me please ? I test only command line. My configuration is a red hat linux 64 bit. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 Jeremias Maerki changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Comment #1 from Jeremias Maerki 2010-08-30 10:22:00 EDT --- That setup works for me. Usually, this error means that Barcode4J is not in the classpath. Please recheck your application. When in doubt, make sure that "barcode4j-fop-ext-complete.jar" is in the classpath. If this only happens in your application, please try from the FOP command-line, too. Please re-open if that doesn't help, but I'm not sure how I can help any further since it works for me. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 49827] integration of barcode in fop 1.0
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827 marc-andre.mar...@progimed.fr changed: What|Removed |Added Priority|P2 |P1 CC||marc-andre.mar...@progimed. ||fr -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.