[JIRA] [gerrit-trigger-plugin] (JENKINS-27438) Gerrit Trigger NPE causes folder not to load

2015-06-02 Thread alghe.glo...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alexandru Gheorghe updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-27438 
 
 
 
  Gerrit Trigger NPE causes folder not to load  
 
 
 
 
 
 
 
 
 

Change By:
 
 Alexandru Gheorghe 
 
 
 
 
 
 
 
 
 
 Folder containing jobs disappeared. I tried reloading the config from the filesystem option and I still see the same error message. Other team folders are visible and working correctly. Gerrit trigger functionality seems to work as well. I can hit the query and trigger Gerrit Patches link and it works fine.I see in the logs: {noformat} Mar 16, 2015 12:35:20 PM jenkins.InitReactorRunner$1 onTaskFailedSEVERE: Failed Loading job team_xyzjava.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:396) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:124) at hudson.model.AbstractProject.onLoad(AbstractProject.java:325) at hudson.model.Project.onLoad(Project.java:95) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$17.run(Jenkins.java:2656) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:886) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  

[JIRA] [gerrit-trigger-plugin] (JENKINS-27438) Gerrit Trigger NPE causes folder not to load

2015-03-19 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-27438


Gerrit Trigger NPE causes folder not to load















Code changed in jenkins
User: Robert Sandell
Path:
 src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java
http://jenkins-ci.org/commit/gerrit-trigger-plugin/b43acba07674bfb7a2023989a9d7d07822d3f46a
Log:
  Merge pull request #214 from ydubreuil/fix-JENKINS-27438

JENKINS-27438: fix NPE when gerritProjects is null


Compare: https://github.com/jenkinsci/gerrit-trigger-plugin/compare/874cc250031b...b43acba07674




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [gerrit-trigger-plugin] (JENKINS-27438) Gerrit Trigger NPE causes folder not to load

2015-03-19 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-27438


Gerrit Trigger NPE causes folder not to load















Code changed in jenkins
User: Yoann Dubreuil
Path:
 src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java
http://jenkins-ci.org/commit/gerrit-trigger-plugin/9f12892b4f72e63054a6620707ad05e6fbee8a0f
Log:
  JENKINS-27438: fix NPE when gerritProjects is null

This NPE is triggered when saving a job where user deleted all Gerrit
Project filters and checked 'Check Non-Reviewed Patchsets'. The job is
saved anyway.

On Jenkins start, it's also triggered when job is loaded, preventing
such jobs to be loaded.





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [gerrit-trigger-plugin] (JENKINS-27438) Gerrit Trigger NPE causes folder not to load

2015-03-19 Thread yoann.dubre...@gmail.com (JIRA)














































Yoann Dubreuil
 commented on  JENKINS-27438


Gerrit Trigger NPE causes folder not to load















Just made a PR to guard against this NPE: https://github.com/jenkinsci/gerrit-trigger-plugin/pull/214



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [gerrit-trigger-plugin] (JENKINS-27438) Gerrit Trigger NPE causes folder not to load

2015-03-18 Thread rsand...@cloudbees.com (JIRA)














































rsandell
 commented on  JENKINS-27438


Gerrit Trigger NPE causes folder not to load















Have you tried with the latest 2.13.0-beta-x release? The implementation of the start has changed in that version.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [gerrit-trigger-plugin] (JENKINS-27438) Gerrit Trigger NPE causes folder not to load

2015-03-16 Thread stuff4...@gmail.com (JIRA)














































Ben Courliss
 updated  JENKINS-27438


Gerrit Trigger NPE causes folder not to load
















Change By:


Ben Courliss
(16/Mar/15 1:39 PM)




Environment:


Jenkins
 LTS
 1.580.3
,
 (installed standalone using builtin web container)
 Cloudbees enterprise plugins installed
,
 
 Linux RHEL 6.5
,

 Java version "1.7.0_76"
,

 Gerrit Trigger Plugin 2.12.0






Description:


Folder containing jobs disappeared. I
 tried reloading the config from the filesystem option and I still
 see
 the same error message. Other team folders are visible and working correctly. Gerrit trigger functionality seems to work as well. I can hit the query and trigger Gerrit Patches link and it works fine.I see
 in the logs:Mar 16, 2015 12:35:20 PM jenkins.InitReactorRunner$1 onTaskFailedSEVERE: Failed Loading job team_xyzjava.lang.NullPointerException	at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:396)	at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:124)	at hudson.model.AbstractProject.onLoad(AbstractProject.java:325)	at hudson.model.Project.onLoad(Project.java:95)	at hudson.model.Items.load(Items.java:279)	at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)	at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)	at hudson.model.Items.load(Items.java:279)	at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)	at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)	at hudson.model.Items.load(Items.java:279)	at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)	at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)	at hudson.model.Items.load(Items.java:279)	at jenkins.model.Jenkins$17.run(Jenkins.java:2656)	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)	at jenkins.model.Jenkins$7.runTask(Jenkins.java:886)	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [gerrit-trigger-plugin] (JENKINS-27438) Gerrit Trigger NPE causes folder not to load

2015-03-16 Thread stuff4...@gmail.com (JIRA)














































Ben Courliss
 created  JENKINS-27438


Gerrit Trigger NPE causes folder not to load















Issue Type:


Bug



Assignee:


rsandell



Components:


gerrit-trigger-plugin



Created:


16/Mar/15 1:31 PM



Description:


Folder containing jobs disappeared. I see in the logs:

Mar 16, 2015 12:35:20 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading job team_xyz
java.lang.NullPointerException
	at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:396)
	at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:124)
	at hudson.model.AbstractProject.onLoad(AbstractProject.java:325)
	at hudson.model.Project.onLoad(Project.java:95)
	at hudson.model.Items.load(Items.java:279)
	at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)
	at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)
	at hudson.model.Items.load(Items.java:279)
	at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)
	at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)
	at hudson.model.Items.load(Items.java:279)
	at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)
	at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)
	at hudson.model.Items.load(Items.java:279)
	at jenkins.model.Jenkins$17.run(Jenkins.java:2656)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
	at jenkins.model.Jenkins$7.runTask(Jenkins.java:886)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)




Environment:


Jenkins 1.580.3, Cloudbees enterprise plugins installed, Linux RHEL 6.5, Java version "1.7.0_76", Gerrit Trigger Plugin 2.12.0




Project:


Jenkins



Priority:


Critical



Reporter:


Ben Courliss

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.