| Summary: | ReportDesignHandle.saveAs(..) throws Exception: Message 22868, Cause null | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Susana Domingos <susana.c.domingos> |
| Component: | BIRT | Assignee: | Birt-Report-inbox <Birt-Report-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | wyan |
| Version: | 2.6.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Susana Domingos
Solved. It was due my mistake all the time; the error message simply didn't point in any direction. The solution has one main-thread which spawns N children. It uses a queue to place each reposrts info and the children are the renderers. My mistake was to have the main-thread create everything down to the run-time session and pass each child a reference to that session. Since no one ever closed anything regarding the session, it grew tremendously. Only when I was checking out memory consumption did I stumble upon this. The fix was to pass a reference to the run-time engine and have each child open/close it's own session. Since then we have processed thousands of reports and this issue has never occurred again. |