java.lang.UnsupportedOperationException

JIRA | Guus der Kinderen | 4 years ago
  1. 0

    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.

    Jive Software Open Source | 4 years ago | Guus der Kinderen
    java.lang.UnsupportedOperationException
  2. 0

    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.

    JIRA | 4 years ago | Guus der Kinderen
    java.lang.UnsupportedOperationException
  3. 0

    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.

    Jive Software Open Source | 4 years ago | Guus der Kinderen
    java.lang.UnsupportedOperationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UnsupportedOperationException - ConnectionProfiles lost on restart

    Eclipse Bugzilla | 9 years ago | mutdosch
    java.lang.UnsupportedOperationException

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at java.util.AbstractMap.put()
    2. Java RT
      AbstractMap.put
      1. java.util.AbstractMap.put(Unknown Source)
      1 frame
    3. org.jivesoftware.openfire
      group_002dedit_jsp._jspService
      1. org.jivesoftware.openfire.admin.group_002dedit_jsp._jspService(group_002dedit_jsp.java:164)
      1 frame
    4. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame