maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Created] (SCM-879) JazzChangeLogCommandTest#testListChangesetConsumerWithTimeOnly() fails with NPE on Java 10
Date Sun, 01 Apr 2018 23:07:01 GMT
Michael Osipov created SCM-879:

             Summary: JazzChangeLogCommandTest#testListChangesetConsumerWithTimeOnly() fails
with NPE on Java 10
                 Key: SCM-879
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-jazz
    Affects Versions: 1.9.5
         Environment: Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
Maven home: D:\Entwicklung\Programme\apache-maven-3.5.3\bin\..
Java version: 10, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk-10
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
            Reporter: Michael Osipov
            Assignee: Michael Osipov
             Fix For: 1.9.6

Surefire says:
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.917 sec <<< FAILURE!
- in org.apache.maven.scm.provider.jazz.command.changelog.JazzChangeLogCommandTest
Time elapsed: 0.678 sec  <<< ERROR!
        at org.apache.maven.scm.provider.jazz.command.changelog.JazzChangeLogCommandTest.testListChangesetConsumerWithTimeOnly({noformat}
The error is rooted in {{org.apache.maven.scm.provider.jazz.command.changelog.JazzListChangesetConsumer.processModifiedLine(String)}}.
It does not parse the given time with {{JAZZ_TIMESTAMP_PATTERN_TIME}} *and* {{Locale.ENGLISH}},
but relies on the system locale which will fail for non-English parsing {{AM/PM}}.

This message was sent by Atlassian JIRA

View raw message