java.lang.NullPointerException

Jenkins JIRA | Imesh Gunaratne | 3 years ago
  1. 0

    v1.544 breaks email notification in maven jobs

    Google Groups | 3 years ago | Fritz Elfert
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Since I updated to the version 1.549 of Jenkins I cant modify the send of email. I have the plugin Jenkins Mailer Plugin in the last version (1.8). When I write one email and save the config job, this new email is not saved in Jenkins. I attached the trace error when the job compile {code} ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.NullPointerException at java.util.StringTokenizer.<init>(StringTokenizer.java:182) at java.util.StringTokenizer.<init>(StringTokenizer.java:219) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:326) at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:175) at hudson.tasks.MailSender.getMail(MailSender.java:166) at hudson.tasks.MailSender.execute(MailSender.java:100) at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:55) at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:760) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) project=hudson.maven.MavenModuleSet@b4aae68[a.juridica - deploy] project.getModules()=[hudson.maven.MavenModule@785b7615[a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos][a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos][relativePath:], hudson.maven.MavenModule@6300a770[a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-common][a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-common][relativePath:asuntos-juridicos-common], hudson.maven.MavenModule@47ae0dd[a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-dto][a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-dto][relativePath:asuntos-juridicos-dto], hudson.maven.MavenModule@57464ad4[a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-logica][a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-logica][relativePath:asuntos-juridicos-logica], hudson.maven.MavenModule@4b3343fa[a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-presentacion][a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-presentacion][relativePath:asuntos-juridicos-presentacion], hudson.maven.MavenModule@25537674[a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-rpc][a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos-rpc][relativePath:asuntos-juridicos-rpc]] project.getRootModule()=hudson.maven.MavenModule@785b7615[a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos][a.juridica - deploy/com.abengoa.simosait.asuntos-juridicos:asuntos-juridicos][relativePath:] FATAL: null java.lang.NullPointerException at java.util.StringTokenizer.<init>(StringTokenizer.java:182) at java.util.StringTokenizer.<init>(StringTokenizer.java:219) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:326) at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:175) at hudson.tasks.MailSender.getMail(MailSender.java:166) at hudson.tasks.MailSender.execute(MailSender.java:100) at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:55) at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:760) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) {code}

    Jenkins JIRA | 3 years ago | Eduardo Murillo
    java.lang.NullPointerException
  4. 0

    [JENKINS] Archiving /jenkins/local/jenkins/workspace/{tap}-tap/spi-impl/target/tap-spi-impl.jar to /jenkins/local/jenkins/jobs/{tap}-tap/modules/com.livenation.tap$tap-spi-impl/builds/2014-06-05_10-21-12/archive/com.livenation.tap/tap-spi-impl/2.35.0.1-SNAPSHOT/tap-spi-impl-2.35.0.1-SNAPSHOT.jar Waiting for Jenkins to finish collecting data ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.NullPointerException at java.util.StringTokenizer.<init>(StringTokenizer.java:182) at java.util.StringTokenizer.<init>(StringTokenizer.java:219) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:328) at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:177) at hudson.tasks.MailSender.getMail(MailSender.java:168) at hudson.tasks.MailSender.execute(MailSender.java:100) at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:55) at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:818) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1592) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:508) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) project=hudson.maven.MavenModuleSet@7b9892fe[{tap}-tap] project.getModules()=[hudson.maven.MavenModule@6a35df58[{tap}-tap/com.livenation.tap:event-db-service][{tap}-tap/com.livenation.tap:event-db-service][relativePath:event-db-service], hudson.maven.MavenModule@76da40e1[{tap}-tap/com.livenation.tap:ism-model][{tap}-tap/com.livenation.tap:ism-model][relativePath:ism-model], hudson.maven.MavenModule@72d9b0bc[{tap}-tap/com.livenation.tap:jetson-interfaces][{tap}-tap/com.livenation.tap:jetson-interfaces][relativePath:jetson-interfaces], hudson.maven.MavenModule@31e2418c[{tap}-tap/com.livenation.tap:jetson-interfaces-impl][{tap}-tap/com.livenation.tap:jetson-interfaces-impl][relativePath:jetson-interfaces-impl], hudson.maven.MavenModule@7d3d67e9[{tap}-tap/com.livenation.tap:member-db-domain][{tap}-tap/com.livenation.tap:member-db-domain][relativePath:member-db-domain], hudson.maven.MavenModule@4a71323b[{tap}-tap/com.livenation.tap:mfx-db-service][{tap}-tap/com.livenation.tap:mfx-db-service][relativePath:mfx-db-service], hudson.maven.MavenModule@4d98e5ab[{tap}-tap/com.livenation.tap:mobile-push-services][{tap}-tap/com.livenation.tap:mobile-push-services][relativePath:mobile-push-services], hudson.maven.MavenModule@710e6559[{tap}-tap/com.livenation.tap:odb-service][{tap}-tap/com.livenation.tap:odb-service][relativePath:odb-db-service], hudson.maven.MavenModule@681ff00b[{tap}-tap/com.livenation.tap:script-pkg][{tap}-tap/com.livenation.tap:script-pkg][relativePath:script-pkg], hudson.maven.MavenModule@8c89795[{tap}-tap/com.livenation.tap:tap-assembly][{tap}-tap/com.livenation.tap:tap-assembly][relativePath:assembly], hudson.maven.MavenModule@2957bbb4[{tap}-tap/com.livenation.tap:tap-common][{tap}-tap/com.livenation.tap:tap-common][relativePath:common], hudson.maven.MavenModule@3ee43ba0[{tap}-tap/com.livenation.tap:tap-fss][{tap}-tap/com.livenation.tap:tap-fss][relativePath:fss], hudson.maven.MavenModule@7a06a5a1[{tap}-tap/com.livenation.tap:tap-jar][{tap}-tap/com.livenation.tap:tap-jar][relativePath:services], hudson.maven.MavenModule@4a642b9d[{tap}-tap/com.livenation.tap:tap-parent][{tap}-tap/com.livenation.tap:tap-parent][relativePath:], hudson.maven.MavenModule@766b7692[{tap}-tap/com.livenation.tap:tap-solr][{tap}-tap/com.livenation.tap:tap-solr][relativePath:tap-solr], hudson.maven.MavenModule@935a7fb[{tap}-tap/com.livenation.tap:tap-spi][{tap}-tap/com.livenation.tap:tap-spi][relativePath:spi], hudson.maven.MavenModule@21a75476[{tap}-tap/com.livenation.tap:tap-spi-impl][{tap}-tap/com.livenation.tap:tap-spi-impl][relativePath:spi-impl], hudson.maven.MavenModule@709a203c[{tap}-tap/com.livenation.tap:tap-test-properties][{tap}-tap/com.livenation.tap:tap-test-properties][relativePath:test-props], hudson.maven.MavenModule@16ba7ce5[{tap}-tap/com.livenation.tap:tap-util][{tap}-tap/com.livenation.tap:tap-util][relativePath:util], hudson.maven.MavenModule@6046cf71[{tap}-tap/com.livenation.tap:tap-vme-test-service][{tap}-tap/com.livenation.tap:tap-vme-test-service][relativePath:tap-vme-test-service], hudson.maven.MavenModule@48dd3518[{tap}-tap/com.livenation.tap:tap-web][{tap}-tap/com.livenation.tap:tap-web][relativePath:war], hudson.maven.MavenModule@32c8e007[{tap}-tap/com.livenation.tap:throttling][{tap}-tap/com.livenation.tap:throttling][relativePath:throttling], hudson.maven.MavenModule@21ec059d[{tap}-tap/com.ticketmaster.cardinal:cardinal-client][{tap}-tap/com.ticketmaster.cardinal:cardinal-client][relativePath:cardinal-client], hudson.maven.MavenModule@e6497d1[{tap}-tap/com.ticketmaster.commerce:corch-client][{tap}-tap/com.ticketmaster.commerce:corch-client][relativePath:corch-client], hudson.maven.MavenModule@6e2b21b8[{tap}-tap/com.ticketmaster.tap:channel-client][{tap}-tap/com.ticketmaster.tap:channel-client][relativePath:channel-client], hudson.maven.MavenModule@51b2ef89[{tap}-tap/com.ticketmaster.tap:tap-test-client][{tap}-tap/com.ticketmaster.tap:tap-test-client][relativePath:tap-test-client]] project.getRootModule()=hudson.maven.MavenModule@4a642b9d[{tap}-tap/com.livenation.tap:tap-parent][{tap}-tap/com.livenation.tap:tap-parent][relativePath:] FATAL: null java.lang.NullPointerException at java.util.StringTokenizer.<init>(StringTokenizer.java:182) at java.util.StringTokenizer.<init>(StringTokenizer.java:219) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:328) at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:177) at hudson.tasks.MailSender.getMail(MailSender.java:168) at hudson.tasks.MailSender.execute(MailSender.java:100) at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:55) at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:818) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1592) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:508) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237)

    Jenkins JIRA | 3 years ago | mark bordelon
    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 java.util.StringTokenizer.<init>()
    2. Java RT
      StringTokenizer.<init>
      1. java.util.StringTokenizer.<init>(StringTokenizer.java:199)
      2. java.util.StringTokenizer.<init>(StringTokenizer.java:236)
      2 frames
    3. Hudson
      MailSender.execute
      1. hudson.tasks.MailSender.createEmptyMail(MailSender.java:326)
      2. hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:175)
      3. hudson.tasks.MailSender.getMail(MailSender.java:168)
      4. hudson.tasks.MailSender.execute(MailSender.java:100)
      4 frames
    4. Legacy Maven 2 job type Plugin
      MavenMailer.end
      1. hudson.maven.reporters.MavenMailer.end(MavenMailer.java:56)
      1 frame
    5. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103)
      2. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:829)
      2 frames
    6. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      2. hudson.model.Run.execute(Run.java:1678)
      2 frames
    7. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:231)
      2 frames