I have created the simple test class and getting error while executing it "An internal error occurred during: "Launching test". java.lang.NullPointerException".
I am fed up with this problem. I searched a lot on google and applied all the possible solutions but still getting same problem. I know, it is configuration problem but not able to figure out where?
Followed Steps to create the project:
Applied solution :
Source Code:
package usermigration;
import org.testng.annotations.Test;
public class test {
@Test
public void a()
{
System.out.println("a");
}
}
Finally I have identified the root cause. I have removed the M2E jars from eclipse and it resolved the problem.