You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2021/12/18 17:28:00 UTC

[jira] [Updated] (SUREFIRE-1388) NullPointerException caused by DefaultReporterFactory.printTestFailures(DefaultReporterFactory.java:403)

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

Slawomir Jaranowski updated SUREFIRE-1388:
------------------------------------------
    Fix Version/s:     (was: Backlog)

> NullPointerException caused by DefaultReporterFactory.printTestFailures(DefaultReporterFactory.java:403)
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1388
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1388
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19, 2.20
>         Environment: Kotlin Spek
>            Reporter: Ruud Paulissen
>            Assignee: Tibor Digana
>            Priority: Major
>              Labels: DefaultReporterFactory, NullPointerException
>         Attachments: Schermafbeelding 2017-07-11 om 09.59.23.png, pom kopie.xml
>
>
> I'm trying to run Kotlin Spek tests (based on JUnit) from Maven. I've followed the guide on their website, and can run the tests locally perfectly fine.
> When I run the Maven "test" task however, some tests are annotated with "FAILURE" in the output, with a plain "null" value appearing in the console. Upon running "mvn test -e", I get the attached stack trace.
> I have attached my maven pom.xml file as well.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)