Make sure that there is no 2 attributes named 'class' in the arff file.