Skip to content

Instantly share code, notes, and snippets.

@mbiarnes
Created May 18, 2022 09:28
Show Gist options
  • Save mbiarnes/d3f54758721e47a904c8b3dab2736a2f to your computer and use it in GitHub Desktop.
Save mbiarnes/d3f54758721e47a904c8b3dab2736a2f to your computer and use it in GitHub Desktop.
build log: mvn clean install -Dtest="BcWorkbenchTest"
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.practice.BcWorkbenchTest
May 18, 2022 11:23:32 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
[ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.113 s <<< FAILURE! - in com.practice.BcWorkbenchTest
[ERROR] bcWorkbench on bcWorkbench(com.practice.BcWorkbenchTest)(com.practice.BcWorkbenchTest) Time elapsed: 1.898 s <<< FAILURE!
java.lang.NullPointerException
at com.practice.BcWorkbenchTest.bcWorkbench(BcWorkbenchTest.java:56)
[ERROR] bcWorkbench on bcWorkbench(com.practice.BcWorkbenchTest)(com.practice.BcWorkbenchTest) Time elapsed: 1.9 s <<< FAILURE!
java.lang.NullPointerException
at com.practice.BcWorkbenchTest.tearDown(BcWorkbenchTest.java:50)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] com.practice.BcWorkbenchTest.bcWorkbench on bcWorkbench(com.practice.BcWorkbenchTest)(com.practice.BcWorkbenchTest)
[ERROR] Run 1: BcWorkbenchTest.bcWorkbench:56 NullPointer
[ERROR] Run 2: BcWorkbenchTest.tearDown:50 NullPointer
[INFO]
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.301 s
[INFO] Finished at: 2022-05-18T11:23:32+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project seleniumTests: There are test failures.
[ERROR]
[ERROR] Please refer to /home/mbiarnes/Development/git/business-central/seleniumTests/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment