-
1. Re: TestNG/SeamTest NPE in xml parsing
vijayamaladoss Nov 3, 2007 5:27 AM (in response to vijayamaladoss)Any suggestions ???
-
2. Re: TestNG/SeamTest NPE in xml parsing
dmitriy.lapko Nov 3, 2007 6:13 AM (in response to vijayamaladoss)May be parser tries to download dtd or scheme for some xml, check your installation of testng and *.xml that you wrote for your TestNG test. Also try to find where this string (hibernate.sourceforge.net) is present in your project, in which jar or file, or try to track which url is requested.
-
3. Re: TestNG/SeamTest NPE in xml parsing
vijayamaladoss Nov 3, 2007 5:11 PM (in response to vijayamaladoss)If that is the case, if I am connected to Internet, TestNG should not throw a NPE right?. as you suggested I searched for this url and I see this only in seam-gen.reveng.xml. This is of kinda weird
-
4. Re: TestNG/SeamTest NPE in xml parsing
dmitriy.lapko Nov 3, 2007 6:04 PM (in response to vijayamaladoss)Then you have something wrong with the way you run tests. This is a line 162 from parser: List suiteFiles = currentXmlSuite.getSuiteFiles();
So null in list of suite. Check your TestNG xml file, run examples, or post your code, if you cannot solve it by yourself.