[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-05-31 Thread costincarai...@gmail.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=163354#comment-163354
 ] 

Costin Caraivan commented on JENKINS-12577:
---

Unfortunately I do not have the build log anymore. From what I remember the 
output was:

Sending email to: $OUR-CONFIGURED-RECIPIENTS

Then nothing and the build would get stuck.
We're not getting the NPE anymore, so you can close this.

 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-05-31 Thread costincarai...@gmail.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=163354#comment-163354
 ] 

Costin Caraivan edited comment on JENKINS-12577 at 5/31/12 10:56 AM:
-

Unfortunately I do not have the build log anymore. From what I remember the 
output was:

Sending email to: $OUR-CONFIGURED-RECIPIENTS

Then nothing and the build would get stuck.
We're not getting the NPE anymore after an upgrade of the Perforce plugin, so 
you can close this.

  was (Author: ccaraivan):
Unfortunately I do not have the build log anymore. From what I remember the 
output was:

Sending email to: $OUR-CONFIGURED-RECIPIENTS

Then nothing and the build would get stuck.
We're not getting the NPE anymore, so you can close this.
  
 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-05-31 Thread costincarai...@gmail.com (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Costin Caraivan resolved JENKINS-12577.
---

Resolution: Cannot Reproduce

Not getting NPEs after an upgrade of the Perforce plugin.

 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-05-22 Thread slide.o....@gmail.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=163090#comment-163090
 ] 

Slide-O-Mix commented on JENKINS-12577:
---

Can you please post the entire build log?

 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-05-16 Thread slide.o....@gmail.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162858#comment-162858
 ] 

Slide-O-Mix commented on JENKINS-12577:
---

Probably similar to JENKINS-13102

 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-04-17 Thread harold.shins...@sap.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=161697#comment-161697
 ] 

shinsato commented on JENKINS-12577:


The fix for 13317 prevented null values for default subject and body fields 
which I thought might be related - but it isn't.

The line of code that is causing a NullPointerException is return line in Slave:

public Launcher createLauncher(TaskListener listener) {
SlaveComputer c = getComputer();
return new RemoteLauncher(listener, c.getChannel(), 
c.isUnix()).decorateFor(this);
}

The only thing that could cause a NPE are the dereferences of c, which is the 
computer. Something has gotten pretty broken in the configuration for 
Slave.getComputer() to return null. I'd agree I doubt this is the email-ext 
plugin.

 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-04-11 Thread scm_issue_l...@java.net (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=161507#comment-161507
 ] 

SCM/JIRA link daemon commented on JENKINS-12577:


Code changed in jenkins
User: Harold Shinsato
Path:
 src/main/java/hudson/plugins/emailext/plugins/ContentBuilder.java
 src/test/java/hudson/plugins/emailext/plugins/ContentBuilderTest.java
http://jenkins-ci.org/commit/email-ext-plugin/90376763efcf7cd00c795d9e9c07c184bc0a7f56
Log:
  Fix for JENKINS-12577- prevent dereferencing null default subject and body 
fields + plus unit test




 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-03-23 Thread slide.o....@gmail.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=160715#comment-160715
 ] 

Slide-O-Mix commented on JENKINS-12577:
---

By the way, 2.17 was a bogus release the full process did not complete. 2.18 
has the changelog info on the wiki page now.

 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-03-23 Thread slide.o....@gmail.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=160714#comment-160714
 ] 

Slide-O-Mix commented on JENKINS-12577:
---

I don't think this is email-ext related, it looks like there is a problem with 
resolving the email address from the perforce plugin. Other people have 
mentioned issues with email resolution with the perforce plugin.

 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-02-06 Thread costincarai...@gmail.com (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Costin Caraivan updated JENKINS-12577:
--

Attachment: template.jelly

Template used.

 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-12577) Email notification hangs due to NullPointerException

2012-02-06 Thread costincarai...@gmail.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=158650#comment-158650
 ] 

Costin Caraivan edited comment on JENKINS-12577 at 2/6/12 9:26 AM:
---

More details: 
Jenkins 1.437
Email-ext plugin: 2.16 (by the way, versions 2.17 and 2.18 don't have 
changelogs listed here: 
https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin)
Perforce plugin: 1.3.4
I will also attach the sanitized Jelly template.

Oh - the setup is distributed. The build is executed on a Windows 2008 slave 
connected through WMI.

  was (Author: ccaraivan):
More details: 
Jenkins 1.437
Email-ext plugin: 2.16 (by the way, versions 2.17 and 2.18 don't have 
changelogs listed here: 
https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin)
Perforce plugin: 1.3.4
I will also attach the sanitized Jelly template.
  
 Email notification hangs due to NullPointerException
 

 Key: JENKINS-12577
 URL: https://issues.jenkins-ci.org/browse/JENKINS-12577
 Project: Jenkins
  Issue Type: Bug
  Components: email-ext
Affects Versions: current
 Environment: Windows 2008 Server x64, Java 1.6.0_25
Reporter: Costin Caraivan
Priority: Blocker
 Attachments: template.jelly


 We have an email notification which uses a Jelly template. So far it worked 
 ok, but recently we started getting these:
 Jan 25, 2012 2:11:23 PM hudson.plugins.emailext.ExtendedEmailPublisher 
 sendMail
 WARNING: Could not send email.
 java.lang.NullPointerException
   at hudson.model.Slave.createLauncher(Slave.java:311)
   at 
 hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:60)
   at 
 hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
   at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:488)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:331)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:251)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243)
   at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:203)
   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
   at 
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
   at 
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
   at hudson.model.Run.run(Run.java:1448)
   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
   at hudson.model.ResourceController.execute(ResourceController.java:88)
   at hudson.model.Executor.run(Executor.java:230)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira