AnsweredAssumed Answered

Error when trying to edit shared roster group: 'fn:escapeXml'

Question asked by Kevin on Aug 10, 2017



Problem: Cannot edit shared roster group.

Error: When trying to edit the shared roster group, the following error is generated by group-edit.jsp:

javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: Problems calling function 'fn:escapeXml'

[etc., etc.]

Caused by: javax.el.ELException: org.jivesoftware.openfire.user.UserNotFoundException: Cannot load user of remote server:

[etc., etc.]



There were some users on another chat server of mine ('remotedomain') that I wanted to have in the shared roster group on this newer server until I got them moved over to the new server.  So I added their JIDs to the new server's shared roster group "Everyone."  And this works fine.  I do want to note that this other server 'remotedomain' has no top-level domain — it is not Internet routable.  I added 'remotedomain' to the server's hosts file, routing it to the IP address of the other server.


I didn't start getting the above error until I had moved one of the others from the 'remotedomain' server to the new server —  The new server is  The username remained the same, so the new user created is


I discovered this when I tried to go into edit the roster group to remove the related from the shared roster group.


What I've Tried Already:

  • I've rebooted the server itself.
  • I've tried several different links/ways of editing the group from the admin console.  All produce the same error.
  • There's no way to remove a user from a shared roster group using the REST API that I know of.


I'd appreciate any help!!! Thanks in advance!


EDIT: Just wanted to mention that the user still exists on the other server, though I don't think that would have anything to do with this error.