[JIRA] (JENKINS-39598) MultiSCM/config.jelly passes descriptors=null

1,222 views
Skip to first unread message

haflidi@kodi.is (JIRA)

unread,
Feb 15, 2018, 6:27:04 AM2/15/18
to jenkinsc...@googlegroups.com
Hafliði Ólafsson commented on Bug JENKINS-39598
 
Re: MultiSCM/config.jelly passes descriptors=null

I came from this issue: https://issues.jenkins-ci.org/browse/JENKINS-47494

I get this error when I try to scan my Multibranch Pipeline project.

I get the following error and beginning of stack trace (I will spare you the full 300 lines of stack trace unless you wish for it). I'm running Jenkins version 2.104

 

Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /configure. Reason: java.lang.NullPointerException: Descriptor list is null for context 'class hudson.model.Hudson' in thread 'Handling GET /configure from 127.0.0.1 : RequestHandlerThread15 Jenkins/configure.jelly GlobalLibraries/config.jelly LibraryConfiguration/config.jelly SCMRetriever/DescriptorImpl/config.jelly MultiSCM/DescriptorImpl/config.jelly'{{ java.lang.NullPointerException: Descriptor list is null for context 'class hudson.model.Hudson' in thread 'Handling GET /configure from 127.0.0.1 : RequestHandlerThread15 Jenkins/configure.jelly GlobalLibraries/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:1881)
  at sun.reflect.GeneratedMethodAccessor333.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  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)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

rainer.funk@redteclab.com (JIRA)

unread,
Mar 20, 2018, 4:34:02 PM3/20/18
to jenkinsc...@googlegroups.com
Rainer Funk commented on Bug JENKINS-39598
 
Re: MultiSCM/config.jelly passes descriptors=null

Hello,

anything new regarding this issue? Any workaround? Seems like im stuck in "configuration loading" screen. Can't configure any maven project nor create a new one. Any workaround?

 

Mar 20, 2018 9:04:16 PM hudson.ExpressionFactory2$JexlExpression evaluate
WARNING: Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /configure. Reason: java.lang.NullPointerException: Descriptor list i
s null for context 'class hudson.model.Hudson' in thread 'Handling GET /configure from 212.144.53.40 : RequestHandlerThread[#9] Jenkins/configure.jelly
GlobalLibraries/config.jelly LibraryConfiguration/config.jelly SCMRetriever/DescriptorImpl/config.jelly MultiSCM/DescriptorImpl/config.jelly'
java.lang.NullPointerException: Descriptor list is null for context 'class hudson.model.Hudson' in thread 'Handling GET /configure from 212.144.53.40 :
RequestHandlerThread[#9] Jenkins/configure.jelly GlobalLibraries/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:1881)
at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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)

jakub@pawlinski.pl (JIRA)

unread,
Sep 4, 2018, 9:18:01 AM9/4/18
to jenkinsc...@googlegroups.com
Jakub Pawlinski commented on Bug JENKINS-39598
 
Re: MultiSCM/config.jelly passes descriptors=null

multiple-scms has }}a hard dep on {{mercurial, so it no longer can be disabled, same issue:

Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /job/EDM%20Platform/configure. Reason: java.lang.NullPointerException: Descriptor list is null for context 'class jenkins.branch.OrganizationFolder' in thread 'Handling GET /job/EDM%20Platform/configure from 0:0:0:0:0:0:0:1 : qtp19448387-101 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/EDM%20Platform/configure from 0:0:0:0:0:0:0:1 : qtp19448387-101 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)
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Sep 4, 2018, 5:19:02 PM9/4/18
to jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-39598
 
Re: MultiSCM/config.jelly passes descriptors=null

Jakub Pawlinski huh? multiple-scms has no dep on mercurial. mercurial has a dep on multiple-scms, but it is optional, so multiple-scms can be disabled.

jakub@pawlinski.pl (JIRA)

unread,
Sep 5, 2018, 11:15:03 AM9/5/18
to jenkinsc...@googlegroups.com
Jakub Pawlinski updated an issue
 
Jenkins / Bug JENKINS-39598
MultiSCM/config.jelly passes descriptors=null
Change By: Jakub Pawlinski
Attachment: image-2018-09-05-16-14-09-867.png

jakub@pawlinski.pl (JIRA)

unread,
Sep 5, 2018, 11:15:04 AM9/5/18
to jenkinsc...@googlegroups.com
Jakub Pawlinski updated an issue
Change By: Jakub Pawlinski
Attachment: image-2018-09-05-16-14-21-879.png

jakub@pawlinski.pl (JIRA)

unread,
Sep 5, 2018, 11:15:04 AM9/5/18
to jenkinsc...@googlegroups.com
Jakub Pawlinski updated an issue
Change By: Jakub Pawlinski
Attachment: image-2018-09-05-16-14-57-133.png

jakub@pawlinski.pl (JIRA)

unread,
Sep 5, 2018, 11:16:02 AM9/5/18
to jenkinsc...@googlegroups.com
Jakub Pawlinski updated an issue
Change By: Jakub Pawlinski
Attachment: image-2018-09-05-16-15-21-458.png

jakub@pawlinski.pl (JIRA)

unread,
Sep 5, 2018, 11:17:02 AM9/5/18
to jenkinsc...@googlegroups.com
Jakub Pawlinski commented on Bug JENKINS-39598
 
Re: MultiSCM/config.jelly passes descriptors=null

Jesse Glick: maybe I'm reading it wrong, but none can be disabled.  

jglick@cloudbees.com (JIRA)

unread,
Sep 5, 2018, 12:06:02 PM9/5/18
to jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-39598
 
Re: MultiSCM/config.jelly passes descriptors=null

Jakub Pawlinski that is a known core UI bug. Workaround IIRC (untested):

touch $JENKINS_HOME/plugins/multiple-scms.jpi.disabled

owen@nerdnetworks.org (JIRA)

unread,
Jan 14, 2019, 1:14:03 AM1/14/19
to jenkinsc...@googlegroups.com

rodrigc@FreeBSD.org (JIRA)

unread,
Jan 19, 2019, 12:58:05 AM1/19/19
to jenkinsc...@googlegroups.com
Craig Rodrigues closed an issue as Won't Fix
Change By: Craig Rodrigues
Status: Reopened Closed
Assignee: Craig Rodrigues
Resolution: Won't Fix

jglick@cloudbees.com (JIRA)

unread,
Jan 22, 2019, 2:56:03 PM1/22/19
to jenkinsc...@googlegroups.com
 
Re: MultiSCM/config.jelly passes descriptors=null

Craig Rodrigues any particular reason to close this, other than the plugin as a whole being deprecated?

rodrigc@FreeBSD.org (JIRA)

unread,
Jan 22, 2019, 10:37:03 PM1/22/19
to jenkinsc...@googlegroups.com
Craig Rodrigues commented on Bug JENKINS-39598
 
Re: MultiSCM/config.jelly passes descriptors=null

Jesse Glick yes, no point in putting effort into something which is deprecated

jglick@cloudbees.com (JIRA)

unread,
Jan 23, 2019, 9:43:03 AM1/23/19
to jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-39598
 
Re: MultiSCM/config.jelly passes descriptors=null

Of course. My tendency is just to leave issues in deprecated or abandoned components untouched, for archaeological reasons—no one will come back later and wonder whether there was a reason that this issue in particular was closed.

Reply all
Reply to author
Forward
0 new messages