404 with MUC non-persistent

I have the same issue than this old post:

http://www.igniterealtime.org/builds/smack/docs/latest/javadoc/

I do not understant, I follow the documentation to create a MUC Non persistent:

http://www.igniterealtime.org/builds/smack/docs/latest/documentation/extensions/ muc.html

Users received Invitation, and see the Room but gets a 404 when they try to connect to it.

MultiUserChat muc = new MultiUserChat(con, room);

muc.create(label);

// Get the the room’s configuration form

Form form = muc.getConfigurationForm();

// Create a new form to submit based on the original form

Form newForm = form.createAnswerForm();

// Add default answers to the form to submit

for (Iterator fields = form.getFields(); fields.hasNext():wink: {

FormField field = (FormField) fields.next();

if (!FormField.TYPE_HIDDEN.equals(field.getType()) && field.getVariable() != null) {

// Sets the default value as the answer

newForm.setDefaultAnswer(field.getVariable());

}

}

newForm.setAnswer(“muc#roomconfig_publicroom”,true);

newForm.setAnswer(“muc#roomconfig_persistentroom”,false); // WORKS IF SET TO TRUE

newForm.setAnswer(“muc#roomconfig_passwordprotectedroom”,false);

newForm.setAnswer(“muc#roomconfig_membersonly”,false);

newForm.setAnswer(“x-muc#roomconfig_registration”,true);

// Send the completed form (with default values) to the server to configure the room

muc.sendConfigurationForm(newForm);

muc.join(label);

Any Idea ? Many thanks and best regards