java.lang.IllegalStateException: There is no OperandHandler registered to handle the operand 'blah()'.

Atlassian JIRA | Brenden Bain [Atlassian] | 7 years ago
  1. 0

    * Save a filter with a function. * Disable the function. * Disable the function. When you try to run the query again you will get an exception like: {code} java.lang.IllegalStateException: There is no OperandHandler registered to handle the operand 'blah()'. at com.atlassian.jira.jql.query.GenericClauseQueryFactory.getQuery(GenericClauseQueryFactory.java:78) at com.atlassian.jira.jql.query.ReporterClauseQueryFactory.getQuery(ReporterClauseQueryFactory.java:35) at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:135) at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:24) at com.atlassian.query.clause.TerminalClauseImpl.accept(TerminalClauseImpl.java:137) at com.atlassian.jira.jql.query.QueryVisitor.createQuery(QueryVisitor.java:65) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getHits(LuceneSearchProvider.java:162) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchCount(LuceneSearchProvider.java:94) at com.atlassian.jira.portal.portlets.SavedFiltersPortlet.getCountsForFilter(SavedFiltersPortlet.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) {code} I have attached a backup with a bad query. The broken filter is called "AllIssues" and is owned by admin.

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    java.lang.IllegalStateException: There is no OperandHandler registered to handle the operand 'blah()'.
  2. 0

    * Save a filter with a function. * Disable the function. * Disable the function. When you try to run the query again you will get an exception like: {code} java.lang.IllegalStateException: There is no OperandHandler registered to handle the operand 'blah()'. at com.atlassian.jira.jql.query.GenericClauseQueryFactory.getQuery(GenericClauseQueryFactory.java:78) at com.atlassian.jira.jql.query.ReporterClauseQueryFactory.getQuery(ReporterClauseQueryFactory.java:35) at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:135) at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:24) at com.atlassian.query.clause.TerminalClauseImpl.accept(TerminalClauseImpl.java:137) at com.atlassian.jira.jql.query.QueryVisitor.createQuery(QueryVisitor.java:65) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getHits(LuceneSearchProvider.java:162) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchCount(LuceneSearchProvider.java:94) at com.atlassian.jira.portal.portlets.SavedFiltersPortlet.getCountsForFilter(SavedFiltersPortlet.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) {code} I have attached a backup with a bad query. The broken filter is called "AllIssues" and is owned by admin.

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    java.lang.IllegalStateException: There is no OperandHandler registered to handle the operand 'blah()'.
  3. 0

    [JERSEY-2788] Stuck in loop in ResourceConfig.scanClasses - Java.net JIRA

    java.net | 1 year ago
    java.lang.IllegalStateException: No generator was provided and there is no generator registered
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 5#46843797

    GitHub | 2 years ago | yitchoong
    java.lang.IllegalStateException: No generator was provided and there is no default generator registered
  6. 0

    Using a Java project (jersey library is used) in android project

    Stack Overflow | 2 years ago | sabrina2020
    java.lang.IllegalStateException: No generator was provided and there is no default generator registered

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

      There is no OperandHandler registered to handle the operand 'blah()'.

      at com.atlassian.jira.jql.query.GenericClauseQueryFactory.getQuery()
    2. com.atlassian.jira
      QueryVisitor.visit
      1. com.atlassian.jira.jql.query.GenericClauseQueryFactory.getQuery(GenericClauseQueryFactory.java:78)
      2. com.atlassian.jira.jql.query.ReporterClauseQueryFactory.getQuery(ReporterClauseQueryFactory.java:35)
      3. com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:135)
      4. com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:24)
      4 frames
    3. com.atlassian.query
      TerminalClauseImpl.accept
      1. com.atlassian.query.clause.TerminalClauseImpl.accept(TerminalClauseImpl.java:137)
      1 frame
    4. com.atlassian.jira
      SavedFiltersPortlet.getCountsForFilter
      1. com.atlassian.jira.jql.query.QueryVisitor.createQuery(QueryVisitor.java:65)
      2. com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getHits(LuceneSearchProvider.java:162)
      3. com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchCount(LuceneSearchProvider.java:94)
      4. com.atlassian.jira.portal.portlets.SavedFiltersPortlet.getCountsForFilter(SavedFiltersPortlet.java:53)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. Apache Velocity
      VelocityEngine.mergeTemplate
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
      2. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
      4. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
      5. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      6. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
      7. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      8. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
      9. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
      10. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      11. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
      12. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      13. org.apache.velocity.Template.merge(Template.java:256)
      14. org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)
      14 frames
    7. com.atlassian.velocity
      DefaultVelocityManager.getEncodedBody
      1. com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77)
      2. com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61)
      2 frames