[Anthill-pro] Error using Simple Workflow Email
Template(changelog)
Curley, Patrick
pcurley at ecmc.org
Mon Oct 15 10:05:54 CDT 2007
Build Success.
-----Original Message-----
From: anthill-pro-bounces at caladin.urbancode.com
[mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Ryan
Smith
Sent: Monday, October 15, 2007 9:01 AM
To: AnthillPro user and support list.
Cc: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Error using Simple Workflow Email
Template(changelog)
Patrick, what is the event that you are notifying on? You are using this
in a notification scheme, correct?
Ryan Smith
Curley, Patrick wrote:
> I am using your notification template (_Simple Workflow Email Template
> (changelog)_
>
<http://mnsvlcvsp001:9090/tasks/admin/templates/TemplateTasks/viewTempla
te?template_id=-2>)
> and I am getting the error message below. I'm using _anthillpro_
> <http://www.anthillpro.com/>(Version 3.2.1.b112). The subjectline of
> the email is:* Workflow: $project.Name - $workflow.Name
> ($workflow.BuildLife.LatestStampValue): $workflow.Status.Name**.*
>
> This is part of a generic job that successfully builds my code, the
> email notification just doesn't work, any ideas?
>
>
> Pat Curley
>
>
>
> 2007-10-15 08:35:18,184 ERROR 297 4 0 - Error executing script:
> org.apache.bsf.BSFException: The application script threw an
exception:
> java.lang.NullPointerException BSF info: noFile at line: 15
>
> com.urbancode.anthill3.runtime.scripting.ScriptException:
> org.apache.bsf.BSFException: The application script threw an
exception:
> java.lang.NullPointerException BSF info: noFile at line: 15
>
> at
>
com.urbancode.anthill3.runtime.scripting.ScriptEvaluator.doEvaluate(Scri
ptEvaluator.java:98)
>
> at
>
com.urbancode.anthill3.runtime.scripting.ScriptEvaluator.evaluate(Script
Evaluator.java:40)
>
> at
>
com.urbancode.anthill3.services.template.TemplateApplication.writeTempla
teApplication(TemplateApplication.java:179)
>
> at
>
com.urbancode.anthill3.services.template.TemplateApplication.getString(T
emplateApplication.java:133)
>
> at
>
com.urbancode.anthill3.command.publishers.emailnotifier.EmailNotifierCom
mandBuilder.buildSendEmailCommand(EmailNotifierCommandBuilder.java:55)
>
> at
>
com.urbancode.anthill3.step.publisher.email.EmailNotifierStep.perform(Em
ailNotifierStep.java:64)
>
> at
>
com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.j
ava:269)
>
> at
>
com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.j
ava:342)
>
> at
>
com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(Simp
leAgentJobDelegate.java:193)
>
> at
com.urbancode.anthill3.services.jobs.Job.start(Job.java:116)
>
> at
>
com.urbancode.anthill3.services.jobs.JobService$JobRunner.run(JobService
.java:423)
>
> at
>
com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:1
67)
>
> Caused by: org.apache.bsf.BSFException: The application script threw
an
> exception: java.lang.NullPointerException BSF info: noFile at line: 15
>
> at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
>
> at org.apache.bsf.BSFManager$5.run(Unknown Source)
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at org.apache.bsf.BSFManager.eval(Unknown Source)
>
> at
>
com.urbancode.anthill3.runtime.scripting.ScriptEvaluator.doEvaluate(Scri
ptEvaluator.java:95)
>
> ... 11 more
>
> 2007-10-15 08:35:18,186 ERROR 297 4 0 - RHS of #set statement is null.
> Context will not be modified. null [line 1, column 1]
>
> 2007-10-15 08:35:18,186 WARN 297 4 0 -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = null [line 3,column 11] : $project.Name is not a valid
reference.
>
> 2007-10-15 08:35:18,186 WARN 297 4 0 -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = null [line 3,column 27] : $workflow.Name is not a valid
> reference.
>
> 2007-10-15 08:35:18,186 WARN 297 4 0 -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = null [line 4,column 2] :
$workflow.BuildLife.LatestStampValue
> is not a valid reference.
>
> 2007-10-15 08:35:18,186 WARN 297 4 0 -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = null [line 8,column 3] : $workflow.Status.Name is not a
valid
> reference.
>
> 2007-10-15 08:35:18,204 ERROR 297 4 0 - Error executing script:
> org.apache.bsf.BSFException: The application script threw an
exception:
> java.lang.NullPointerException BSF info: noFile at line: 15
>
> com.urbancode.anthill3.runtime.scripting.ScriptException:
> org.apache.bsf.BSFException: The application script threw an
exception:
> java.lang.NullPointerException BSF info: noFile at line: 15
>
> at
>
com.urbancode.anthill3.runtime.scripting.ScriptEvaluator.doEvaluate(Scri
ptEvaluator.java:98)
>
> at
>
com.urbancode.anthill3.runtime.scripting.ScriptEvaluator.evaluate(Script
Evaluator.java:40)
>
> at
>
com.urbancode.anthill3.services.template.TemplateApplication.writeTempla
teApplication(TemplateApplication.java:179)
>
> at
>
com.urbancode.anthill3.services.template.TemplateApplication.writeTo(Tem
plateApplication.java:203)
>
> at
>
com.urbancode.anthill3.command.publishers.emailnotifier.SendEmailCommand
.execute(SendEmailCommand.java:101)
>
> at
>
com.urbancode.anthill3.step.publisher.email.EmailNotifierStep.perform(Em
ailNotifierStep.java:67)
>
> at
>
com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.j
ava:269)
>
> at
>
com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.j
ava:342)
>
> at
>
com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(Simp
leAgentJobDelegate.java:193)
>
> at
com.urbancode.anthill3.services.jobs.Job.start(Job.java:116)
>
> at
>
com.urbancode.anthill3.services.jobs.JobService$JobRunner.run(JobService
.java:423)
>
> at
>
com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:1
67)
>
> Caused by: org.apache.bsf.BSFException: The application script threw
an
> exception: java.lang.NullPointerException BSF info: noFile at line: 15
>
> at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
>
> at org.apache.bsf.BSFManager$5.run(Unknown Source)
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at org.apache.bsf.BSFManager.eval(Unknown Source)
>
> at
>
com.urbancode.anthill3.runtime.scripting.ScriptEvaluator.doEvaluate(Scri
ptEvaluator.java:95)
>
> ... 11 more
>
> 2007-10-15 08:35:18,211 WARN 297 4 0 -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = null [line 65,column 16] : $workflow.Name is not a valid
> reference.
>
>
>
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
--
===========================================================
Ryan Smith. 2044 Euclid Ave., Suite 600
Lead Developer Cleveland, Ohio 44115
Urbancode, Inc.
email: rws at urbancode.com
web: www.urbancode.com phone: 216-858-9000
web: www.anthillpro.com fax: 216-858-9602
===========================================================
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list