Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug ---117472 Exception is thrown when run method in RunTask class is called two times in row.

Title: [birt-dev]CheckIn: Fix Bugzilla Bug ---117472 Exception is thrown when run method in RunTask class is called two times in row.

Summary 

Bugzilla Bug (s) Resolved:
117472  Exception is thrown when run method in RunTask class is called two times in row.

Description:
Why:
        In run() of RunTask, it closes the data engine. The next run() throws out the DTE closed excepiton.
Fix:
        close the data engine in close() of RunTask instead of run() method

 
Test Description:
Unit Test, add testMultpleRuns in the RunTaskTest.
 
Files Edited:
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ReportExecutor.java" "/org.eclipse.birt.report.engine/test/org/eclipse/birt/report/engine/api/RunTaskTest.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunTask.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Yan


Back to the top