[JIRA] [git-plugin] (JENKINS-34165) Null pointer exception polling from git job to bitbucket repo

2016-05-28 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-34165 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Null pointer exception polling from git job to bitbucket repo  
 
 
 
 
 
 
 
 
 
 
Meng Xin Zhu I wasn't able to see this stack trace with a job which was marked as "This build is parameterized" without defining a parameter. Can you describe the specific steps you took to see the problem. 
Steps I tried: 
 

Define a freestyle project
 

Add Git as the SCM system with a valid private bitbucket repository (hosted on bitbucket.org, not publicly visible)
 

Enable "Poll SCM"
 

Poll the SCM
 

Confirm that the git polling log does not contain a stack trace
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-plugin] (JENKINS-34165) Null pointer exception polling from git job to bitbucket repo

2016-05-26 Thread kane...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Meng Xin Zhu commented on  JENKINS-34165 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Null pointer exception polling from git job to bitbucket repo  
 
 
 
 
 
 
 
 
 
 
I am able to reproduce the same exception when building a job only checking option 'This build is parameterized' without defining any certain parameter. 
jenkins ver, 1.651.2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-plugin] (JENKINS-34165) Null pointer exception polling from git job to bitbucket repo

2016-05-06 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-34165 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Null pointer exception polling from git job to bitbucket repo  
 
 
 
 
 
 
 
 
 
 
Looking at the code, it might be that the slave which last built that job has ceased to exist. Any chance in your use case that you have slaves which exist for a build, but then are deleted before the next build of that job? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-plugin] (JENKINS-34165) Null pointer exception polling from git job to bitbucket repo

2016-04-12 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-34165 
 
 
 
  Null pointer exception polling from git job to bitbucket repo  
 
 
 
 
 
 
 
 
 

Change By:
 
 Mark Waite 
 
 
 

Summary:
 
 Null pointer exception polling from git job  accessing  to  bitbucket repo 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-plugin] (JENKINS-34165) Null pointer exception polling from git job accessing bitbucket repo

2016-04-12 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-34165 
 
 
 
  Null pointer exception polling from git job accessing bitbucket repo  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Mark Waite 
 
 
 

Components:
 

 git-plugin 
 
 
 

Created:
 

 2016/Apr/12 11:43 AM 
 
 
 

Environment:
 

 Git plugin 2.4.4  Git client plugin 1.19.6  Jenkins 1.642.4  Ubuntu 14.04 master with various slaves 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Mark Waite 
 
 
 
 
 
 
 
 
 
 
A stack trace was reported to /var/log/jenkins/jenkins.log that shows a null pointer exception in pollnig from either the git plugin or the git client plugin. 

 
Apr 10, 2016 4:27:00 AM hudson.triggers.SCMTrigger$Runner runPolling
SEVERE: Failed to record SCM polling for hudson.matrix.MatrixProject@4616ca95[JENKINS-22119-bitbucket-credentialed-clone-fails]
java.lang.NullPointerException
at hudson.plugins.git.util.GitUtils.getPollEnvironment(GitUtils.java:220)
at hudson.plugins.git.util.GitUtils.getPollEnvironment(GitUtils.java:194)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:684)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:571)
at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)
at hudson.scm.SCM.poll(SCM.java:398)
at