When I try to use stream in an entity I get an array out of bound exception. Probably the old version of ebean causes this.