Roster.getRosterFor(XMPPConnection) or Roster.getInstanceFor(XMPPConnection)?
Are you misspelled method getRosterFor? Can't find it. But getInstanceFor is there and I think we have to use it instead of getRosterFor.