Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348296 - XMLWriter eats IOExceptions
Summary: XMLWriter eats IOExceptions
Status: VERIFIED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.4.1   Edit
Assignee: Jianchao Li CLA
QA Contact: Wei Yan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 22:22 EDT by Scott Hamilton CLA
Modified: 2014-09-18 14:24 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Hamilton CLA 2011-06-03 22:22:31 EDT
Build Identifier: 2.6.1

org.eclipse.birt.report.engine.emitter.XMLWriter.print(String) when writing to the writer will catch IOException and completely swallow it/ignore it.

This means that if the disk is full, a connection is closed, or if there is a quota on size enforced at the IO layer... the report just keeps on going without a care.

Reproducible: Always

Steps to Reproduce:
1. Wrap an output stream with one you can thrown an IOException in the write method.
2. Give it to BIRT and generate a report.
Comment 1 Zhiqiang Qian CLA 2014-07-28 17:58:30 EDT
Mark as fixed. see commit 66bc102f4971c74e5b550b4b61d494603508ec5c.
Comment 2 Wei Yan CLA 2014-09-18 14:24:18 EDT
v, log the exception out instead of eat it silently.