java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by TeckEn Yew,
  • 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
    via by TeckEn Yew,
  • Issues with driver.getPageSource()
    via by testingzeal,
  • My regular expression doesn't work
    via Stack Overflow by Amr Adel Elkholy
    ,
  • D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi>pax-create-bundle -n "reportincident bundle" -p org.ap ache.camel.example.reportincident.service -- "-Dspring" D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi>mvn -N org.ops4j:maven-pax-plugin:1.5-SNAPSHOT:create- bundle -Dpackage=org.apache.camel.example.reportincident.service -DbundleName="reportincident bundle" -DbundleGroupId= - Dversion=1.0-SNAPSHOT "-Dspring" [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building org.apache.camel.example.reportincident.service.osgi (OSGi project) [INFO] task-segment: [org.ops4j:maven-pax-plugin:1.5-SNAPSHOT:create-bundle] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoad er'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] ************************************************************** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFo undException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [pax:create-bundle] [INFO] Selecting latest archetype release within version range [0,2) [INFO] artifact org.ops4j.pax.construct:maven-archetype-osgi-bundle: checking for updates from central [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] No match found [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:468) at org.ops4j.pax.construct.util.XppPathQuery.queryChildren(XppPathQuery.java:128) at org.ops4j.pax.construct.util.XppPom.findChildren(XppPom.java:979) at org.ops4j.pax.construct.util.XppPom.addModule(XppPom.java:441) at org.ops4j.pax.construct.archetype.AbstractPaxArchetypeMojo.prepareTarget(AbstractPaxArchetypeMojo.java:582) at org.ops4j.pax.construct.archetype.AbstractPaxArchetypeMojo.execute(AbstractPaxArchetypeMojo.java:336) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav a:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9 seconds [INFO] Finished at: Tue Feb 10 16:48:22 CET 2009 [INFO] Final Memory: 11M/19M [INFO] ------------------------------------------------------------------------
    via by Charles Moulliard,
  • Logs report: {quote} 2011-02-09 09:20:28,498 INFO [InitialPinger1 LTE_CC] perf.timer Timer-output - <- cleartool.execute: lshistory -all -since 31-December-1969.18:00:00 -branch lms -fmt "%Nd %[activity]p\n" vob/ltecore/src time 3600592590 micros mem_usage = 182211512 heapsize = 362348544 freemem = 180137032 2011-02-09 09:20:28,499 INFO [InitialPinger1 LTE_CC] perf.timer Timer-output - <- clearcase.processBranch: stream:lms@/vob/ltecore/pvob time 3600708999 micros mem_usage = 182219664 heapsize = 362348544 freemem = 180128880 2011-02-09 09:20:28,499 ERROR [InitialPinger1 LTE_CC] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo LTE_CC due to class java.lang.IllegalStateException - No match found java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:468) at com.atlassian.fisheye.clearcase.CleartoolInteractiveProcess.exec(CleartoolInteractiveProcess.java:304) at com.atlassian.fisheye.clearcase.CleartoolInteractiveProcess.createProcess(CleartoolInteractiveProcess.java:132) at com.atlassian.fisheye.clearcase.ClearCaseContext.runInteractiveProcess(ClearCaseContext.java:302) at com.atlassian.fisheye.clearcase.ClearCaseContext.executeInteractiveCommand(ClearCaseContext.java:286) at com.atlassian.fisheye.clearcase.ClearCaseContext.executeCommand(ClearCaseContext.java:194) at com.atlassian.fisheye.clearcase.ClearCaseContext.executeCommand(ClearCaseContext.java:150) at com.atlassian.fisheye.clearcase.ClearCaseUCMContext.getChangeSets(ClearCaseUCMContext.java:359) at com.atlassian.fisheye.clearcase.ClearCaseRepositoryScanner.processBranch(ClearCaseRepositoryScanner.java:621) at com.atlassian.fisheye.clearcase.ClearCaseRepositoryScanner.processVobs(ClearCaseRepositoryScanner.java:583) at com.atlassian.fisheye.clearcase.ClearCaseRepositoryScanner.processRevisions(ClearCaseRepositoryScanner.java:550) at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:291) at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:258) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:190) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:85) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:387) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 2011-02-09 09:20:28,502 DEBUG [InitialPinger1 LTE_CC] fisheye.app RepositoryStatus-setEngineError - Engine Error Set [LTE_CC]: Repository index failed due to error java.lang.IllegalStateException: No match found {quote} when the command times out and indexing stops. As a workaround, increase the Command Timeout for the ClearCase repository.
    via by Gurleen Anand [Atlassian],
    • 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)

    Users with the same issue

    Handemelindo
    1 times, last one,
    osvzs
    2 times, last one,
    stigkj
    10 times, last one,
    Dunmer
    367 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates