[JIRA] (JENKINS-40545) NPE in console log when I configure a folder in a folder or a pipeline in a folder

2017-03-24 Thread nicolas.dupontjub...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicolas Dupont-Jubien commented on  JENKINS-40545  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE in console log when I configure a folder in a folder or a pipeline in a folder   
 

  
 
 
 
 

 
 We have the same warnings for the plugins filters when opening the Jenkins System configure page. 

WARNING: Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /jenkins/configure. Reason: java.lang.NullPointerException java.lang.NullPointerException at hudson.model.DescriptorVisibilityFilter.apply(DescriptorVisibilityFilter.java:72) at hudson.Functions.filterDescriptors(Functions.java:1790)
 Here is the Jenkins war version: 
 
jenkins.war.LTS.2.32.3 
 The issue appears after an update of the Jenkins pipeline plugins and dependancies: 
 
name: credentials-binding version: '1.10' 
name: docker-commons version: '1.5' 
name: docker-workflow version: '1.9' 
name: durable-task version: '1.12' 
name: pipeline-build-step version: '2.4' 
name: pipeline-graph-analysis version: '1.1' 
name: pipeline-input-step version: '2.5' 
name: pipeline-milestone-step version: '1.3' 
name: pipeline-model-api version: '1.0' 
name: pipeline-model-declarative-agent version: '1.0' 
name: pipeline-model-definition version: '1.0' 
name: pipeline-rest-api version: '2.4' 
name: pipeline-stage-step version: '2.2' 
name: pipeline-stage-tags-metadata version: '1.0' 
name: pipeline-stage-view version: '2.4' 
name: workflow-aggregator version: '2.5' 
name: workflow-api version: '2.8' 
name: workflow-basic-steps version: '2.3' 
name: workflow-cps version: '2.24' 
name: workflow-cps-global-lib version: '2.5' 
name: workflow-durable-task-step version: '2.8' 
name: workflow-job version: '2.9' 
name: workflow-multibranch version: '2.9.2' 
name: workflow-scm-step version: '2.3' 
name: workflow-step-api version: '2.7' 

[JIRA] (JENKINS-40545) NPE in console log when I configure a folder in a folder or a pipeline in a folder

2017-03-08 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40545  
 
 
  NPE in console log when I configure a folder in a folder or a pipeline in a folder   
 

  
 
 
 
 

 
 Probably a bug in some plugin, but TBD which. DescriptorVisibilityFilter should look for null descriptors and log a message but continue. And whatever code is creating this descriptor list should be checking for nulls earlier and logging something more specific.  
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Labels: 
 newbie-friendly  robustness  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https

[JIRA] (JENKINS-40545) NPE in console log when I configure a folder in a folder or a pipeline in a folder

2017-02-06 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40545  
 
 
  NPE in console log when I configure a folder in a folder or a pipeline in a folder   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Comment: 
 Can you provide more details on how to duplicate the problem?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-40545) NPE in console log when I configure a folder in a folder or a pipeline in a folder

2017-02-06 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite edited a comment on  JENKINS-40545  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE in console log when I configure a folder in a folder or a pipeline in a folder   
 

  
 
 
 
 

 
 I am able to duplicate the null pointer exception in h.filterDescriptors without any message from the git plugin.  I believe this is a problem in core, though I could easily be wrong.Steps I take to see the problem:# Clone my docker repository and checkout the lts-with-plugins branch{code}  $ git clone https://github.com/MarkEWaite/docker JENKINS-40545  $ cd JENKINS-40545  $ git checkout -b lts-with-plugins -t origin/lts-with-plugins{code}# Build and run that docker image{code}  $ docker build -t jenkins:JENKINS-40545 .  $ docker run -i --rm --publish 8080:8080 --publish 5:5 --publish 18022:18022 -t jenkins:JENKINS-40545{code}# Open a web browser to http://localhost:8080/# Click the "Git Client Plugin Folder" folder in that web browser# Click the "Git Client Branches - Maven" multi-branch job# Click the "Configure" link in that multi-branch maven job, and watch the console log from the docker imageThe console log reports:{noformat}Feb 06, 2017 6:55:04 PM hudson.ExpressionFactory2$JexlExpression evaluateWARNING: Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /job/Git-Folder/job/git-plugin-freestyle-multi-branch/configure. Reason: java.lang.NullPointerExceptionjava.lang.NullPointerExceptionat hudson.model.DescriptorVisibilityFilter.apply(DescriptorVisibilityFilter.java:72)at hudson.Functions.filterDescriptors(Functions.java:1790)at sun.reflect.GeneratedMethodAccessor437.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)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.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99){noformat}I see the same null pointer exception if I try to configure a folder inside a folder.  For example, the problem happens if I use the following steps:# Click the "Hosting Providers" top level folder# Click the "Assembla" folder# Click the "Configure" link in the Assembla folder (folder in a folder)I don't see that null pointer exception when I configure a freestyle job inside a folder. Just in case this behavior changes from later modifications to my lts-with-plugins branch, I placed a git tag named "[JENKINS-40545|https://github.com/MarkEWaite/docker/releases/tag/JENKINS-40545]" in that repository.  
 

  
 
 
   

[JIRA] (JENKINS-40545) NPE in console log when I configure a folder in a folder or a pipeline in a folder

2017-02-06 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40545  
 
 
  NPE in console log when I configure a folder in a folder or a pipeline in a folder   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 

  
 
 
 
 

 
 A null pointer exception is reported by the jelly code when I try to configure a folder in a folder or a pipeline in a folder.The message is "Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /configure. Reason: java.lang.NullPointerException" Refer to [comment later in this report|https://issues.jenkins-ci.org/browse/JENKINS-40545?focusedCommentId=286511&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-286511] for steps [~markewaite] used to duplicate the problem.{noformat}ERROR: Timeout after 10 minutesERROR: Error cloning remote repo 'origin'hudson.plugins.git.GitException: Command "git fetch --tags --progress http://dev.newtranx.com:18080/git/app/newtranxPT_iOS.git +refs/heads/*:refs/remotes/origin/*" returned status code 143:stdout: stderr:  at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1745) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1489) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:512) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1054) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094) at hudson.scm.SCM.checkout(SCM.java:495) at hudson.model.AbstractProject.checkout(AbstractProject.java:1278) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1720) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404)ERROR: null{noformat}{noformat}Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /configure. Reason: java.lang.NullPointerExceptionjava.lang.NullPointerException at hudson.model.DescriptorVisibilityFilter.apply(DescriptorVisibilityFilter.java:72) at hudson.Functions.filterDescriptors(Functions.java:1790) at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.

[JIRA] (JENKINS-40545) NPE in console log when I configure a folder in a folder or a pipeline in a folder

2017-02-06 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40545  
 
 
  NPE in console log when I configure a folder in a folder or a pipeline in a folder   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Summary: 
 NPE  to  in  console log when I configure a folder in a folder or a pipeline in a folder  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.