compareTo must throw NPE