[ 
https://issues.jenkins-ci.org/browse/JENKINS-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159239#comment-159239
 ] 

Michael Clarke commented on JENKINS-12807:
------------------------------------------

I'm not sure how you can get a NPE there - File.listFiles() is returning null 
which should only happen if we're calling it on a file rather than a directory, 
which shouldn't be possible in that block of code. I'll put in a null check but 
is there any chance you could upload your job's xml config (obscure any values 
you don't want the world to know)?
                
> CVS plugin throwing Exception every time
> ----------------------------------------
>
>                 Key: JENKINS-12807
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12807
>             Project: Jenkins
>          Issue Type: Bug
>          Components: cvs
>    Affects Versions: current
>         Environment: SLES11
>            Reporter: Mark Trinh
>
> After using the cvs plugin to get changes, it's throwing an exception at the 
> end and never passes.
> cvs rlog: Logging zlib/x64/Release
> FATAL: null
> java.lang.NullPointerException
>       at hudson.scm.CVSSCM$3.buildFileList(CVSSCM.java:922)
>       at hudson.scm.CVSSCM$3.invoke(CVSSCM.java:900)
>       at hudson.scm.CVSSCM$3.invoke(CVSSCM.java:886)
>       at hudson.FilePath.act(FilePath.java:758)
>       at hudson.FilePath.act(FilePath.java:740)
>       at hudson.scm.CVSSCM.getCvsFiles(CVSSCM.java:886)
>       at hudson.scm.CVSSCM.calculateWorkspaceState(CVSSCM.java:869)
>       at hudson.scm.CVSSCM.checkout(CVSSCM.java:836)
>       at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566)
>       at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454)
>       at hudson.model.Run.run(Run.java:1376)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to