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

maven-surefire-plugin version 2.20.1 giving NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.20.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                aleenadavy Aleena Davy
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: