Strange Smack parsing packet exception

We are having connection issue recently

on Openfire 3.6.4 and Java 1.5

with JsJac javascript library as client.

When digging into log file, we found that the log below has been printed out a lot.

Even in normal situation, it is printed out.

I’m not sure if this one is related to our connection issue.

But want to fix this exception.

Any Idea?

java.io.EOFException: no more data available - expected end tag </stream:stream> to close start tag stream:stream from line 1, parser stopped on END_TAG seen …</stream:features>… @1:304
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:368)
at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)

Anybody has any idea on this?

We still have lots of this log.

Thanks.