Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openfire 4.10: java.lang.NoSuchMethodError: org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID) #392

Closed
akrherz opened this issue Oct 18, 2024 · 1 comment · Fixed by #394

Comments

@akrherz
Copy link
Member

akrherz commented Oct 18, 2024

Logged whilst trying to use openfire 4.10

2024.10.18 15:56:10 ESC[1;31mERRORESC[m [socket_c2s-thread-4]: org.jivesoftware.openfire.nio.NettyConnectionHandler - Closing connection on /2a05:d014:12f0:9703:e77d:1950:a7d4:cb0d:5222
--/2a10:3781:420d:1:c9a3:467:be50:1f29:38170 due to error while processing message: <iq type="set" id="s1VmF5tBve4H" from="[email protected]/Conversations.-fgD" to="x
[email protected]" xmlns="jabber:client"><query queryid="c3hjur06uj" xmlns="urn:xmpp:mam:2"><x type="submit" xmlns="jabber:x:data"><field var="FORM_TYPE" typ
e="hidden"><value>urn:xmpp:mam:2</value></field><field var="start"><value>2024-09-23T19:40:31.074Z</value></field><field var="end"><value>2024-10-13T15:56:11.606Z</value></field></x><se
t xmlns="http://jabber.org/protocol/rsm"><before/><max>50</max></set></query></iq>
java.lang.NoSuchMethodError: 'org.jivesoftware.openfire.muc.MUCRole$Affiliation org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID)'
        at com.reucon.openfire.plugin.archive.xep0313.IQQueryHandler.handleIQ(IQQueryHandler.java:181) ~[?:?]
        at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.process(MultiUserChatServiceImpl.java:504) ~[xmppserver-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT]
        at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:375) ~[xmppserver-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT]
        at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:864) ~[xmppserver-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT]
        at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:516) ~[xmppserver-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT]
        at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:331) ~[xmppserver-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT]
        at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:352) ~[xmppserver-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT]
        at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:106) ~[xmppserver-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT]
...
@akrherz akrherz changed the title Issue with openfire 4.10 dev build ava.lang.NoSuchMethodError: org.jivesoftware.openfire.muc.MUCRole$Affiliation org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID)openfire 4.10: Oct 18, 2024
@akrherz akrherz changed the title ava.lang.NoSuchMethodError: org.jivesoftware.openfire.muc.MUCRole$Affiliation org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID)openfire 4.10: openfire 4.10: java.lang.NoSuchMethodError: org.jivesoftware.openfire.muc.MUCRole$Affiliation org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID)openfire 4.10: Oct 18, 2024
@akrherz akrherz changed the title openfire 4.10: java.lang.NoSuchMethodError: org.jivesoftware.openfire.muc.MUCRole$Affiliation org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID)openfire 4.10: openfire 4.10: java.lang.NoSuchMethodError: org.jivesoftware.openfire.muc.MUCRole$Affiliation org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID) Oct 18, 2024
@akrherz akrherz changed the title openfire 4.10: java.lang.NoSuchMethodError: org.jivesoftware.openfire.muc.MUCRole$Affiliation org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID) openfire 4.10: java.lang.NoSuchMethodError: org.jivesoftware.openfire.muc.MUCRoom.getAffiliation(org.xmpp.packet.JID) Oct 18, 2024
@guusdk
Copy link
Member

guusdk commented Oct 30, 2024

This presumably was with version 2.6.0 of the plugin.

I'm reproducing this, but only after there's been interaction with a chatroom (I've also enabled group chat recording of messages, but I'm not sure if that's a prerequisite for reproduction).

guusdk added a commit to guusdk/openfire-monitoring-plugin that referenced this issue Oct 30, 2024
Fixes compatibility issue with Openfire 4.10.0. This plugin now requires 4.10.0 (it is not compatible with earlier versions of Openfire).

The build depends on a snapshot build of 4.10.0, which isn't ideal. At the time of writing, there's no stable release of that version yet.

fixes igniterealtime#392
guusdk added a commit to guusdk/openfire-monitoring-plugin that referenced this issue Oct 30, 2024
Fixes compatibility issue with Openfire 4.10.0. This plugin now requires 4.10.0 (it is not compatible with earlier versions of Openfire).

The build depends on a snapshot build of 4.10.0, which isn't ideal. At the time of writing, there's no stable release of that version yet.

fixes igniterealtime#392
guusdk added a commit that referenced this issue Nov 19, 2024
Fixes compatibility issue with Openfire 4.10.0. This plugin now requires 4.10.0 (it is not compatible with earlier versions of Openfire).

The build depends on a snapshot build of 4.10.0, which isn't ideal. At the time of writing, there's no stable release of that version yet.

fixes #392
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants