java.lang.NullPointerException

Jenkins JIRA | kutzi | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    After a successfull maven2 build the following exception is coming up. The exception is reproducible in all maven build jobs. Theses errors occurred after upgrading to 1.383 . Did a downgrade to 1.38.2. But still the sames errors. Maybe it is just a coincidence. 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.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:595) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1304) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) FATAL: null java.lang.NullPointerException at java.lang.String.startsWith(String.java:1421) at java.lang.String.startsWith(String.java:1450) at hudson.maven.MavenModuleSetBuild$1.isDescendantOf(MavenModuleSetBuild.java:178) at hudson.maven.MavenModuleSetBuild$1.<init>(MavenModuleSetBuild.java:147) at hudson.maven.MavenModuleSetBuild.getChangeSetFor(MavenModuleSetBuild.java:141) at hudson.maven.FilteredChangeLogSet.<init>(FilteredChangeLogSet.java:51) at hudson.maven.MavenBuild.getChangeSet(MavenBuild.java:161) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:315) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1255) at hudson.model.User.getProjects(User.java:381) at hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor(SubversionMailAddressResolverImpl.java:20) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:97) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:496) at hudson.tasks.MailSender.buildCulpritList(MailSender.java:380) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:345) at hudson.tasks.MailSender.createFailureMail(MailSender.java:219) at hudson.tasks.MailSender.getMail(MailSender.java:146) at hudson.tasks.MailSender.execute(MailSender.java:94) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:619) at hudson.model.Run.run(Run.java:1323) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) Any Idea ? Cheers Sisko

    Jenkins JIRA | 6 years ago | sisko255
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    After a successfull maven2 build the following exception is coming up. The exception is reproducible in all maven build jobs. Theses errors occurred after upgrading to 1.383 . Did a downgrade to 1.38.2. But still the sames errors. Maybe it is just a coincidence. 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.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:595) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1304) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) FATAL: null java.lang.NullPointerException at java.lang.String.startsWith(String.java:1421) at java.lang.String.startsWith(String.java:1450) at hudson.maven.MavenModuleSetBuild$1.isDescendantOf(MavenModuleSetBuild.java:178) at hudson.maven.MavenModuleSetBuild$1.<init>(MavenModuleSetBuild.java:147) at hudson.maven.MavenModuleSetBuild.getChangeSetFor(MavenModuleSetBuild.java:141) at hudson.maven.FilteredChangeLogSet.<init>(FilteredChangeLogSet.java:51) at hudson.maven.MavenBuild.getChangeSet(MavenBuild.java:161) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:315) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1255) at hudson.model.User.getProjects(User.java:381) at hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor(SubversionMailAddressResolverImpl.java:20) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:97) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:496) at hudson.tasks.MailSender.buildCulpritList(MailSender.java:380) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:345) at hudson.tasks.MailSender.createFailureMail(MailSender.java:219) at hudson.tasks.MailSender.getMail(MailSender.java:146) at hudson.tasks.MailSender.execute(MailSender.java:94) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:619) at hudson.model.Run.run(Run.java:1323) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) Any Idea ? Cheers Sisko

    Jenkins JIRA | 6 years ago | sisko255
    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 hudson.plugins.im.IMPublisher.getUpstreamBuilds()
    2. Hudson instant-messaging plugin
      IMPublisher.perform
      1. hudson.plugins.im.IMPublisher.getUpstreamBuilds(IMPublisher.java:463)
      2. hudson.plugins.im.IMPublisher.getUpstreamBuildsSinceLastStable(IMPublisher.java:435)
      3. hudson.plugins.im.IMPublisher.getNearestUpstreamCommitters(IMPublisher.java:411)
      4. hudson.plugins.im.IMPublisher.notifyUpstreamCommitters(IMPublisher.java:364)
      5. hudson.plugins.im.IMPublisher.perform(IMPublisher.java:324)
      5 frames
    3. Hudson
      AbstractBuild$AbstractRunner.performAllBuildSteps
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582)
      3 frames
    4. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.cleanUp
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:675)
      1 frame
    5. Hudson
      Run.run
      1. hudson.model.Run.run(Run.java:1408)
      1 frame
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:145)
      2 frames