org.apache.velocity.exception.MethodInvocationException: Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search/SearchRequest;Lcom/opensymphony/user/User;Lcom/atlassian/jira/issue/statistics/util/DocumentHitCollector;Lcom/atlassian/jira/web/bean/PagerFilter;)V

Atlassian JIRA | Andreas Knecht | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    We changed the SearchProvider.searchAndSort() interface to take a HitCollector instead of a DocumentHitCollector. This isn't binary compatible and ends up breaking Greenhopper (and potentially other plugins): {noformat} An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search/SearchRequest;Lcom/opensymphony/user/User;Lcom/atlassian/jira/issue/statistics/util/DocumentHitCollector;Lcom/atlassian/jira/web/bean/PagerFilter;)V at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) ... {noformat} I will re-introduce the old method as a deprecated method delegating through to the new method.

    Atlassian JIRA | 8 years ago | Andreas Knecht
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search/SearchRequest;Lcom/opensymphony/user/User;Lcom/atlassian/jira/issue/statistics/util/DocumentHitCollector;Lcom/atlassian/jira/web/bean/PagerFilter;)V
  2. 0

    We changed the SearchProvider.searchAndSort() interface to take a HitCollector instead of a DocumentHitCollector. This isn't binary compatible and ends up breaking Greenhopper (and potentially other plugins): {noformat} An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search/SearchRequest;Lcom/opensymphony/user/User;Lcom/atlassian/jira/issue/statistics/util/DocumentHitCollector;Lcom/atlassian/jira/web/bean/PagerFilter;)V at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) ... {noformat} I will re-introduce the old method as a deprecated method delegating through to the new method.

    Atlassian JIRA | 8 years ago | Andreas Knecht
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search/SearchRequest;Lcom/opensymphony/user/User;Lcom/atlassian/jira/issue/statistics/util/DocumentHitCollector;Lcom/atlassian/jira/web/bean/PagerFilter;)V

    Root Cause Analysis

    1. org.apache.velocity.exception.MethodInvocationException

      Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search/SearchRequest;Lcom/opensymphony/user/User;Lcom/atlassian/jira/issue/statistics/util/DocumentHitCollector;Lcom/atlassian/jira/web/bean/PagerFilter;)V

      at org.apache.velocity.runtime.parser.node.ASTMethod.execute()
    2. Apache Velocity
      ASTSetDirective.render
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
      3. org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
      4. org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
      5. org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
      5 frames