java.lang.NullPointerException

Jenkins JIRA | Larry Shatzer, Jr. | 2 years ago
  1. 0

    After upgrading to 1.7, I get the following when slaves try to connect. {code} ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.NullPointerException at javax.mail.internet.InternetAddress.parse(InternetAddress.java:673) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:633) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:610) at org.jenkinsci.plugins.mailwatcher.MailWatcherMailer.send(MailWatcherMailer.java:120) at org.jenkinsci.plugins.mailwatcher.MailWatcherNotification.send(MailWatcherNotification.java:156) at org.jenkinsci.plugins.mailwatcher.WatcherComputerListener$Notification$Builder.send(WatcherComputerListener.java:176) at org.jenkinsci.plugins.mailwatcher.WatcherComputerListener.onOnline(WatcherComputerListener.java:99) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:512) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:349) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:901) at hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:126) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:658) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:642) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) {code}

    Jenkins JIRA | 2 years ago | Larry Shatzer, Jr.
    java.lang.NullPointerException
  2. 0

    After upgrading to 1.7, I get the following when slaves try to connect. {code} ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.NullPointerException at javax.mail.internet.InternetAddress.parse(InternetAddress.java:673) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:633) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:610) at org.jenkinsci.plugins.mailwatcher.MailWatcherMailer.send(MailWatcherMailer.java:120) at org.jenkinsci.plugins.mailwatcher.MailWatcherNotification.send(MailWatcherNotification.java:156) at org.jenkinsci.plugins.mailwatcher.WatcherComputerListener$Notification$Builder.send(WatcherComputerListener.java:176) at org.jenkinsci.plugins.mailwatcher.WatcherComputerListener.onOnline(WatcherComputerListener.java:99) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:512) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:349) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:901) at hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:126) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:658) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:642) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) {code}

    Jenkins JIRA | 2 years ago | Larry Shatzer, Jr.
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JavaMail Example - Send Mail in Java using SMTP - JournalDev

    journaldev.com | 5 months ago
    java.lang.NullPointerException
  5. 0

    Why I can Send Mail Here -- Plz Help

    Oracle Community | 9 years ago | 843830
    java.lang.NullPointerException
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at javax.mail.internet.InternetAddress.parse()
  2. JavaMail API
    InternetAddress.parse
    1. javax.mail.internet.InternetAddress.parse(InternetAddress.java:673)
    2. javax.mail.internet.InternetAddress.parse(InternetAddress.java:633)
    3. javax.mail.internet.InternetAddress.parse(InternetAddress.java:610)
    3 frames
  3. org.jenkinsci.plugins
    WatcherComputerListener.onOnline
    1. org.jenkinsci.plugins.mailwatcher.MailWatcherMailer.send(MailWatcherMailer.java:120)
    2. org.jenkinsci.plugins.mailwatcher.MailWatcherNotification.send(MailWatcherNotification.java:156)
    3. org.jenkinsci.plugins.mailwatcher.WatcherComputerListener$Notification$Builder.send(WatcherComputerListener.java:176)
    4. org.jenkinsci.plugins.mailwatcher.WatcherComputerListener.onOnline(WatcherComputerListener.java:99)
    4 frames
  4. Hudson
    SlaveComputer.setChannel
    1. hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:512)
    2. hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:349)
    2 frames
  5. hudson.plugins.sshslaves
    SSHLauncher$2.call
    1. hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:901)
    2. hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:126)
    3. hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:658)
    4. hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:642)
    4 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    5. java.lang.Thread.run(Thread.java:619)
    5 frames