Project: Birt
Bug 333860 NullPointerException in DocumentExtension using RunTask
Reported: 2011-01-10 07:27:46 | Status: closed fixed

Build Identifier: v20100915-1750 We are faced with a problem running one of our reports in our custom report viewer. Running the report using RunTask results in a NullPointerException. This error seems to be very rare but is always reproducible with the report. The root cause of the problem is DocumentExtension.add (line 117, 'latest' is null). RunAndRenderTask in contrast is working fine. Applies to Birt 2.6.1 Reproducible: Always Steps to Reproduce: 1. Run the report using RunTask

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/document/DocumentExtension.java