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

MultiSCM logs a stacktrace when OrgFolder job configs are opened in legacy UI, with jenkins core 2.275

XMLWordPrintable

      I am not sure what to make of this trace. It seems "benign" in a way - so far I only saw it when rendering Organization Folders (both Bitbucket and GitHub) that do not use MultiSCM; the legacy freestyle jobs which do use it seem okay, both by showing the expected multiple-git config, and not showing the trace in logs:

      2021-01-14 09:20:51.782+0000 [id=335]   WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /job/BIOS/configure. Reason: java.lang.NullPointerException: Descriptor list is null for context 'class jenkins.branch.OrganizationFolder' in thread 'Handling GET /job/BIOS/configure from 172.26.33.170 : Jetty (winstone)-335 AbstractFolder/configure.jelly FolderLibraries/DescriptorImpl/config.jelly LibraryConfiguration/config.jelly SCMRetriever/DescriptorImpl/config.jelly MultiSCM/DescriptorImpl/config.jelly'
      
      java.lang.NullPointerException: Descriptor list is null for context 'class jenkins.branch.OrganizationFolder' in thread 'Handling GET /job/BIOS/configure from 172.26.33.170 : Jetty (winstone)-335 AbstractFolder/configure.jelly FolderLibraries/DescriptorImpl/config.jelly LibraryConfiguration/config.jelly SCMRetriever/DescriptorImpl/config.jelly MultiSCM/DescriptorImpl/config.jelly'
              at hudson.model.DescriptorVisibilityFilter.apply(DescriptorVisibilityFilter.java:73)
              at hudson.Functions.filterDescriptors(Functions.java:2118)
      ...
      

            kbell Kevin Bell
            jimklimov Jim Klimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: