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

Atlassian JIRA | Gurleen Anand [Atlassian] | 7 years ago
  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 | 7 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 | 7 years ago | Gurleen Anand [Atlassian]
    java.lang.IllegalArgumentException: fromIndex(10) > toIndex(0)
  3. 0

    Error - javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.index.IndexBean.. class com.syntek.egazette.bean.index.IndexBean : java.lang.IllegalArgumentException: fromIndex(40) > toIndex(10)

    gov.vn | 8 months ago
    javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.index.IndexBean.. class com.syntek.egazette.bean.index.IndexBean : java.lang.IllegalArgumentException: fromIndex(40) > toIndex(10)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 29#140816434

    GitHub | 1 year ago | oroulet
    java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)

    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