This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (5 pts)
1,884 Views 3 Replies Last post: Jun 25, 2009 6:05 AM by jexbigin RSS
jexbigin Bronze 57 posts since
Jun 12, 2009
Currently Being Moderated

Jun 25, 2009 5:17 AM

Group Chat service name limitations

I was just testing group chat options and I went to create a new service with a space in the name.  This caused a jave error but it was created.  I decided to try and delete it but it causes a njave nullpointerexception error but won't delete it.

 

I think I saw somewhere that a space is not allowed nor is an underscore.  Is this correct ?

If so, the admin console has a couple of bugs based around the fact that it did not verify the conference service name entered when creating a new service.  Ant other 'errors' are side effects.

 

The new service with the space appears to be able to get used after the creation 'bug' except for deleting it through the console.

 

Brian

 

 

 

 

java.lang.NullPointerException
     at org.jivesoftware.openfire.component.InternalComponentManager.removeComponent(InternalComponentManager.java:190)
     at org.jivesoftware.openfire.muc.MultiUserChatManager.unregisterMultiUserChatService(MultiUserChatManager.java:151)
     at org.jivesoftware.openfire.muc.MultiUserChatManager.removeMultiUserChatService(MultiUserChatManager.java:276)
     at org.jivesoftware.openfire.muc.MultiUserChatManager.removeMultiUserChatService(MultiUserChatManager.java:261)
     at org.jivesoftware.openfire.admin.muc_002dservice_002ddelete_jsp._jspService(muc_002dservice_002ddelete_jsp.java:95)
Guenther Niess KeyContributor 299 posts since
Jun 19, 2008
Currently Being Moderated
Jun 25, 2009 6:14 AM in response to: jexbigin
Re: Group Chat service name limitations

Hi, first of all this is a known bug, see OF-27

Could I just delete this record or will I need to check other tables?

It belongs to the tables ofMucService, ofMucServiceProp, ofMucRoom and indirect to ofMucRoomProp, ofMucAffiliation, ofMucMember, ofMucConversationLog and maybe others from plugins.

 

[edited by Guenther Niess]:

But you should delete the new db enty with id=1 and the invalid name only in the ofMucService table manually.

 

With the two having the same serviceid, does that mean that referring to one service could be like using an alias for the other?

This bug has more negative impacts. I recommend don't use multiple group chat services until the bug is fixed (but I think there is a good probability that this will be fixed in the next release).

 

Best regards

More Like This

  • Retrieving data ...

Bookmarked By (0)