-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maven-surefire-plugin version 2.20.1 giving NullPointerException #1513
Comments
@aleenadavy90 The JUnit team doesn't maintain the JUnit Surefire integration. Does the full stacktrace show where the exception is happening? If it isn't in JUnit, then you want to file a bug with Surefire. |
Can you please create an issue for the Surefire Plugin at https://issues.apache.org/jira/projects/SUREFIRE/issues We are the developers of the JUnit 4 framework itself. We don't maintain the plugins of the different build tools (e.g. Ant, Gradle, Maven). |
I see, thanks @stefanbirkner @kcooney. I'll do that. |
looks like surefire plugin 2.20.1 is not compatible with java 10 yet, works fine with jdk 9. |
Try to use Surefire 2.21.0.
…On Tue, Mar 27, 2018 at 11:39 PM, Aleena Davy ***@***.***> wrote:
Closed #1513 <#1513>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1513 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA_yRy5o3VjZZnpywEptCmm7Jc2co3Yjks5tirGkgaJpZM4S9j9B>
.
--
Cheers
Tibor
|
I couldn't build alone with 2.21.0. Anyway after adding asm latest dependency as below I could build the my project.
|
@aleenadavy90 |
Thansks @Tibor17 , @aleenadavy90 |
If anyone bumps into this, you need v2.22.1 for JDK 11. |
Thx @silviu-burcea, the release notes lists also these bug fixes on ASF JIRA. We released |
This one worked for me as well |
@loneshaana |
-Travis compatibility issue with 2.20.1 -Upgrade surefire to 2.21.0 -See junit-team/junit4#1513
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:
Please find the log below
https://gist.github.com/aleenadavy90/bdc06f953397cd5240bf41eee1dee212
The text was updated successfully, but these errors were encountered: