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

NPE in View.isRelevant

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Linux:
      Debian GNU/Linux stable (7.3)

      Java:
      OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1)
      OpenJDK Server VM (build 20.0-b12, mixed mode)

      After upgrading to version 1.548, I get a NullPointerException when opening views that have <filterExecutors>true</filterExecutors>. The result page has the following exception details:

      java.lang.NullPointerException
      at hudson.model.View.isRelevant(View.java:451)
      at hudson.model.View.getComputers(View.java:439)
      at sun.reflect.GeneratedMethodAccessor332.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3500)
      at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
      at jenkins.widgets.ExecutorsWidget.index.run(index.groovy:5)
      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:147)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      ... 87 more

            Unassigned Unassigned
            bartvh Bart Vanhaute
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: