java.lang.IllegalStateException: No match found

Atlassian JIRA | TeckEn Yew | 4 years ago
  1. 0

    JQL thrown error when running the following JQL: {code} status was Reopened by currentUser() AFTER startOfDay("today") {code} The main reason was the argument _today_ for startOfDay that causing the no match error with either quotes or not. h4. Step to Reproduce # Go to Advanced Search # Search the below JQL {code} status was Reopened by currentUser() AFTER startOfDay("today") {code} # JIRA will give you the oops error page: !oops_in_5.2.7.JPG|thumbnail! Stacktrace for 5.1: {code} java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:468) at com.atlassian.jira.plugin.jql.function.AbstractDateFunction.getDurationAmount(AbstractDateFunction.java:80) at com.atlassian.jira.plugin.jql.function.StartOfDayFunction.getValues(StartOfDayFunction.java:47) at com.atlassian.jira.jql.operand.FunctionOperandHandler.getValues(FunctionOperandHandler.java:36) at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:228) at com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:90) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:71) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:56) at com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:87) ... {code} Stacktrace for 5.2.7: h4. Note: 5.2.7 didn't thrown the Oops error page but stacktrace was thrown in the console/logs. {code} 2013-03-22 22:19:33,376 http-bio-8527-exec-10 ERROR admin 1339x5034x1 d5ofiy 127.0.0.1 /rest/issueNav/1/issueTable/ [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:468) at com.atlassian.jira.plugin.jql.function.AbstractDateFunction.getDurationAmount(AbstractDateFunction.java:80) at com.atlassian.jira.plugin.jql.function.StartOfDayFunction.getValues(StartOfDayFunction.java:47) at com.atlassian.jira.jql.operand.FunctionOperandHandler.getValues(FunctionOperandHandler.java:36) at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:228) at com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:90) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:71) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:56) at com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:87) at com.atlassian.jira.jql.validator.ValidatorVisitor.validateClause(ValidatorVisitor.java:133) {code} h4. Wordaround String arguments are not supported by {{startOfDay}}. It has to be in the form as explained at https://confluence.atlassian.com/display/JIRA/Advanced+Searching#AdvancedSearching-startOfDay

    Atlassian JIRA | 4 years ago | TeckEn Yew
    java.lang.IllegalStateException: No match found
  2. 0

    JQL thrown error when running the following JQL: {code} status was Reopened by currentUser() AFTER startOfDay("today") {code} The main reason was the argument _today_ for startOfDay that causing the no match error with either quotes or not. h4. Step to Reproduce # Go to Advanced Search # Search the below JQL {code} status was Reopened by currentUser() AFTER startOfDay("today") {code} # JIRA will give you the oops error page: !oops_in_5.2.7.JPG|thumbnail! Stacktrace for 5.1: {code} java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:468) at com.atlassian.jira.plugin.jql.function.AbstractDateFunction.getDurationAmount(AbstractDateFunction.java:80) at com.atlassian.jira.plugin.jql.function.StartOfDayFunction.getValues(StartOfDayFunction.java:47) at com.atlassian.jira.jql.operand.FunctionOperandHandler.getValues(FunctionOperandHandler.java:36) at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:228) at com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:90) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:71) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:56) at com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:87) ... {code} Stacktrace for 5.2.7: h4. Note: 5.2.7 didn't thrown the Oops error page but stacktrace was thrown in the console/logs. {code} 2013-03-22 22:19:33,376 http-bio-8527-exec-10 ERROR admin 1339x5034x1 d5ofiy 127.0.0.1 /rest/issueNav/1/issueTable/ [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:468) at com.atlassian.jira.plugin.jql.function.AbstractDateFunction.getDurationAmount(AbstractDateFunction.java:80) at com.atlassian.jira.plugin.jql.function.StartOfDayFunction.getValues(StartOfDayFunction.java:47) at com.atlassian.jira.jql.operand.FunctionOperandHandler.getValues(FunctionOperandHandler.java:36) at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:228) at com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:90) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:71) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:56) at com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:87) at com.atlassian.jira.jql.validator.ValidatorVisitor.validateClause(ValidatorVisitor.java:133) {code} h4. Wordaround String arguments are not supported by {{startOfDay}}. It has to be in the form as explained at https://confluence.atlassian.com/display/JIRA/Advanced+Searching#AdvancedSearching-startOfDay

    Atlassian JIRA | 4 years ago | TeckEn Yew
    java.lang.IllegalStateException: No match found
  3. 0

    Issues with driver.getPageSource()

    Google Groups | 4 years ago | testingzeal
    java.lang.IllegalStateException: No match found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    My regular expression doesn't work

    Stack Overflow | 3 years ago | Amr Adel Elkholy
    java.lang.IllegalStateException: No match found

    2 unregistered visitors
    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

      No match found

      at java.util.regex.Matcher.group()
    2. Java RT
      Matcher.group
      1. java.util.regex.Matcher.group(Matcher.java:468)
      1 frame
    3. com.atlassian.jira
      WasClauseValidator.validate
      1. com.atlassian.jira.plugin.jql.function.AbstractDateFunction.getDurationAmount(AbstractDateFunction.java:80)
      2. com.atlassian.jira.plugin.jql.function.StartOfDayFunction.getValues(StartOfDayFunction.java:47)
      3. com.atlassian.jira.jql.operand.FunctionOperandHandler.getValues(FunctionOperandHandler.java:36)
      4. com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:228)
      5. com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31)
      6. com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:90)
      7. com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:71)
      8. com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:56)
      9. com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:87)
      9 frames