java.lang.UnsupportedOperationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When the original reporter (see Ignite Forum URL) tries to share a group in the admin console, an error is logged. Steps to reproduce (as reported) # Open to Group/User tab in WebAdmin Panel # Open Groups tab # Locate group # Enter in name for group sharing # Save Contact List This issue is not reproducible on the igniterealtime.org domain, but has been confirmed by a second user in the Ignite Forum (see URL listed in this issue). The relevant part of the error message is: {code}Caused by: java.lang.UnsupportedOperationException at java.util.AbstractMap.put(Unknown Source) at org.jivesoftware.openfire.admin.group_002dedit_jsp._jspService(group_002dedit_jsp.java:164) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820){code} The JSP-code that is referenced there is this snippet of JSP: {code:java}164 group.getProperties().put("sharedRoster.showInRoster", showGroup); 165 if (groupDisplayName != null) { 166 group.getProperties().put("sharedRoster.displayName", groupDisplayName); 167 } 168 group.getProperties().put("sharedRoster.groupList", toList(groupNames, "UTF-8")); 169 170 if (!SecurityAuditManager.getSecurityAuditProvider().blockGroupEvents()) { {code} The {{properties}} object that is in a Group instance is instantiated by the configured {{GroupProvider}}. This might be the reason why this problem is not reproducable on our domain, but is for other users. We're using a regular JDBC-based backend. I assume users using another type of backend (LDAP, ClearSpace) suffer from this issue. This problem might be caused by this snippet from {{AbstractReadOnlyGroupProvider}} (introduced as part of OF-278: {code:java}public Map<String, String> loadProperties(Group group) { return new Immutable.Map<String,String>(); }{code} This is likely to cause the properties for a group to be immutable, which would be a reasonable cause for the behavior described by the original reporter.
    via by Guus der Kinderen,
  • When the original reporter (see Ignite Forum URL) tries to share a group in the admin console, an error is logged. Steps to reproduce (as reported) # Open to Group/User tab in WebAdmin Panel # Open Groups tab # Locate group # Enter in name for group sharing # Save Contact List This issue is not reproducible on the igniterealtime.org domain, but has been confirmed by a second user in the Ignite Forum (see URL listed in this issue). The relevant part of the error message is: {code}Caused by: java.lang.UnsupportedOperationException at java.util.AbstractMap.put(Unknown Source) at org.jivesoftware.openfire.admin.group_002dedit_jsp._jspService(group_002dedit_jsp.java:164) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820){code} The JSP-code that is referenced there is this snippet of JSP: {code:java}164 group.getProperties().put("sharedRoster.showInRoster", showGroup); 165 if (groupDisplayName != null) { 166 group.getProperties().put("sharedRoster.displayName", groupDisplayName); 167 } 168 group.getProperties().put("sharedRoster.groupList", toList(groupNames, "UTF-8")); 169 170 if (!SecurityAuditManager.getSecurityAuditProvider().blockGroupEvents()) { {code} The {{properties}} object that is in a Group instance is instantiated by the configured {{GroupProvider}}. This might be the reason why this problem is not reproducable on our domain, but is for other users. We're using a regular JDBC-based backend. I assume users using another type of backend (LDAP, ClearSpace) suffer from this issue. This problem might be caused by this snippet from {{AbstractReadOnlyGroupProvider}} (introduced as part of OF-278: {code:java}public Map<String, String> loadProperties(Group group) { return new Immutable.Map<String,String>(); }{code} This is likely to cause the properties for a group to be immutable, which would be a reasonable cause for the behavior described by the original reporter.
    via by Guus der Kinderen,
  • When the original reporter (see Ignite Forum URL) tries to share a group in the admin console, an error is logged. Steps to reproduce (as reported) # Open to Group/User tab in WebAdmin Panel # Open Groups tab # Locate group # Enter in name for group sharing # Save Contact List This issue is not reproducible on the igniterealtime.org domain, but has been confirmed by a second user in the Ignite Forum (see URL listed in this issue). The relevant part of the error message is: {code}Caused by: java.lang.UnsupportedOperationException at java.util.AbstractMap.put(Unknown Source) at org.jivesoftware.openfire.admin.group_002dedit_jsp._jspService(group_002dedit_jsp.java:164) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820){code} The JSP-code that is referenced there is this snippet of JSP: {code:java}164 group.getProperties().put("sharedRoster.showInRoster", showGroup); 165 if (groupDisplayName != null) { 166 group.getProperties().put("sharedRoster.displayName", groupDisplayName); 167 } 168 group.getProperties().put("sharedRoster.groupList", toList(groupNames, "UTF-8")); 169 170 if (!SecurityAuditManager.getSecurityAuditProvider().blockGroupEvents()) { {code} The {{properties}} object that is in a Group instance is instantiated by the configured {{GroupProvider}}. This might be the reason why this problem is not reproducable on our domain, but is for other users. We're using a regular JDBC-based backend. I assume users using another type of backend (LDAP, ClearSpace) suffer from this issue. This problem might be caused by this snippet from {{AbstractReadOnlyGroupProvider}} (introduced as part of OF-278: {code:java}public Map<String, String> loadProperties(Group group) { return new Immutable.Map<String,String>(); }{code} This is likely to cause the properties for a group to be immutable, which would be a reasonable cause for the behavior described by the original reporter.
    via by Guus der Kinderen,
    • java.lang.UnsupportedOperationException at java.util.AbstractMap.put(Unknown Source) at org.jivesoftware.openfire.admin.group_002dedit_jsp._jspService(group_002dedit_jsp.java:164) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,