Problem sorting column that contains cell(s) with no data.
Using richfaces-ui-3.1.4.GA I still get this exception thrown when I sort a column that has empty cell(s).
The bug report says it was fixed in 3.1.4.
Can you check this bug out again and open it back up.