Iterator<User> users = database.getUsers();
while (users.hasNext()) {
User user = users.next();
if (log.isDebugEnabled()) {
log.debug("  Creating User MBean for user " + user);
<BUG>}
if (MBeanUtils.createMBean(user) == null) {

throw new IllegalArgumentException
("Cannot create User MBean for user " + user);
}</BUG>
}

Iterator<User> users = database.getUsers();
while (users.hasNext()) {
User user = users.next();
if (log.isDebugEnabled()) {
log.debug("  Creating User MBean for user " + user);
