Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18880

Build statistics does not display result with regex .* filter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • dashboard-view-plugin
    • None
    • Jenkins 1.509.2, RHEL 5, Java 1.7.0_09

    Description

      Build statistics does not display result with regex .* filter.
      Exception is thrown:

      WARNING: Caught exception evaluating: it.getBuildStat(jobs) in /jenkins/view/0.%20Survol/. Reason: java.util.NoSuchElementException
      java.util.NoSuchElementException
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.firstKey(AbstractLazyLoadRunMap.java:310)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.firstKey(AbstractLazyLoadRunMap.java:102)
      	at java.util.Collections$UnmodifiableSortedMap.firstKey(Collections.java:1549)
      	at hudson.plugins.view.dashboard.stats.StatBuilds.getBuildStat(StatBuilds.java:48)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
      	at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
      	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
      	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
      	at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
      	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
      	at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStati
      

      If instead on using regex filter to choose jobs I select job with checkbox, it works, build statistics displays somes results.

      Attachments

        Activity

          People

            tgr Tobias Gruetzmacher
            vdupain vdupain
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: