: "null invite list"), null);
: "null invite list"));
    public Invite getDefaultInvite() throws ServiceException {        Invite first = null;        for (Iterator iter = mInvites.iterator(); iter.hasNext();) {            Invite cur = (Invite) iter.next();            if (!cur.hasRecurId())                return cur;            if (first == null)                first = cur;        }        if (first == null)            throw ServiceException.FAILURE(                    "Invalid state: appointment " + getId() + " in mailbox " +                    getMailbox().getId() +                    " has no default invite; " +                    (mInvites != null ? ("invite count = " + mInvites.size())                                      : "null invite list"),                    null);        return first;    }