Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1507

maven-surefire-plugin version 2.20.1 giving NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.20.1
    • waiting-for-feedback
    • None
    • None

    Description

      My Appium-Java-Maven tests is giving the following error while running on Circle CI, runs fine locally
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project MumboiOSTests: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed.: NullPointerException

      versions used:

      maven: 3.5.3

      maven-surefire-plugin:2.20.1

      JUnit 4.11 

      Please find the log below
      https://gist.github.com/aleenadavy90/bdc06f953397cd5240bf41eee1dee212

       

      Update:

      I switched the java version to 9 and everything works fine.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aleenadavy Aleena Davy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: