Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-453

ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.2
    • None
    • Module - Apt
    • None

    Description

      If you checkout the tag for version 1.7 of the maven antrun plugin, and run

      mvn site site:stage-deploy -Preporting

      you will be rewarded with the below. Oddly, when I ran it a second time with -X it went away.

      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] 1
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.ArrayIndexOutOfBoundsException: 1
      	at org.apache.maven.doxia.module.apt.AptParser$Table.traverseRow(AptParser.java:2618)
      	at org.apache.maven.doxia.module.apt.AptParser$Table.traverse(AptParser.java:2433)
      	at org.apache.maven.doxia.module.apt.AptParser.traverseSectionBlocks(AptParser.java:861)
      	at org.apache.maven.doxia.module.apt.AptParser.traverseSection(AptParser.java:807)
      	at org.apache.maven.doxia.module.apt.AptParser.traverseSection(AptParser.java:816)
      	at org.apache.maven.doxia.module.apt.AptParser.traverseBody(AptParser.java:758)
      	at org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:228)
      	at org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:63)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:399)
      	at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument(DoxiaDocumentRenderer.java:53)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:317)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134)
      	at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
      	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      [INFO] ------------------------------------------------------------------------

      Attachments

        1. DOXIA-453.patch
          1 kB
          Benson Margulies

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              bmargulies Benson Margulies
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: