powered by Jive Software

Openfire 4.6.1 and 4.6.2 fails to auto create MUCs

I’m running on ubuntu, with mysql. Only have the defaults, fastpath, and inverse plugins on a new openfire install, clean database.

I can’t enter any conference rooms after I recently updated from 4.6.0 to 4.6.1 or 4.6.2 . I am using fastpath (tried versions 4.5.0-SNAPSHOT Jan 12, 2021, Nov 19, 2020 1:50:36 PM, Oct 30, 2020 5:21:04 PM) create the rooms automatically. The room instantly fails to be created and the inverse client shows the error:

This groupchat does not (yet) exist.
The reason given is: "This room is locked (it might not have been configured yet).".

I go edit the MUC’s settings, hit save change without doing anything else, and the inverse client will join the room while the webmeet client won’t.

Rolling back to 4.6.0 fixes this, and I’ve added the IllegalArgumentException error from stdoutt.log.

I have no clue if the IQ stanza that’s listed in the error was formatted correctly or not. But since this exception popped up after updating to this newer version, I’m assuming it was correct.

04:51:46.181 [pool-6-thread-1] INFO  org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins.
04:52:13.804 [Dispatch offer - queue: Default Queue] ERROR org.jivesoftware.openfire.muc.spi.LocalMUCUser - An unexpected exception occurred while processing IQ stanza: <iq type="set" id="847-17" to="pmuj2f25@conference.mydomain.org" from="demo@workgroup.mydomain.org/demo"><query xmlns="http://jabber.org/protocol/muc#owner"><x xmlns="jabber:x:data" type="submit"><field var="FORM_TYPE"><value>http://jabber.org/protocol/muc#roomconfig</value></field><field var="muc#roomconfig_whois"><value>moderators</value></field><field var="muc#roomconfig_changesubject"><value>1</value></field><field var="muc#roomconfig_persistentroom"><value>0</value></field><field var="muc#roomconfig_presencebroadcast"><value>participant</value><value>visitor</value><value>moderators</value></field><field var="muc#roomconfig_roomdesc"><value>pmuj2f25@conference.mydomain.org</value></field><field var="anonymous"><value>0</value></field><field var="muc#roomconfig_publicroom"><value>0</value></field></x></query></iq>
java.lang.IllegalArgumentException: No enum constant org.jivesoftware.openfire.muc.MUCRole.Role.moderators
	at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
	at org.jivesoftware.openfire.muc.MUCRole$Role.valueOf(MUCRole.java:329) ~[xmppserver-4.6.2.jar:4.6.2]
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
	at org.jivesoftware.openfire.muc.spi.IQOwnerHandler.processConfigurationForm(IQOwnerHandler.java:280) ~[xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.muc.spi.IQOwnerHandler.handleDataFormElement(IQOwnerHandler.java:181) ~[xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.muc.spi.IQOwnerHandler.handleIQ(IQOwnerHandler.java:110) ~[xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:637) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:256) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:423) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:859) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:451) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:266) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:350) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:118) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:74) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:65) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.openfire.component.InternalComponentManager.sendPacket(InternalComponentManager.java:340) [xmppserver-4.6.2.jar:4.6.2]
	at org.jivesoftware.xmpp.workgroup.WorkgroupManager.send(WorkgroupManager.java:861) [fastpath-4.5.0-SNAPSHOT.jar:?]
	at org.jivesoftware.xmpp.workgroup.Workgroup.send(Workgroup.java:438) [fastpath-4.5.0-SNAPSHOT.jar:?]
	at org.jivesoftware.xmpp.workgroup.Workgroup.sendInvitation(Workgroup.java:833) [fastpath-4.5.0-SNAPSHOT.jar:?]
	at org.jivesoftware.xmpp.workgroup.request.UserRequest.offerAccepted(UserRequest.java:440) [fastpath-4.5.0-SNAPSHOT.jar:?]
	at org.jivesoftware.xmpp.workgroup.Offer.invite(Offer.java:196) [fastpath-4.5.0-SNAPSHOT.jar:?]
	at org.jivesoftware.xmpp.workgroup.dispatcher.RoundRobinDispatcher.dispatch(RoundRobinDispatcher.java:218) [fastpath-4.5.0-SNAPSHOT.jar:?]
	at org.jivesoftware.xmpp.workgroup.dispatcher.RoundRobinDispatcher$2.run(RoundRobinDispatcher.java:138) [fastpath-4.5.0-SNAPSHOT.jar:?]
04:52:26.606 [TaskEngine-pool-3] INFO  org.jivesoftware.openfire.http.HttpSessionManager - Closing idle session 1yrvl54vt9: mydomain.org/1yrvl54vt9 from IP 1.1.1.1