org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.agilejava.docbkx:docbkx-maven-plugin:2.0.14:generate-pdf (generate-pdf-docs) on project rice: Failed to transform to fo

Kuali JIRA | Erik Meade | 3 years ago
  1. 0

    Seems to be related to this change https://fisheye.kuali.org/changelog/rice?cs=42335 when I use the previous version the error below does not occur. {code} ERROR] Failed to execute goal com.agilejava.docbkx:docbkx-maven-plugin:2.0.14:generate-pdf (generate-pdf-docs) on project rice: Failed to transform to fo: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}list-item" is not a valid child of "fo:block"! (See position 2097:131): null:2097:131: "{http://www.w3.org/1999/XSL/Format}list-item" is not a valid child of "fo:block"! (See position 2097:131) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.agilejava.docbkx:docbkx-maven-plugin:2.0.14:generate-pdf (generate-pdf-docs) on project rice: Failed to transform to fo at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to transform to fo at com.agilejava.docbkx.maven.AbstractFoMojo.postProcessResult(AbstractFoMojo.java:161) at com.agilejava.docbkx.maven.AbstractTransformerMojo.execute(AbstractTransformerMojo.java:166) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}list-item" is not a valid child of "fo:block"! (See position 2097:131) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501) at com.agilejava.docbkx.maven.AbstractFoMojo.postProcessResult(AbstractFoMojo.java:154) ... 22 more Caused by: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}list-item" is not a valid child of "fo:block"! (See position 2097:131) at org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38) at org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:54) at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:175) at $Proxy20.invalidChild(Unknown Source) at org.apache.fop.fo.FONode.invalidChildError(FONode.java:534) at org.apache.fop.fo.FONode.invalidChildError(FONode.java:517) at org.apache.fop.fo.flow.Block.validateChildNode(Block.java:291) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:267) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484) ... 23 more {code} http://ci.rice.kuali.org/job/rice-2.4-site-deploy/40/console

    Kuali JIRA | 3 years ago | Erik Meade
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.agilejava.docbkx:docbkx-maven-plugin:2.0.14:generate-pdf (generate-pdf-docs) on project rice: Failed to transform to fo
  2. 0

    What is wrong with my xsl-fo code

    Stack Overflow | 4 years ago | user525146
    org.apache.fop.fo.ValidationException: Document is empty (something m ight be wrong with your XSLT stylesheet).
  3. 0

    Convert XML to PDF with Oxygen

    Stack Overflow | 5 years ago
    net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}inline" is not a valid child of "fo:flow"! (See position 4:-1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    having a xsi:schemaLocation on fo:root throws a ValidationException

    Apache Bugzilla | 5 years ago | xdury
    org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:root": xsi:schemaLocation (See position 4:143)
  6. 0

    【已解决】docbook中pdf中没有出现/显示revhistory所对应的历史版本 | 在路上

    crifan.com | 7 months ago
    javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Property ID "id36018215" (found on "fo:list-block") previously used; ID values must be unique within a document! (See position 9:296)

    6 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. org.apache.fop.fo.ValidationException

      "{http://www.w3.org/1999/XSL/Format}list-item" is not a valid child of "fo:block"! (See position 2097:131)

      at org.apache.fop.events.ValidationExceptionFactory.createException()
    2. Apache FOP
      DefaultEventBroadcaster$1.invoke
      1. org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38)
      2. org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:54)
      3. org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:175)
      3 frames
    3. Unknown
      $Proxy20.invalidChild
      1. $Proxy20.invalidChild(Unknown Source)
      1 frame
    4. Apache FOP
      FOTreeBuilder.startElement
      1. org.apache.fop.fo.FONode.invalidChildError(FONode.java:534)
      2. org.apache.fop.fo.FONode.invalidChildError(FONode.java:517)
      3. org.apache.fop.fo.flow.Block.validateChildNode(Block.java:291)
      4. org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:267)
      5. org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)
      5 frames
    5. Xalan Java
      TransformerIdentityImpl.startElement
      1. org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
      1 frame
    6. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      8 frames
    7. Xalan Java
      TransformerIdentityImpl.transform
      1. org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
      1 frame
    8. com.agilejava.docbkx
      AbstractTransformerMojo.execute
      1. com.agilejava.docbkx.maven.AbstractFoMojo.postProcessResult(AbstractFoMojo.java:154)
      2. com.agilejava.docbkx.maven.AbstractTransformerMojo.execute(AbstractTransformerMojo.java:166)
      2 frames
    9. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    10. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      9 frames
    11. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    13. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      4 frames