org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canSetPermissionOnGroup' in class com.atlassian.confluence.security.actions.EditGlobalPermissionsAction threw exception java.lang.IllegalArgumentException: Unknown global permission: profileattachments at /admin/permissions/editglobalperms.vm[line 53, column 52]

Atlassian JIRA | Husein Alatas [Atlassian] | 7 years ago
  1. 0

    h5. Steps to Reproduce # Change system locale to Turkish # Go to {{Dashboard -> Administration -> View Global Permissions}} # Edit Permissions You will get a System Error page with something like this {code} org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canSetPermissionOnGroup' in class com.atlassian.confluence.security.actions.EditGlobalPermissionsAction threw exception java.lang.IllegalArgumentException: Unknown global permission: profileattachments at /admin/permissions/editglobalperms.vm[line 53, column 52] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) caused by: java.lang.IllegalArgumentException: Unknown global permission: profileattachments at com.atlassian.confluence.security.administrators.EditGlobalPermissionsAdministrator.canSetPermissionOnGroup(EditGlobalPermissionsAdministrator.java:100) {code} \\ h5. Findings || Confluence Version || Remark || | 3.1, 3.1.1, 3.1.2, 3.2 | Tested and affected | | 2.10.4, 3.0.0_01, 3.0.1, 3.0.2 | Unable to test due to [CONF-17160] | \\ h5. Workaround Cited from [CONF-7168|http://jira.atlassian.com/browse/CONF-7168?focusedCommentId=67700&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_67700] {quote} As a work-around, please pass these arguments to your JVM by adding them to JAVA_OPTS in setenv.bat: -Duser.country=EN -Duser.language=en {quote}

    Atlassian JIRA | 7 years ago | Husein Alatas [Atlassian]
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canSetPermissionOnGroup' in class com.atlassian.confluence.security.actions.EditGlobalPermissionsAction threw exception java.lang.IllegalArgumentException: Unknown global permission: profileattachments at /admin/permissions/editglobalperms.vm[line 53, column 52]
  2. 0

    h5. Steps to Reproduce # Change system locale to Turkish # Go to {{Dashboard -> Administration -> View Global Permissions}} # Edit Permissions You will get a System Error page with something like this {code} org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canSetPermissionOnGroup' in class com.atlassian.confluence.security.actions.EditGlobalPermissionsAction threw exception java.lang.IllegalArgumentException: Unknown global permission: profileattachments at /admin/permissions/editglobalperms.vm[line 53, column 52] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) caused by: java.lang.IllegalArgumentException: Unknown global permission: profileattachments at com.atlassian.confluence.security.administrators.EditGlobalPermissionsAdministrator.canSetPermissionOnGroup(EditGlobalPermissionsAdministrator.java:100) {code} \\ h5. Findings || Confluence Version || Remark || | 3.1, 3.1.1, 3.1.2, 3.2 | Tested and affected | | 2.10.4, 3.0.0_01, 3.0.1, 3.0.2 | Unable to test due to [CONF-17160] | \\ h5. Workaround Cited from [CONF-7168|http://jira.atlassian.com/browse/CONF-7168?focusedCommentId=67700&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_67700] {quote} As a work-around, please pass these arguments to your JVM by adding them to JAVA_OPTS in setenv.bat: -Duser.country=EN -Duser.language=en {quote}

    Atlassian JIRA | 7 years ago | Husein Alatas [Atlassian]
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canSetPermissionOnGroup' in class com.atlassian.confluence.security.actions.EditGlobalPermissionsAction threw exception java.lang.IllegalArgumentException: Unknown global permission: profileattachments at /admin/permissions/editglobalperms.vm[line 53, column 52]
  3. 0

    Chat history - A system error has occurred

    GitHub | 3 years ago | sniadek
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canView' in class com.atlassian.confluence.security.PermissionHelper threw exception java.lang.IllegalArgumentException: Could not check permissions for michals no suitable delegate found. at template/includes/macros.vm[line 1308, column 39]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [CONF-38084] Error when visiting pages with JIRA integrations, caused by duplicate AppLinks keys - Atlassian JIRA

    atlassian.com | 1 year ago
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableItems' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager threw exception net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection at template/includes/menu-macros.vm[line 125, column 45]
  6. 0

    * Add a Confluence activity streams gadget to a page * Click on "Login and Approve" A system error is returned by the gadget service provider: {noformat} com.atlassian.oauth.serviceprovider.ConsumerInformationRenderException: Could not render consumer information at com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl.render(AuthorizationRendererImpl.java:63) caused by: com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:97) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) caused by: java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) caused by: java.net.URISyntaxException: Illegal character in path at index 144: http://confluence.atlassian.com/rest/gadgets/1.0/g/com.atlassian.streams.confluence:activitystream-gadget/gadgets/conf-activitystream-gadget.xml at java.net.URI$Parser.fail(URI.java:2809) {noformat}

    Atlassian JIRA | 7 years ago | Marlena Compton [Atlassian]
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35]

    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. org.apache.velocity.exception.MethodInvocationException

      Invocation of method 'canSetPermissionOnGroup' in class com.atlassian.confluence.security.actions.EditGlobalPermissionsAction threw exception java.lang.IllegalArgumentException: Unknown global permission: profileattachments at /admin/permissions/editglobalperms.vm[line 53, column 52]

      at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException()
    2. Apache Velocity
      ASTMethod.handleInvocationException
      1. org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
      1 frame