Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324122

Summary: NullPointerException in template.TemplateExecutor
Product: z_Archived Reporter: Russ Tennant <russ>
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: RESOLVED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, jouyang, wyan
Version: 2.5.1   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Linux   
Whiteboard: Obsolete

Description Russ Tennant CLA 2010-08-31 14:50:06 EDT
2010-08-31 16:01:32,646 ERROR [null http-98.19.85.230-8443-Monitor] impl.RunTask doRun (RunTask.java:250) - An error happened while running the report. Cause:
java.lang.NullPointerException
	at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.encodeHtmlText(TemplateExecutor.java:177)
	at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.visitValue(TemplateExecutor.java:169)
	at org.eclipse.birt.core.template.TextTemplate$ValueNode.accept(TextTemplate.java:155)
	at org.eclipse.birt.report.engine.executor.template.TemplateExecutor.execute(TemplateExecutor.java:95)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.executeTemplate(LocalizedContentVisitor.java:240)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processTemplateContent(LocalizedContentVisitor.java:732)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localizeForeign(LocalizedContentVisitor.java:547)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:161)
	at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:37)
	at org.eclipse.birt.report.engine.executor.ReportExecutorUtil.executeAll(ReportExecutorUtil.java:87)
	at org.eclipse.birt.report.engine.executor.ReportExecutorUtil.executeAll(ReportExecutorUtil.java:92)
	at org.eclipse.birt.report.engine.executor.ReportExecutorUtil.executeMasterPage(ReportExecutorUtil.java:71)
	at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.start(HTMLPageLM.java:145)
	at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:89)
	at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:99)
	at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
	at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:243)
	at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:82)
	at com.i2rd.report.birt.BirtReportGenerator._run(BirtReportGenerator.java:590)
	at com.i2rd.report.birt.BirtReportGenerator.runAndRender(BirtReportGenerator.java:462)
Comment 1 Wei Yan CLA 2010-08-31 15:00:36 EDT
Could you like attach the report design? It helps us to reproduce the issue.

thanks.
Comment 2 Russ Tennant CLA 2010-08-31 15:27:24 EDT
Unfortunately, I cannot reproduce this issue. This is from a client's log files and they do not have any more information available for me.
Comment 3 Xiaoying Gu CLA 2010-11-01 23:11:37 EDT
Set as WORKSFORME now.

If a report design for reproducing the issue can be attached, please feel free to reopen.
Comment 4 Jun Ouyang CLA 2010-11-02 22:19:42 EDT
This bug was fixed in later build.