org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate (docbook-processing) on project hibernate-validator-documentation: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048

Hibernate JIRA | Hardy Ferentschik | 2 years ago
  1. 0

    [HV-997] Upgrade asciidoctor plugin - Hibernate JIRA

    atlassian.net | 11 months ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate (docbook-processing) on project hibernate-validator-documentation: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048
  2. 0

    The current version causes the following error during {{release:perform}}: {noformat} [INFO] Starting rendering en-US/pdf redirecting output to file [/Users/hardy/tmp/hibernate/validator/hibernate-validator/target/checkout/documentation/target/docbook/work/log/console-en-US-pdf.log] [INFO] creating FOP user-config DOM [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27.121 s [INFO] Finished at: 2015-05-22T20:57:45+02:00 [INFO] Final Memory: 51M/468M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate (docbook-processing) on project hibernate-validator-documentation: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate (docbook-processing) on project hibernate-validator-documentation: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.ArrayIndexOutOfBoundsException: 2048 at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.icl.saxon.om.Builder.build(Builder.java:265) at com.icl.saxon.Controller.transform(Controller.java:936) at org.jboss.jdocbook.render.RendererImpl.render(RendererImpl.java:151) at org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:65) at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.doExecute(AbstractDocBookMojo.java:297) at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:229) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) ... 20 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException {noformat} For some reason this does not occur during normal built, but only during {{repease:perform}}. The problems is due to a missing new line at the generated input file ({{index.xml}}) for docbook processing. Upgrading the asciidoctor plugin to the latest version ({{1.5.2}}) seems to fix the problem.

    Hibernate JIRA | 2 years ago | Hardy Ferentschik
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate (docbook-processing) on project hibernate-validator-documentation: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048
  3. 0

    The current version causes the following error during {{release:perform}}: {noformat} [INFO] Starting rendering en-US/pdf redirecting output to file [/Users/hardy/tmp/hibernate/validator/hibernate-validator/target/checkout/documentation/target/docbook/work/log/console-en-US-pdf.log] [INFO] creating FOP user-config DOM [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27.121 s [INFO] Finished at: 2015-05-22T20:57:45+02:00 [INFO] Final Memory: 51M/468M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate (docbook-processing) on project hibernate-validator-documentation: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate (docbook-processing) on project hibernate-validator-documentation: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.ArrayIndexOutOfBoundsException: 2048 at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.icl.saxon.om.Builder.build(Builder.java:265) at com.icl.saxon.Controller.transform(Controller.java:936) at org.jboss.jdocbook.render.RendererImpl.render(RendererImpl.java:151) at org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:65) at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.doExecute(AbstractDocBookMojo.java:297) at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:229) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) ... 20 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException {noformat} For some reason this does not occur during normal built, but only during {{repease:perform}}. The problems is due to a missing new line at the generated input file ({{index.xml}}) for docbook processing. Upgrading the asciidoctor plugin to the latest version ({{1.5.2}}) seems to fix the problem.

    Hibernate JIRA | 2 years ago | Hardy Ferentschik
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate (docbook-processing) on project hibernate-validator-documentation: Execution docbook-processing of goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.8:generate failed: 2048
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.ArrayIndexOutOfBoundsException

      2048

      at org.apache.xerces.impl.XMLEntityScanner.skipSpaces()
    2. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
      2. org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      4. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      7. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      8. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      8 frames
    3. com.icl.saxon
      Controller.transform
      1. com.icl.saxon.om.Builder.build(Builder.java:265)
      2. com.icl.saxon.Controller.transform(Controller.java:936)
      2 frames
    4. org.jboss.jdocbook
      RendererImpl.render
      1. org.jboss.jdocbook.render.RendererImpl.render(RendererImpl.java:151)
      1 frame
    5. org.jboss.maven
      AbstractDocBookMojo.execute
      1. org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:65)
      2. org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.doExecute(AbstractDocBookMojo.java:297)
      3. org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:229)
      3 frames
    6. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
      1 frame
    7. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      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:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
      9 frames
    8. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      3 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    10. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames