Here is your problem:



for (int i=0; i<= entry.size();i++) {

System.out.println( "for: " + entry.get(i));


Your ArrayList objects size is 1, but you put you string at the fixed index 0...