org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation

Apache's JIRA Issue Tracker | Sven Homburg | 9 years ago
  1. 0

    if the rootPackage contains classes the plugin tries to evaluate this and throws such exception org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) 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:585) 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) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:101) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error rendering Maven report: String index out of range: -26 at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:149) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:269) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:101) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:129) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96) ... 18 more Caused by: org.apache.maven.reporting.MavenReportException: String index out of range: -26 at org.apache.tapestry.mojo.ComponentReport.executeReport(ComponentReport.java:231) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:139) ... 22 more Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -26 at java.lang.String.substring(String.java:1768) at org.apache.tapestry.mojo.ComponentReport.extractSubpackage(ComponentReport.java:241) at org.apache.tapestry.mojo.ComponentReport.executeReport(ComponentReport.java:185) ... 24 more

    Apache's JIRA Issue Tracker | 9 years ago | Sven Homburg
    org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation
  2. 0

    Getting StringIndexOutOfBounds exception with Progress Database

    Stack Overflow | 5 years ago | user954419
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ArrayOutofBound Exception not caught

    Stack Overflow | 5 years ago | Monojeet Nayak
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  5. 0

    How do i disable proxy injection (or hta?) mode using beta 2

    Google Groups | 8 years ago | Dubya
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
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.StringIndexOutOfBoundsException

    String index out of range: -26

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1768)
    1 frame
  3. org.apache.tapestry
    ComponentReport.executeReport
    1. org.apache.tapestry.mojo.ComponentReport.extractSubpackage(ComponentReport.java:241)
    2. org.apache.tapestry.mojo.ComponentReport.executeReport(ComponentReport.java:185)
    2 frames
  4. Maven Compat
    AbstractMavenReport.generate
    1. org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
    1 frame
  5. Apache Maven Site Plugin
    ReportDocumentRenderer.renderDocument
    1. org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:139)
    1 frame
  6. Doxia :: Site Renderer
    DefaultSiteRenderer.render
    1. org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:269)
    2. org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:101)
    2 frames
  7. Apache Maven Site Plugin
    SiteMojo.execute
    1. org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:129)
    2. org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96)
    2 frames
  8. Maven Plugin
    DefaultPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
    1 frame
  9. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
    2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
    3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
    4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
    5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
    6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
    7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
    8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
    8 frames
  10. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
    1 frame
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  12. Plexus
    Launcher.main
    1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    4 frames