Missing acknowledge of room creation when create new room

when i run the example MultiUserChatCreationTest.java, throw the exception “Missing acknowledge of room creation”, i am using eclipse and Jive message server 2.1.1.Help me !

code:

// Create the room

muc.create(“testnewroom”);

// Send an empty room configuration form which indicates that we want an instant room

muc.sendConfigurationForm(new Form(Form.TYPE_SUBMIT));

// Destroy the new room

muc.destroy(“The room has almost no activity…”, null);

anybody here?

Hey hangirl,

That error means that the room you are trying to create already exists. To enter an existing room use #join instead of #create or try creating another room.

Regards,

– Gato

1 Like

that’'s OK,thank you!