I'm running some JUnit 4 tests in eclipse for my Java project which I know have functioned two days ago without problems.
Today, though, I get errors:
Could not connect to: : 40212
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.<init>(Socket.java:372)
at java.net.Socket.<init>(Socket.java:186)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(RemoteTestRunner.java:570)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:381)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Neither the test nor the code do something with networks.
Also the eclipse dialog for installing new software can't connect to the update sites and neither can the SVN plug-in connect to the repository. The SVN repository is reachable, I've checked with the cli-svn program. Proxies in eclipse are disabled.
So my question is, why does JUnit want to connect to the internet in the first place (how should offline working even be possible..) and can I do something to find the source of the problems? (My plan B is to remove eclipse and re-install it again)