February 2010
7 posts
1 tag
Java Smack API and java.io.EOFException
I came across this confusing error using the Smack API:
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 ...EZah/08YglY=\' xmlns=\'http://jabber.org/protocol/caps\'/></presence>... @1:2797
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
at...
1 tag
How-to recover from checksum mismatch errors in... →
Very handy, and not as scary as I first thought. I’ll add that to fix the error I had to replace the svn-base file and the file itself. E.g: say I have this directory:
+-trunk/
|
|-file.java
|
+-.svn/
|
+-text-base/
|
|-file.java.svn-base
I had to copy both file.java.svn-base and file.java in order to resolve the checksum mismatch.
1 tag
2 tags
1 tag
1 tag
1 tag
Java, Vim and Windows
I’ve been having a bit of a play about with Java at work and creating a Jabber Bot. It’s yet-another-side project of mine, but it is for work and about as legitimate as side projects can get. It’s been a nice intro to Java as there are plenty of examples out there and I actually have a real app to produce at the end; I find just doing tutorials gets me no where.
After I got...