try this
Go to help
Install New Software
Work with: Juno
Programming languages (expand it)
Install Java Development Tools
Restart
I am getting Nullpointer exception on run as via TestNG ..
import org.testng.annotations.Test;
public class Sample_test {
@Test
public void testApp(){
System.out.println("my first test");
}
}
Is any when can help?
Thanks in advance
try this first.
Help
Install new software...
What is already installed?
Select the TestNG M2E software and click uninstall
and then install testng again.
goto install new software
http://beust.com/eclipse
[quote="qtpselenium.supp0rt@gmail.com":1axze2im]try this first.
Help
Install new software...
What is already installed?
Select the TestNG M2E software and click uninstall
and then install testng again.
goto install new software
http://beust.com/eclipse[/quote:1axze2im]
I was getting the same error message while running a program (not with TestNG). I followed the steps mentioned in the above post and it resolved the issue.
Thanks!
Hi,
I have installed Eclipse for java ee developers, Mars 4.5 version. Installed TestNg from help with http://beust.com/eclipse. Added TestNG library and imported TestNg annotations. When I select Run as TestNG, I'm getting Nullpointer exception. Tried to uninstall as per above instructions and install again but still getting same error. Could you please help?
Got it. while installing I just selecte Testng and unchecked TEstng m2e optional. It worked.