[JIRA] [gerrit-trigger] (JENKINS-21036) NullPointerException in StreamWatchdog when trying to stop/restart
Lasse Bigum created JENKINS-21036 NullPointerException in StreamWatchdog when trying to stop/restart Issue Type: Bug Assignee: rsandell Attachments: gerrit_trigger_npe_log.txt Components: gerrit-trigger Created: 17/Dec/13 10:03 AM Description: The Jenkins master has been running for about 2 months now and the Gerrit trigger plug-in has been working well. We see these NPE problems with intervals (I have attached the log) after we see the Gerrit Trigger no longer being able to connect to the Gerrit server, so we try to restart the Gerrit Trigger: {{Dec 17, 2013 10:26:37 AM com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement$DescriptorImpl doRestartConnection SEVERE: Could not restart connection. java.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.gerritevents.watchdog.StreamWatchdog.shutdown(StreamWatchdog.java:131) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.shutdown(GerritHandler.java:850) at com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl.stopConnection(PluginImpl.java:283) at com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl.restartConnection(PluginImpl.java:299) at com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement$DescriptorImpl.doRestartConnection(GerritManagement.java:154)}} In the Gerrit Trigger plug-in page it says this: ??The connection to Gerrit is down! Check your settings and the Gerrit server. Since the connection is down, Jenkins cannot determine the Gerrit version. So all Gerrit features have been enabled.?? I can, however, easily press the "Test connection" button and have that work. Environment: Jenkins 1.512, Gerrit-Trigger 2.10.1, Git 1.4.4, Gerrit server running 2.5.3 Project: Jenkins Labels: plugin trigger gerrit npe nullpointer Priority: Critical Reporter: Lasse Bigum 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/groups/opt_out.
[JIRA] [gerrit-trigger] (JENKINS-21036) NullPointerException in StreamWatchdog when trying to stop/restart
Lasse Bigum updated JENKINS-21036 NullPointerException in StreamWatchdog when trying to stop/restart Change By: Lasse Bigum (17/Dec/13 10:05 AM) Description: TheJenkinsmasterhasbeenrunningforabout2monthsnowandtheGerrittriggerplug-inhasbeenworkingwell.WeseetheseNPEproblemswithintervals(Ihaveattachedthelog)afterweseetheGerritTriggernolongerbeingabletoconnecttotheGerritserver,sowetrytorestarttheGerritTrigger: {{ Dec17,201310:26:37AMcom.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement$DescriptorImpldoRestartConnectionSEVERE:Couldnotrestartconnection.java.lang.NullPointerException atcom.sonyericsson.hudson.plugins.gerrit.gerritevents.watchdog.StreamWatchdog.shutdown(StreamWatchdog.java:131) atcom.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.shutdown(GerritHandler.java:850) atcom.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl.stopConnection(PluginImpl.java:283) atcom.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl.restartConnection(PluginImpl.java:299) atcom.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement$DescriptorImpl.doRestartConnection(GerritManagement.java:154) }} IntheGerritTriggerplug-inpageitsaysthis: ?? TheconnectiontoGerritisdown!CheckyoursettingsandtheGerritserver.Sincetheconnectionisdown,JenkinscannotdeterminetheGerritversion.SoallGerritfeatureshavebeenenabled. ?? Ican,however,easilypresstheTestconnectionbuttonandhavethatwork. 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/groups/opt_out.
[JIRA] [gerrit-trigger] (JENKINS-21036) NullPointerException in StreamWatchdog when trying to stop/restart
Lasse Bigum commented on JENKINS-21036 NullPointerException in StreamWatchdog when trying to stop/restart The Gerrit server and Jenkins server are on different servers, and as stated, it runs fines for weeks and even months on end, and then fails like this. The Gerrit server is 2.5.3 so it is not related to the new stream-events permission. 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/groups/opt_out.