I'm sorry, but ROFL


StringBuffer sb = new StringBuffer();
sb=null;
...
sb.append(in.readLine());}


What did you expect?