maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Falko Modler (JIRA)" <>
Subject [jira] [Created] (MNG-6382) JANSI fails frequently with NumberFormatException when building in parallel
Date Wed, 21 Mar 2018 16:15:00 GMT
Falko Modler created MNG-6382:

             Summary: JANSI fails frequently with NumberFormatException when building in parallel
                 Key: MNG-6382
             Project: Maven
          Issue Type: Bug
          Components: Logging
    Affects Versions: 3.5.3
            Reporter: Falko Modler

After upgrading from 3.3.9 to 3.5.4 my parallel Maven build fail frequently with:
java.lang.NumberFormatException: For input string: "34m"
        at java.base/java.lang.NumberFormatException.forInputString(
        at java.base/java.lang.Integer.parseInt(
        at java.base/java.lang.Integer.<init>(
        at org.fusesource.jansi.AnsiPrintStream.filter(
        at org.fusesource.jansi.FilterPrintStream.write(
        at org.fusesource.jansi.FilterPrintStream.write(
        at org.fusesource.jansi.FilterPrintStream.print(
        at org.slf4j.impl.MavenSimpleLogger.writeThrowable(
        at org.slf4j.impl.SimpleLogger.write(
        at org.slf4j.impl.SimpleLogger.log(
        at org.slf4j.impl.SimpleLogger.error(
        at org.apache.maven.cli.CLIReportingUtils.showError(
        at org.apache.maven.cli.MavenCli.doMain(
        at org.apache.maven.cli.MavenCli.main(
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.base/java.lang.reflect.Method.invoke(
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(
This seems to have been [fixed in JANSI master branch|]
but it has not yet been released. There is already a request for a bugfix release, see [issue
114 ("Need 1.17.1 release")|].

Maven 3.5.4 should therefore upgrade to JANSI 1.17.1.

This message was sent by Atlassian JIRA

View raw message