Hi All,

I am using surefire 3.0.0 with Junit 5 (Jupiter-engine). However, I am 
stumbling in to the Null Pointer Exception and could not trace the issue. Has 
anyone faced this issue or any pointers that can help me proceed? I am using 
JDK1.8.

Caused by: java.lang.NullPointerException
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.hasGroupArtifactId 
(AbstractSurefireMojo.java:1771)
    at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.retainInProcArtifactsUnique
 (AbstractSurefireMojo.java:1757)
    at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.newStartupConfigWithClasspath
 (AbstractSurefireMojo.java:1735)
    at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.createStartupConfiguration
 (AbstractSurefireMojo.java:1701)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.createForkStarter 
(AbstractSurefireMojo.java:2165)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider 
(AbstractSurefireMojo.java:1192)
    at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
 (AbstractSurefireMojo.java:1055)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute 
(AbstractSurefireMojo.java:871)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:210)
    at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:195)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:511)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker 
(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run 
(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:748)

Thanks,
Sirisha


Reply via email to