Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=JELLY-106 Here is an overview of the issue: --------------------------------------------------------------------- Key: JELLY-106 Summary: Tag body as message body causes NullPointerException Type: Bug Status: Unassigned Priority: Major Project: jelly Components: taglib.email Assignee: Reporter: Willie Vu Created: Sun, 1 Feb 2004 5:36 PM Updated: Sun, 1 Feb 2004 5:36 PM Description: <email:email server="${maven.check.email.server}" from="${maven.check.email.from}" to="${maven.check.emails}" subject="Unit Test Daily Build Failed"> ${mailContent} </email:email> causes the following exception: org.apache.commons.jelly.JellyTagException: file:/home/wks/timeroot/time/:349:48: <email:email> java.lang.NullPointerException at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:683) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:455) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:534) at org.apache.maven.cli.App.main(App.java:1097) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) Caused by: java.lang.NullPointerException at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:915) at javax.mail.internet.MimeBodyPart.setText(MimeBodyPart.java:812) at javax.mail.internet.MimeMessage.setText(MimeMessage.java:1333) at javax.mail.internet.MimeMessage.setText(MimeMessage.java:1321) at org.apache.commons.jelly.tags.email.EmailTag.doTag(EmailTag.java:277) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) ... 15 more Root cause java.lang.NullPointerException at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:915) at javax.mail.internet.MimeBodyPart.setText(MimeBodyPart.java:812) at javax.mail.internet.MimeMessage.setText(MimeMessage.java:1333) at javax.mail.internet.MimeMessage.setText(MimeMessage.java:1321) at org.apache.commons.jelly.tags.email.EmailTag.doTag(EmailTag.java:277) If message attribute is used as follows, it works. <email:email server="${maven.check.email.server}" from="${maven.check.email.from}" to="${maven.check.emails}" subject="Unit Test Daily Build Failed" message="${mailContent}"> </email:email> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
