question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

maven-surefire-plugin version 2.20.1 giving NullPointerException

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

21reactions
Tibor17commented, Mar 28, 2018

Try to use Surefire 2.21.0.

On Tue, Mar 27, 2018 at 11:39 PM, Aleena Davy notifications@github.com wrote:

Closed #1513 https://github.com/junit-team/junit4/issues/1513.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/junit-team/junit4/issues/1513#event-1544294784, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_yRy5o3VjZZnpywEptCmm7Jc2co3Yjks5tirGkgaJpZM4S9j9B .

– Cheers Tibor

12reactions
Tibor17commented, Jun 17, 2018

@aleenadavy90 @laki88 Check it out with Surefire 2.22.0. It already uses ASM 6.1.1 through plexus-java:0.9.8. We had some problems with old ASM while developed JUnit5 and tested on JDK 10. Updated therefore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

maven-surefire-plugin version 2.20.1 giving ... - Apache
My Appium-Java-Maven tests is giving the following error while running on Circle CI, runs fine locally [ERROR] Failed to execute goal ...
Read more >
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test ...
Your problem is caused by this bug in maven-surefire : bugzilla.redhat.com/show_bug.cgi?id=1572708. Updating the version to ...
Read more >
Surefire plugin produces NullPointerException when using ...
I found that version 2.20.1 is reported to have an issue with ... default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed.
Read more >
Gradle Enterprise Maven Extension User Manual
Since version 1.2, the Gradle Enterprise Maven extension captures an identifier ... Giving a more concrete example, let's say you only want to...
Read more >
[Solved]: Maven Error “Failed to execute goal org.apache ...
In maven java project, maven-surefire-plugin is required for any types of reports generation because mvn ... < version >5.5.2</ version >.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found