java.net.SocketException

Connection reset by peer: socket write error

Samebug tips13

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)

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1996

  • via openbravo by negritx
    ,
  • via openbravo by gathigi
    ,
  • Stack trace

    • java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:78) at org.postgresql.core.PGStream.SendChar(PGStream.java:167)

    Write tip

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

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Aria PahlavanAria Pahlavan
    1312 times, last one
    Unknown visitor
    Unknown visitorOnce,
    BardhBardh
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    216 more bugmates