java.net.SocketException: Connection reset

Hi all,

I get this exception quite often and I have no clues why. I'm using IDEA 6, and one of my ProjectComponent implements JDOMExternalizable interface. Any idea?

java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.read1(BufferedReader.java:185)
at java.io.BufferedReader.read(BufferedReader.java:261)
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2971)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3025)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:363)
at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:45)
at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:67)

Btw, JDOMExternalizable is deprecated, what is newer way to read/write data?

Regards
Boon Ping.

3 comments

Hello Lan,

This exception comes from IDETalk plugin and has nothing to do with your
plugin.

I get this exception quite often and I have no clues why. I'm using
IDEA 6, and one of my ProjectComponent implements JDOMExternalizable
interface. Any idea?

java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.read1(BufferedReader.java:185)
at java.io.BufferedReader.read(BufferedReader.java:261)
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2971)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3025)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at
org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:363
)
at
org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:45)
at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:67)
Btw, JDOMExternalizable is deprecated, what is newer way to read/write
data?

Regards
Boon Ping.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Lan Boon Ping wrote:

Hi all,

Btw, JDOMExternalizable is deprecated, what is newer way to read/write data?

Regards
Boon Ping.

Check out this blog post, I think it will give you the info you need:
http://scriptlandia.blogspot.com/2007/11/tips-for-intellij-idea-plugins.html

Cheers,
N.

0

Hi Nathan & Dmitry,

Thank you.

Regards
Boon Ping.

0

Please sign in to leave a comment.