ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PASSIGNAT STEPHANE <STEPHANE.PASSIG...@sgam.com>
Subject mail target
Date Thu, 06 Jun 2002 17:05:14 GMT
Hello,

I've a problem with the target mail. 

java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.email.Message.print(Message.java)
        at
org.apache.tools.ant.taskdefs.email.PlainMailer.send(PlainMailer.java)
        at
org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java)
        at org.apache.tools.ant.Task.perform(Task.java)
        at org.apache.tools.ant.Target.execute(Target.java)
        at org.apache.tools.ant.Target.performTasks(Target.java)
        at org.apache.tools.ant.Project.executeTarget(Project.java)
        at org.apache.tools.ant.Project.executeTargets(Project.java)
        at org.apache.tools.ant.Main.runBuild(Main.java)
        at org.apache.tools.ant.Main.start(Main.java)
        at org.apache.tools.ant.Main.main(Main.java)

ant code : 

	<target name="mailme" >
		<mail from="${mail_from}" mailhost="${mailhost}"
tolist="${listemail}" messagemimetype="text/plain" encoding="plain"
			subject="[${revision}] ${project}" 
			message="pi=3.14"/>
	</target>


does anybody knows what to do ?

Stephane


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message