You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2018/05/30 17:16:02 UTC

[jira] [Closed] (MNG-6419) Error if debug log enabled in multithreaded builds

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

Robert Scholte closed MNG-6419.
-------------------------------
    Resolution: Duplicate
      Assignee: Robert Scholte

> Error if debug log enabled in multithreaded builds
> --------------------------------------------------
>
>                 Key: MNG-6419
>                 URL: https://issues.apache.org/jira/browse/MNG-6419
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.5.3
>         Environment: Maven 3.5.3
> Java 1.8.0_161
>            Reporter: Stefan Mueller
>            Assignee: Robert Scholte
>            Priority: Major
>
> If running parallel builds of multi-module projects with enabled debug logs Maven stops with an error durcing logging of output.
> Command to reproduce: *mvn -X -T 5 clean install*
> See the stacktrace below.
> java.lang.NumberFormatException: For input string: "36m"
>          at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>          at java.lang.Integer.parseInt(Integer.java:580)
>          at java.lang.Integer.<init>(Integer.java:867)
>          at org.fusesource.jansi.AnsiPrintStream.filter(AnsiPrintStream.java:129)
>          at org.fusesource.jansi.FilterPrintStream.write(FilterPrintStream.java:97)
>          at org.fusesource.jansi.FilterPrintStream.write(FilterPrintStream.java:107)
>          at org.fusesource.jansi.FilterPrintStream.print(FilterPrintStream.java:156)
>          at org.slf4j.impl.MavenSimpleLogger.writeThrowable(MavenSimpleLogger.java:69)
>          at org.slf4j.impl.SimpleLogger.write(SimpleLogger.java:319)
>          at org.slf4j.impl.SimpleLogger.log(SimpleLogger.java:295)
>          at org.slf4j.impl.SimpleLogger.error(SimpleLogger.java:593)
>          at org.apache.maven.cli.CLIReportingUtils.showError(CLIReportingUtils.java:138)
>          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:309)
>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
>          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:498)
>          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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)