Openfire 4.7.1 Delete room results in AbstractMethodError

On the Openfire server, delete a Room and Give a Reason

The following Exception occurs around 50% of the time.

URL in Browser is: https://localhost:9091/muc-room-delete.jsp?csrf=LQxTG65GYGgcbdU&roomJID=delete%40conference.of471.xxxx&reason=Dom+2&alternateJID=&delete=Destroy+Room

Exception:
java.lang.AbstractMethodError
	at org.jivesoftware.openfire.muc.MUCEventDispatcher.occupantLeft(MUCEventDispatcher.java:68)
	at org.jivesoftware.openfire.muc.MUCRoom.removeOccupantRole(MUCRoom.java:1283)
	at org.jivesoftware.openfire.muc.MUCRoom.destroyRoom(MUCRoom.java:1338)
	at org.jivesoftware.openfire.admin.muc_002droom_002ddelete_jsp._jspService(muc_002droom_002ddelete_jsp.java:181)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)

Hi Anno,

Thanks for reporting this. I have not yet been able to reproduce this problem. Iā€™m creating a new room in the admin console, then deleting it again. Are other steps needed?

Another potential cause for this issue is that you are using a plugin that implements org.jivesoftware.openfire.muc.MUCEventListener, which has not been updated to 4.7.x. Does that happen to be the case?

resolved the issue. Is caused by a self made plugin which uses a incompatible version of the MUCEventListener

2 Likes

Ah, great minds think alike. :slight_smile:

Same error when you kick and ban a user from a room, but then the stacktrace is more clear.

Any plugin that interacts with MUC-related API in Openfire should probably be upgraded.