I'm trying to create an action to run a report on a schedule and then email it. I've got an xaction that runs the report and emails it and one that schedules the other xaction. If I run the report xaction directly from the solution repository, it works fine. However, when the scheduler tries to run it, either because I click Run Now or at it's scheduled time, it fails with the following trace. Note: I've used BIRT to create the report as it's less frustrating to work with that the native Pentaho tools. This may be a BIRT issue because I see their packages in the trace. However, since it works outside the scheduler, I figure there may be a problem with Pentaho or my xaction to schedule the job.

10:55:10,348 ERROR [STDERR] java.lang.NullPointerException
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.encodeHtmlText(Temp
lateExecutor.java:139)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.visitValue(Template
Executor.java:131)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.core.template.TextTemplate$ValueNode.accept(TextTemplate.java:149)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.execute(TemplateExe
cutor.java:76)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.executeTemplate(L
ocalizedContentVisitor.java:161)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processTemplateCo
ntent(LocalizedContentVisitor.java:461)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(Loca
lizedContentVisitor.java:341)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java
:52)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(Localize
dContentVisitor.java:107)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localizeAllChildr
en(LocalizedContentVisitor.java:120)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localizeAllChildr
en(LocalizedContentVisitor.java:121)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitPage(Localiz
edContentVisitor.java:129)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.content.impl.PageContent.accept(PageContent.java:98)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(Localize
dContentVisitor.java:107)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor.createP
age(LocalizedReportExecutor.java:61)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.start(HTMLPageLM.java:181)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layoutChildren(HTMLPageLM.java:
135)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:81)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLa
youtEngine.java:80)
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:18
7)
10:55:10,348 ERROR [STDERR] at org.pentaho.plugin.eclipsebirt.BIRTReportComponent.generateReport(BIRTReportComponent
.java:451)
10:55:10,348 ERROR [STDERR] at org.pentaho.plugin.eclipsebirt.BIRTReportComponent.executeAction(BIRTReportComponent.
java:269)
10:55:10,348 ERROR [STDERR] at org.pentaho.plugin.ComponentBase.execute(ComponentBase.java:454)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1122)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeAction(RuntimeContext.java:1094)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.performActions(RuntimeContext.java:1006)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeLoop(RuntimeContext.java:961)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContext.java:864)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContext.java:768)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.solution.SolutionEngine.executeInternal(SolutionEngine.java:333)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:241)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:169)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.j
ava:150)
10:55:10,348 ERROR [STDERR] at org.pentaho.plugin.quartz.QuartzExecute.execute(QuartzExecute.java:169)
10:55:10,348 ERROR [STDERR] at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
10:55:10,348 ERROR [STDERR] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
10:55:10,348 ERROR [STDERR] org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report
10:55:10,348 ERROR [STDERR] at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:19
8)
10:55:10,348 ERROR [STDERR] at org.pentaho.plugin.eclipsebirt.BIRTReportComponent.generateReport(BIRTReportComponent
.java:451)
10:55:10,348 ERROR [STDERR] at org.pentaho.plugin.eclipsebirt.BIRTReportComponent.executeAction(BIRTReportComponent.
java:269)
10:55:10,348 ERROR [STDERR] at org.pentaho.plugin.ComponentBase.execute(ComponentBase.java:454)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1122)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeAction(RuntimeContext.java:1094)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.performActions(RuntimeContext.java:1006)
10:55:10,348 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeLoop(RuntimeContext.java:961)
10:55:10,364 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContext.java:864)
10:55:10,364 ERROR [STDERR] at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContext.java:768)
10:55:10,364 ERROR [STDERR] at org.pentaho.core.solution.SolutionEngine.executeInternal(SolutionEngine.java:333)
10:55:10,364 ERROR [STDERR] at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:241)
10:55:10,364 ERROR [STDERR] at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:169)
10:55:10,364 ERROR [STDERR] at org.pentaho.core.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.j
ava:150)
10:55:10,364 ERROR [STDERR] at org.pentaho.plugin.quartz.QuartzExecute.execute(QuartzExecute.java:169)
10:55:10,364 ERROR [STDERR] at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
10:55:10,364 ERROR [STDERR] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
10:55:10,364 ERROR [STDERR] Caused by: java.lang.NullPointerException
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.encodeHtmlText(Temp
lateExecutor.java:139)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.visitValue(Template
Executor.java:131)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.core.template.TextTemplate$ValueNode.accept(TextTemplate.java:149)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.execute(TemplateExe
cutor.java:76)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.executeTemplate(L
ocalizedContentVisitor.java:161)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processTemplateCo
ntent(LocalizedContentVisitor.java:461)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(Loca
lizedContentVisitor.java:341)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java
:52)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(Localize
dContentVisitor.java:107)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localizeAllChildr
en(LocalizedContentVisitor.java:120)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localizeAllChildr
en(LocalizedContentVisitor.java:121)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitPage(Localiz
edContentVisitor.java:129)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.content.impl.PageContent.accept(PageContent.java:98)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(Localize
dContentVisitor.java:107)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor.createP
age(LocalizedReportExecutor.java:61)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.start(HTMLPageLM.java:181)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layoutChildren(HTMLPageLM.java:
135)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:81)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLa
youtEngine.java:80)
10:55:10,364 ERROR [STDERR] at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:18
7)
10:55:10,364 ERROR [STDERR] ... 16 more
10:55:10,364 ERROR [BIRTReportComponent] 92ba3494-baf6-11dc-aa91-3dd656c92eed:COMPONENT:context-11274476-1199472910067
ataCash Stats Email.xactionBIRT.ERROR_0010 - Error running report Error happened while running the report
10:55:10,364 ERROR [RuntimeContext] 92ba3494-baf6-11dc-aa91-3dd656c92eed:RUNTIME:context-11274476-1199472910067ataCash
Stats Email.xaction RuntimeContext.ERROR_0012 - ActionDefinition for BIRTReportComponent did not execute successfully
10:55:10,379 ERROR [SolutionEngine] 92ba3494-baf6-11dc-aa91-3dd656c92eed:SOLUTION-ENGINEataCash Stats Email.xaction: S
olutionEngine.ERROR_0007 - Action sequence execution failed