Buggy code:
@ With ( { WizardInterceptor . class , AuthenticationInterceptor . class } ) @ Authorization ( feature = "Organization" , operation = "Administration" ) public class Organization extends Controller { public static Group setCurrentGroup ( String requestGroupId ) throws UserManagementException { } public static Result index ( ) throws UserManagementException { } public static Result indexAjax ( ) throws UserManagementException { } public static Result getGroupJS ( ) { } public static Result body ( ) throws UserManagementException { } private static Html bodyComposite ( Map < String , String [ ] > parameters ) throws UserManagementException { } public static Group getHighestGroupBelong ( User u ) throws UserManagementException { } private static List < Group > listGroupVisible ( ) throws UserManagementException { } private static List < User > listUserVisible ( ) throws UserManagementException { } static Collection < Group > getAdministrationGroup ( ) throws UserManagementException { } static Collection < Group > getAministrationGroup ( User user ) throws UserManagementException { } public static Html groupBreadcrumb ( String nav , String group_id ) throws UserManagementException { } public static long count ( String nav ) throws UserManagementException { } public static List < Group > getGroupByFilter ( Group group , int currentPage , int size , BasicDBObject query , boolean system ) throws UserManagementException { } public static List < Role > getRole ( Group group , int currentPage , int size ) throws UserManagementException { } public static List < Role > getAllRoleByName ( Group group , String name ) throws UserManagementException { } public static List < Role > getRoleByFilter ( Group group , int currentPage , int size , String name ) throws UserManagementException { } public static List < User > getUser ( Group group , int currentPage , int size , boolean system ) throws UserManagementException { if ( ! system ) { <START_BUG> List < User > listUser = new ArrayList < User > ( group . getUsers ( ) ) ; <END_BUG> List < User > all = new ArrayList < User > ( ) ; for ( int i = ( currentPage - 1 ) * size ; ( i < ( currentPage * size ) ) && ( i < ( listUser . size ( ) ) ) ; i ++ ) { all . add ( listUser . get ( i ) ) ; } return all ; } else { Set < User > filter = new HashSet < User > ( ) ; BasicDBObject query = new BasicDBObject ( ) ; filter . addAll ( UserDAO . getInstance ( dbName ) . find ( query ) ) ; List < User > listFilter = new ArrayList < User > ( filter ) ; List < User > all = new ArrayList < User > ( ) ; for ( int i = ( currentPage - 1 ) * size ; ( i < ( currentPage * size ) ) && ( i < ( listFilter . size ( ) ) ) ; i ++ ) { all . add ( listFilter . get ( i ) ) ; } return all ; } } public static List < User > getUserByFilter ( Group group , int currentPage , int size , String email ) throws UserManagementException { } public static List < User > getAllUserByEmail ( Group group , String email ) throws UserManagementException { } public static Result filter ( String nav ) throws UserManagementException { } public static boolean isSystem ( User user ) throws UserManagementException { } public static boolean isRightAdministration ( Group group_ ) throws UserManagementException { } public static int recordsRounding ( int totalRecords , int size ) { } }

Fix:
List < User > listUser = Organization . listUserVisible ( ) ;