Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8067

NPE in IMPublisher.notifyChats causes build to fail

      ERROR: Publisher hudson.plugins.ircbot.IrcPublisher aborted due to exception
      java.lang.NullPointerException
      at hudson.plugins.im.IMPublisher.notifyChats(IMPublisher.java:430)
      at hudson.plugins.im.IMPublisher.perform(IMPublisher.java:273)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.post2(Build.java:157)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1348)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:139)
      Finished: FAILURE

          [JENKINS-8067] NPE in IMPublisher.notifyChats causes build to fail

          kutzi added a comment -

          What your Hudson and instant-messaging plugin versions?

          Did you migrate from an earlier version of the plugin or is it a clean install?

          kutzi added a comment - What your Hudson and instant-messaging plugin versions? Did you migrate from an earlier version of the plugin or is it a clean install?

          nhb added a comment -

          Hudson version: 1.383 and 1.384
          instant-messaging: 1.10
          Hudson irc plugin: 2.7

          The error is persistent on all following builds after it occurred onces.

          It is an updated version of both hudson and the plugins.

          nhb added a comment - Hudson version: 1.383 and 1.384 instant-messaging: 1.10 Hudson irc plugin: 2.7 The error is persistent on all following builds after it occurred onces. It is an updated version of both hudson and the plugins.

          kutzi added a comment -

          Please look in the job configuration in the IRC section in the 'advanced' section there should be a dropdown boy to select the chat notifying style (summary or summary+SCM).
          Please select one if none is selected already and save the config.

          kutzi added a comment - Please look in the job configuration in the IRC section in the 'advanced' section there should be a dropdown boy to select the chat notifying style (summary or summary+SCM). Please select one if none is selected already and save the config.

          Code changed in hudson
          User: : kutzi
          Path:
          trunk/hudson/plugins/instant-messaging/src/main/java/hudson/plugins/im/IMPublisher.java
          trunk/hudson/plugins/ircbot/src/main/java/hudson/plugins/ircbot/IrcPublisher.java
          http://jenkins-ci.org/commit/36912
          Log:
          [FIXED JENKINS-8001] [FIXED JENKINS-8067] NPE in IrcPublisher because of incomplete deserialization of old instances

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kutzi Path: trunk/hudson/plugins/instant-messaging/src/main/java/hudson/plugins/im/IMPublisher.java trunk/hudson/plugins/ircbot/src/main/java/hudson/plugins/ircbot/IrcPublisher.java http://jenkins-ci.org/commit/36912 Log: [FIXED JENKINS-8001] [FIXED JENKINS-8067] NPE in IrcPublisher because of incomplete deserialization of old instances

          kutzi added a comment -

          Fixed in IrcBot 2.8

          kutzi added a comment - Fixed in IrcBot 2.8

            kutzi kutzi
            nhb nhb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: