[ 
https://issues.apache.org/jira/browse/MPIR-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MPIR-462:
--------------------------------
    Fix Version/s: 3.6.1

> [REGRESSION] NFEx: For input string: "1.8" in project w/ MR dependency
> ----------------------------------------------------------------------
>
>                 Key: MPIR-462
>                 URL: https://issues.apache.org/jira/browse/MPIR-462
>             Project: Maven Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 3.6.0
>         Environment: jdk:21
> mvn:3.9.7
> maven-site-plugin:3.12.1
>            Reporter: Piotr Zygielo
>            Assignee: Michael Osipov
>            Priority: Critical
>             Fix For: 3.6.1
>
>         Attachments: MPIR-462.zip
>
>
> In project with {{io.projectreactor:reactor-core:3.6.6}} dependency:
> {code:java}
> Error:  Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site) on 
> project X: Error generating 
> maven-project-info-reports-plugin:3.6.0:dependencies report: For input 
> string: "1.8" -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site) on 
> project X: Error generating 
> maven-project-info-reports-plugin:3.6.0:dependencies report
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
> (MojoExecutor.java:333)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:316)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:174)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
> (MojoExecutor.java:75)
>     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
> (MojoExecutor.java:162)
>     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
> (DefaultMojosExecutionStrategy.java:39)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:159)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:105)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:193)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:180)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:317)
>     at java.util.concurrent.Executors$RunnableAdapter.call 
> (Executors.java:572)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:317)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1144)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:642)
>     at java.lang.Thread.run (Thread.java:1583)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error generating 
> maven-project-info-reports-plugin:3.6.0:dependencies report
>     at org.apache.maven.plugins.site.render.SiteMojo.execute 
> (SiteMojo.java:153)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:126)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
> (MojoExecutor.java:328)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:316)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:174)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
> (MojoExecutor.java:75)
>     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
> (MojoExecutor.java:162)
>     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
> (DefaultMojosExecutionStrategy.java:39)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:159)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:105)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:193)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:180)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:317)
>     at java.util.concurrent.Executors$RunnableAdapter.call 
> (Executors.java:572)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:317)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1144)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:642)
>     at java.lang.Thread.run (Thread.java:1583)
> Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error 
> generating maven-project-info-reports-plugin:3.6.0:dependencies report
>     at 
> org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument 
> (ReportDocumentRenderer.java:247)
>     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render 
> (DefaultSiteRenderer.java:348)
>     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale 
> (SiteMojo.java:194)
>     at org.apache.maven.plugins.site.render.SiteMojo.execute 
> (SiteMojo.java:143)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:126)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
> (MojoExecutor.java:328)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:316)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:174)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
> (MojoExecutor.java:75)
>     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
> (MojoExecutor.java:162)
>     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
> (DefaultMojosExecutionStrategy.java:39)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:159)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:105)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:193)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:180)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:317)
>     at java.util.concurrent.Executors$RunnableAdapter.call 
> (Executors.java:572)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:317)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1144)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:642)
>     at java.lang.Thread.run (Thread.java:1583)
> Caused by: java.lang.NumberFormatException: For input string: "1.8"
>     at java.lang.NumberFormatException.forInputString 
> (NumberFormatException.java:67)
>     at java.lang.Integer.parseInt (Integer.java:662)
>     at java.lang.Integer.valueOf (Integer.java:989)
>     at 
> org.apache.maven.shared.jar.classes.JarClassesAnalysis.analyzeMultiRelease 
> (JarClassesAnalysis.java:157)
>     at org.apache.maven.shared.jar.classes.JarClassesAnalysis.analyze 
> (JarClassesAnalysis.java:112)
>     at 
> org.apache.maven.report.projectinfo.dependencies.Dependencies.getJarDependencyDetails
>  (Dependencies.java:228)
>     at 
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.hasSealed
>  (DependenciesRenderer.java:1222)
>     at 
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyFileDetails
>  (DependenciesRenderer.java:518)
>     at 
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody
>  (DependenciesRenderer.java:233)
>     at org.apache.maven.reporting.AbstractMavenReportRenderer.render 
> (AbstractMavenReportRenderer.java:82)
>     at org.apache.maven.report.projectinfo.DependenciesReport.executeReport 
> (DependenciesReport.java:167)
>     at org.apache.maven.reporting.AbstractMavenReport.generate 
> (AbstractMavenReport.java:289)
>     at 
> org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument 
> (ReportDocumentRenderer.java:226)
>     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render 
> (DefaultSiteRenderer.java:348)
>     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale 
> (SiteMojo.java:194)
>     at org.apache.maven.plugins.site.render.SiteMojo.execute 
> (SiteMojo.java:143)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:126)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
> (MojoExecutor.java:328)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:316)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:174)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
> (MojoExecutor.java:75)
>     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
> (MojoExecutor.java:162)
>     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
> (DefaultMojosExecutionStrategy.java:39)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:159)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:105)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:193)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:180)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:317)
>     at java.util.concurrent.Executors$RunnableAdapter.call 
> (Executors.java:572)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:317)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1144)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:642)
>     at java.lang.Thread.run (Thread.java:1583)
> {code}
> This results in build failure.
> https://lists.apache.org/thread/wz513840qd1gfwk91v2kq6zo3718wh9z



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to