AW: [Junit] throws NullPointerException

2005-10-26 Thread Wunderlich, Patrick
> > Different JDKs? > No! Same JDKs! I have the problem only on my system, independent of used JDK version (i tried 1.4.2 and 1.5.0)! I also tried with fresh installations of ant and jdk - same problem! But my output of "ant -diagnostics" is identical (!) with other working systems?! I really

AW: [Junit] throws NullPointerException

2005-10-24 Thread Wunderlich, Patrick
> > > > But is working?! > > Yes, because - unlike the xml formatter - it doesn't rely on > startTestSuite being the first call. > OK - i understand :) I have this Problem only on one Computer. The same ANT script works on another PC. But when i run "ant -diagnosis" on both systems, the out

AW: [Junit] throws NullPointerException

2005-10-23 Thread Wunderlich, Patrick
> > Looks as if something in your testcase was writing to > System.out before Ant starts the tests. A static block maybe? > But is working?! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

AW: [Junit] throws NullPointerException

2005-10-21 Thread Jan.Materne
A quick view shows that before a call formatOutput() the test suite must be started: public void startTestSuite(JUnitTest suite) { doc = getDocumentBuilder().newDocument(); Maybe you add a log statement and retry? Jan >-Ursprüngliche Nachricht- >Von: Wunderlich, Patrick [m