java.net.SocketException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Probably there is a bug in TestNG Eclipse plugin (6.8.6.20130607_0745), try an other version (e.g. 6.8.0.20121120_1820)

tip

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

tip

Try removing all the breakpoints (even if breakpoints are disabled the problem still occurs, yes even if both disabled entirely and piecewise).

tip

There is a known issue between TestNG 6.4 and IDEA, the next EAP will fix this but in the meantime, use the previous version.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • PlayFramework + ScalaTest + ScalaCheck
    via Stack Overflow by Taig
    ,
  • GitHub comment 556#178313128
    via GitHub by peterbecich
    ,
  • Resetting websocket
    via Stack Overflow by Klapek
    ,
  • Scalatest, PlaySpec and Scalacheck integration
    via by Brendan Maguire,
    • java.net.SocketException: Broken pipe (Write failed) at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877) at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1786) at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1286) at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1231) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1427) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1577) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:351) at net.fe.network.Client.sendMessage(Client.java:211) at net.fe.FEMultiplayer.send(FEMultiplayer.java:363) at net.fe.overworldStage.ClientOverworldStage.send(ClientOverworldStage.java:568) at net.fe.overworldStage.context.UnitMoved.onSelect(UnitMoved.java:92) at net.fe.overworldStage.context.UnitMoved.onSelect(UnitMoved.java:26) at net.fe.overworldStage.MenuContext.onSelect(MenuContext.java:52) at net.fe.overworldStage.ClientOverworldStage.beginStep(ClientOverworldStage.java:310) at net.fe.FEMultiplayer.loop(FEMultiplayer.java:333) at net.fe.FEMultiplayer.main(FEMultiplayer.java:97)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    poroszdporoszd
    1 times, last one,
    208 more bugmates