Statement of theorem: If $X_n$ is a uniformly integrable martingale, then $\lim_n X_n$ exists a.s. and in $L^1$, and
$$X_n=E(\lim_{n \to \infty} X_n \mid \mathcal F_n) \quad \text{a.s.}$$
I can't think of an example of a martingale that is not uniformly integrable for which $E(\lim_n X_n|\mathcal F_n)\neq X_n$ and $\lim_n X_n$ exists. For instance, let $X_1=1$, and for $n\ge2$, $X_n=X_{n-1}+\epsilon_n$, where $\epsilon_n=n$ with probability 1/2, $\epsilon_n=-n$ with probability 1/2, and $\epsilon_n\perp\epsilon_m$ for $n\neq m$. This is a martingale that is not u.i., but $\lim_n X_n$ does not exist.
Any help greatly appreciated!