TestNG config generates java.net.SocketException: Software caused connection abort: socket write error

I use Intellij IDEA Ultimate 10.5.
My develeopment testng version is 6.8.17.
mvn clean test runs fine from command line, but I get following exception when running a TestNG config within IDE, I can still debug the Java code no problems, but would like it a lot if the below error went away.
The plugin in plugins/testng/lib/ is whatever TestNG-J Available Plugin allowed naturally download and install thru the IDE. I am attaching those 2 jars with this mail.

java.net.SocketException: Software caused connection abort: socket write error
 at java.net.SocketOutputStream.socketWrite0(Native Method)
 at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
 at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1876)
 at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1785)
 at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1285)
 at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1230)
 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1426)
 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
 at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1576)
 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:350)
 at org.testng.remote.strprotocol.SerializedMessageSender.sendMessage(SerializedMessageSender.java:25)
 at org.testng.remote.strprotocol.MessageHub.sendMessage(MessageHub.java:44)
 at org.testng.remote.strprotocol.RemoteTestListener.onTestStart(RemoteTestListener.java:49)
 at org.testng.internal.Invoker.runTestListeners(Invoker.java:1842)
 at org.testng.internal.Invoker.runTestListeners(Invoker.java:1817)
 at org.testng.internal.Invoker.invokeMethod(Invoker.java:668)
 at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882)
 at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189)
 at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
 at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
 at org.testng.TestRunner.privateRun(TestRunner.java:767)
 at org.testng.TestRunner.run(TestRunner.java:617)
 at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
 at org.testng.SuiteRunner.run(SuiteRunner.java:254)
 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
 at org.testng.TestNG.run(TestNG.java:1057)
 at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
 at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
 at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
 at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:106)



Attachment(s):
testng-jdk15.jar
testng.jar

Please sign in to leave a comment.