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

"groovy.lang.MissingPropertyException Exception evaluating property 'size' for java.util.ArrayList" when using IBM Java 6

    Details

    • Similar Issues:

      Description

      When using IBM Java 6, the following error happens when trying to see a build result.

      The bug seems to be the following line in hudson.plugins.parameterizedtrigger.BuildInfoExporterAction.sumary.groovy: if (projects.size > 0) {

      This is related to this: http://jira.codehaus.org/browse/GROOVY-4094 , where it is mentioned that should be size(), not size.

      Stack trace:
      Caused by: groovy.lang.MissingPropertyException: Exception evaluating property 'size' for java.util.ArrayList, Reason: groovy.lang.MissingPropertyException: No such property: size for class: hudson.model.FreeStyleProject
      Possible solutions: name, scm
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:6810)
      at groovy.lang.MetaClassImpl$7.getProperty(MetaClassImpl.java:1712)
      at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
      at hudson.plugins.parameterizedtrigger.BuildInfoExporterAction.summary.run(summary.groovy:30)
      at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:69)
      at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:62)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      ... 96 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                gabriel Gabriel Lopez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: