There's a piece of code in the MergeJoinSort.java which does a similar thing trying to get a string. It could also be updated.