java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer c ould be found for this output format.

SpringSource Issue Tracker | cliff.chen | 4 years ago
  1. 0

    In the bundle <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.fop</artifactId> <version>1.0_2</version> </dependency> It seems that there is a difference between the bundle and original fop jar(http://repo1.maven.org/maven2/org/apache/xmlgraphics/fop/1.0/fop-1.0.jar). It leaves out service configuration in the bundle under META-INF\services\. there are some excpetion when using it in karaf: 2012-12-13 16:22:41,596 | ERROR | qtp1553639268-32 | DefaultFOProcessor | 675 - fo-to-pdf-converter - 1.0.41001.20121213-1411-RELEASE | Transformation failed: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found fo r this output format. java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer c ould be found for this output format. at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361) at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:105) at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101) at org.apache.fop.apps.Fop.<init>(Fop.java:79) at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:271)

    SpringSource Issue Tracker | 4 years ago | cliff.chen
    java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer c ould be found for this output format.
  2. 0

    In the bundle <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.fop</artifactId> <version>1.0_2</version> </dependency> It seems that there is a difference between the bundle and original fop jar(http://repo1.maven.org/maven2/org/apache/xmlgraphics/fop/1.0/fop-1.0.jar). It leaves out service configuration in the bundle under META-INF\services\. there are some excpetion when using it in karaf: 2012-12-13 16:22:41,596 | ERROR | qtp1553639268-32 | DefaultFOProcessor | 675 - fo-to-pdf-converter - 1.0.41001.20121213-1411-RELEASE | Transformation failed: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found fo r this output format. java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer c ould be found for this output format. at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361) at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:105) at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101) at org.apache.fop.apps.Fop.<init>(Fop.java:79) at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:271)

    SpringSource Issue Tracker | 4 years ago | cliff.chen
    java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer c ould be found for this output format.
  3. 0

    text/xsl error while converting docx to pdf

    Stack Overflow | 11 months ago | speedpak
    java.lang.UnsupportedOperationException: Don't know how to handle "text/xsl" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FOP for Android?

    Stack Overflow | 6 years ago | Zac
    java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
  6. 0

    [Camel-users] Apache Karaf and camel-fop - Grokbase

    grokbase.com | 4 months ago
    java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer c ould be found for this output format.

      at org.apache.fop.render.RendererFactory.createFOEventHandler()
    2. Apache FOP
      FopFactory.newFop
      1. org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)
      2. org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:105)
      3. org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101)
      4. org.apache.fop.apps.Fop.<init>(Fop.java:79)
      5. org.apache.fop.apps.FopFactory.newFop(FopFactory.java:271)
      5 frames