views:

147

answers:

1

I am running a distributed JsUnit test, and everything is fine unless I specify more than one browser under browserFileNames in the remote machine's build.xml. A standalone test on that same machine works beautifully with multiple browsers. The distributed test against that machine runs the first browser in listed in browserFileNames, completes successfully, then dies.

Here is the error in my command window:

    [junit] Testcase: c:\program files\internet explorer\iexplore.exe took 2.266 sec
    [junit] Testcase: c:\program files\mozilla firefox\firefox.exe took 0 sec
    [junit]     Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at net.jsunit.DistributedTest.startServerIfNecessary(DistributedTest.java:48)
    [junit]     at net.jsunit.DistributedTest.setUp(DistributedTest.java:41)
    [junit]     at junit.extensions.ActiveTestSuite$1.run(ActiveTestSuite.java:41)
    [junit]

BUILD FAILED
C:\jsunit\build.xml:256: Test net.jsunit.DistributedTest failed

The log in the remote command window looks a-okay.

Any ideas?

A: 

Changed the port and it's all good.

Marcus