Skip to content
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

5.14.3beta null pointer exception #24

Closed
zihaoyu opened this issue Nov 18, 2010 · 3 comments
Closed

5.14.3beta null pointer exception #24

zihaoyu opened this issue Nov 18, 2010 · 3 comments

Comments

@zihaoyu
Copy link

zihaoyu commented Nov 18, 2010

I tried to run tests using Ant. I got the following error.

    [testng] Exception in thread "main" java.lang.NullPointerException
    [testng]    at org.testng.TestNG.runSuitesLocally(TestNG.java:884)
    [testng]    at org.testng.TestNG.run(TestNG.java:818)
    [testng]    at org.testng.TestNG.privateMain(TestNG.java:1108)
    [testng]    at org.testng.TestNG.main(TestNG.java:1072)
    [testng] The tests failed.

This only happens in 5.14.3beta.

@cbeust
Copy link
Collaborator

cbeust commented Nov 18, 2010

I fixed this a few days ago, thanks!

@nullin
Copy link
Contributor

nullin commented Nov 18, 2010

Can you get the latest code and try again. Currently line 884 is a comment. I think Cedric fixed this already with https://github.com/cbeust/testng/blob/aa48da68b44cbce045d6d1a9b64a8f7551f76fc8/src/main/java/org/testng/TestNG.java

@zihaoyu
Copy link
Author

zihaoyu commented Nov 18, 2010

Oh, my bad. I synchronized with repo and recompiled.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants