The InputFormat uses Void instead of NullWritable. I think this just didn't get updated when you changed it.