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

NPE during Jenkins startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • splunk-devops-plugin
    • None
    • jenkins 2.46 , splunk plugin 1.5.3

      Splunk plugin blocked Jenkins startup due to NPE. Am not what caused this though.

      Marking this as critical since this is blocking Jenkins startup i.e. when accessing jenkins home all we see is below NPE exception.

      I changed value of enabled to 'false' @ <jenkins_home>/com.splunk.splunkjenkins.SplunkJenkinsInstallation.xml to bring back jenkins.

       

      Below is stacktrace

      java.lang.NullPointerException
      at com.splunk.splunkjenkins.utils.SplunkLogService.enqueue(SplunkLogService.java:179)
      at com.splunk.splunkjenkins.utils.SplunkLogService.send(SplunkLogService.java:95)
      at com.splunk.splunkjenkins.JdkSplunkLogHandler.publish(JdkSplunkLogHandler.java:53)
      at java.util.logging.Logger.log(Logger.java:738)
      at java.util.logging.Logger.doLog(Logger.java:765)
      at java.util.logging.Logger.log(Logger.java:876)
      at jenkins.model.Jenkins.<init>(Jenkins.java:988)
      at hudson.model.Hudson.<init>(Hudson.java:86)
      at hudson.model.Hudson.<init>(Hudson.java:82)
      at hudson.WebAppMain$3.run(WebAppMain.java:231)
      Caused: hudson.util.HudsonFailedToLoad
      at hudson.WebAppMain$3.run(WebAppMain.java:248)

            Unassigned Unassigned
            snallami suresh nallamilli
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: