Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.net.SocketException: Connection reset when launching Mutation Testing #14

Closed
marinabilles opened this issue Sep 5, 2013 · 3 comments
Assignees
Milestone

Comments

@marinabilles
Copy link

I use Pitclipse 0.30.2.201307081826, which is the latest version supplied to me from the PITclipse repository at http://eclipse.pitest.org/release/ (The repository is activated and when I tell Eclipse to search for updates, I receive none.) My Eclipse version is Kepler.

Sometimes when I start PIT Mutation Testing on a project, I get the following error: It happened several times for me today but I wasn't able to reproduce the exact circumstances. Restarting Eclipse fixed the problem.

Starting on port: 51079
Connected
Exception in thread "main" org.pitest.pitclipse.pitrunner.server.PitServer$PitServerException: java.net.SocketException: Connection reset
    at org.pitest.pitclipse.pitrunner.server.PitServer.readOptions(PitServer.java:56)
    at org.pitest.pitclipse.pitrunner.PitRunner.main(PitRunner.java:52)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
    at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
    at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
    at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    at java.io.ObjectInputStream.<init>(Unknown Source)
    at org.pitest.pitclipse.pitrunner.server.PitServer.readOptions(PitServer.java:52)
    ... 1 more
Closing server
Closed
@philglover
Copy link
Collaborator

Is this an immediate failure or does it hang for a little while before crashing?

@marinabilles
Copy link
Author

It happens immediately after launching.
(The last time this problem occured, it was after I had renamed the project I was working on, not sure whether that was related.)

Once the SocketException has occured once. starting PIT Mutation Test again does nothing. Only restarting Eclipse helps.

@ghost ghost assigned philglover Sep 9, 2013
@marinabilles
Copy link
Author

I should add, this happens to me on Windows 7 SP 1, Java 1.7.0_25 JDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants