the following code has compilation error in the line of t3:
public List getList() { return new ArrayList(); } public vo
The getList() method seems to be returning a new list each time which is initially empty. get(0) from an empty list will throw an IllegalArgumentException. This is a runtime error though so it may not be causing the compile error.