continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Ancajas" <jansqua...@gmail.com>
Subject Null pointer in JavaMailSender
Date Mon, 15 Dec 2008 04:24:24 GMT
Hi,

Anybody encountering this problem in trunk   when using group mail
notifier ?  I tried applying my mail settings to Continuum 1.2.2
release version to verify my settings  but it works from there.



2008-12-15 11:07:04,185 [pool-7-thread-1] INFO
taskExecutor#prepare-build-project  - Ending prepare build
2008-12-15 11:07:04,252 [pool-7-thread-1] INFO
org.apache.maven.continuum.notification.mail.MailContinuumNotifier  -
Message Subject: '[continuum] PREPARE BUILD SUCCESSFUL:
scm:svn:<url-removed>'.
2008-12-15 11:07:04,261 [pool-7-thread-1] INFO
org.apache.maven.continuum.notification.mail.MailContinuumNotifier  -
Sending message: From '"Continuum@mi6" <mail-removed>'.
2008-12-15 11:07:09,369 [Thread-12] ERROR
taskQueueExecutor#prepare-build-project  - Error executing task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
java.lang.NullPointerException
	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:301)
	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:120)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
Caused by: java.lang.NullPointerException
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:557)
	at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:403)
	at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:342)
	at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:338)
	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:876)
	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.prepareBuildComplete(MailContinuumNotifier.java:491)
	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:281)
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:196)
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:178)
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.prepareBuildComplete(DefaultContinuumNotificationDispatcher.java:102)
	at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.endPrepareBuild(PrepareBuildProjectsTaskExecutor.java:270)
	at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.executeTask(PrepareBuildProjectsTaskExecutor.java:131)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
	at java.lang.Thread.run(Thread.java:595)



Thanks.

Mime
View raw message