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

IRC Connection fails with NullPointerException on startup since 2.24

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ircbot-plugin
    • Labels:
    • Environment:
      Gentoo Linux amd64, java7u51 or java8(tested with both), jenkins 1.557, im plugin 1.28
    • Similar Issues:

      Description

      Since the 2.24 update the ircbot fails to connect on jenkins startup.
      It just writes NullPointerException into the log, the same happens on each automatic retry.
      I figured out that it successfuly and imediately connects if i go to the main settings page and just hit Save.

        Attachments

          Activity

          btbn Timo R. created issue -
          btbn Timo R. made changes -
          Field Original Value New Value
          Environment Gentoo Linux amd64, java7u51 or java8(tested with both) Gentoo Linux amd64, java7u51 or java8(tested with both), jenkins 1.557, im plugin 1.28
          Hide
          kutzi kutzi added a comment -

          Please post the complete NullPointerException including stacktrace from the log!

          Show
          kutzi kutzi added a comment - Please post the complete NullPointerException including stacktrace from the log!
          Hide
          btbn Timo R. added a comment -

          There is no stacktrace in the log, only this:

          Apr 02, 2014 9:57:41 PM hudson.plugins.ircbot.v2.IRCConnection connect
          WARNING: Error connecting to irc: java.lang.NullPointerException

          There are traces of some other, unrelated, exceptions, but this one does not generate a trace.

          Show
          btbn Timo R. added a comment - There is no stacktrace in the log, only this: Apr 02, 2014 9:57:41 PM hudson.plugins.ircbot.v2.IRCConnection connect WARNING: Error connecting to irc: java.lang.NullPointerException There are traces of some other, unrelated, exceptions, but this one does not generate a trace.
          Hide
          kutzi kutzi added a comment -

          Are you willing to try a probably fixed plugin: https://dl.dropboxusercontent.com/u/25863594/ircbot.hpi ?

          Show
          kutzi kutzi added a comment - Are you willing to try a probably fixed plugin: https://dl.dropboxusercontent.com/u/25863594/ircbot.hpi ?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          src/main/java/hudson/plugins/ircbot/v2/IRCConnection.java
          http://jenkins-ci.org/commit/ircbot-plugin/50754eab3ebb96c426f513c14e6996ce927e1618
          Log:
          Should fix NPE on connection JENKINS-22478

          Compare: https://github.com/jenkinsci/ircbot-plugin/compare/a550171e27bf...50754eab3ebb

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: src/main/java/hudson/plugins/ircbot/v2/IRCConnection.java http://jenkins-ci.org/commit/ircbot-plugin/50754eab3ebb96c426f513c14e6996ce927e1618 Log: Should fix NPE on connection JENKINS-22478 Compare: https://github.com/jenkinsci/ircbot-plugin/compare/a550171e27bf...50754eab3ebb
          Hide
          btbn Timo R. added a comment -

          Yes, with that plugin it automaticaly connects on startup again.

          Show
          btbn Timo R. added a comment - Yes, with that plugin it automaticaly connects on startup again.
          Hide
          kutzi kutzi added a comment -

          Thanks for testing.

          Fixed in 2.25

          Show
          kutzi kutzi added a comment - Thanks for testing. Fixed in 2.25
          kutzi kutzi made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 154579 ] JNJira + In-Review [ 194955 ]

            People

            • Assignee:
              kutzi kutzi
              Reporter:
              btbn Timo R.
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: