java.lang.IllegalArgumentException: fromIndex(10) > toIndex(0)

Atlassian JIRA | Gurleen Anand [Atlassian] | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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. {noformat} 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) {noformat}

    Atlassian JIRA | 8 years ago | Gurleen Anand [Atlassian]
    java.lang.IllegalArgumentException: fromIndex(10) > toIndex(0)
  2. 0

    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. {noformat} 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) {noformat}

    Atlassian JIRA | 8 years ago | Gurleen Anand [Atlassian]
    java.lang.IllegalArgumentException: fromIndex(10) > toIndex(0)
  3. 0

    Problems with scheduling several events through a list with "foreach"

    GitHub | 2 years ago | annaklabunde
    java.lang.IllegalArgumentException: fromIndex(85) > toIndex(48)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException getting page

    GitHub | 2 years ago | ares242
    java.lang.IllegalArgumentException: fromIndex(55) > toIndex(18)
  6. 0

    fromIndex > toIndex in Cassandra 1.2.5

    Google Groups | 4 years ago | tamas....@thomsonreuters.com
    java.lang.IllegalArgumentException: fromIndex(60) > toIndex(0)

    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.IllegalArgumentException

      fromIndex(10) > toIndex(0)

      at java.util.SubList.<init>()
    2. Java RT
      SubList.<init>
      1. java.util.SubList.<init>(AbstractList.java:604)
      1 frame