Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-16903

Error message in user picker through Advanced Search

    XMLWordPrintable

Details

    Description

      In Global, space and page level permission setting, if user search returs results with more than one pages, accessing any page other than the 1st page comes up with a System Error (see below). This error doesn't happen on "user search" in Manage Users administration page.

      Cause
      org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getPage' in class bucket.core.actions.PaginationSupport threw exception java.lang.IllegalArgumentException: fromIndex(10) > toIndex(0) @ /spaces/permissions/userpicker-results.vm[25,58]
      at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:205)
      
      caused by: java.lang.IllegalArgumentException: fromIndex(10) > toIndex(0)
      at java.util.SubList.<init>(AbstractList.java:604)
      
      Stack Trace:[hide]
      org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getPage' in class bucket.core.actions.PaginationSupport threw exception java.lang.IllegalArgumentException: fromIndex(10) > toIndex(0) @ /spaces/permissions/userpicker-results.vm[25,58]
      at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:205)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
      at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
      at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
      at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
      at org.apache.velocity.Template.merge(Template.java:254)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ganand Gurleen Anand [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: