import java.util.ArrayList;
import java.util.List;

public class Stat {
    public String server;
    public List<String> items;

    public Stat() {
        this.server = new String();
        this.items = new ArrayList<String>();
    }

    public Stat(String server, List<String> items) {
        this.server = server;
        this.items = items;
    }

    public String toString() {
        String stat = new String();
        stat = stat.concat("{ " + server + ", { ");
        int i = 0;
        for (i = 0; i < items.size() - 1; i++)
            stat = stat.concat(items.get(i) + ", ");
        stat = stat.concat(items.get(i) + " } }");
        return stat;
    }
}
@@ -1,24 +1,53 @@
+import java.io.Serializable;%0A
 import java.util.ArrayLi
@@ -92,16 +92,40 @@
 ss Stat 
+implements Serializable 
 %7B%0A    pu
@@ -518,24 +518,132 @@
  + %22, %7B %22);%0A
+        if (items.size() == 0) %7B%0A            stat = stat.concat(%22 %7D %7D%22);%0A            return stat;%0A        %7D%0A
         int 

Fix null pointer exception