[GJC-34] CsvWriter doesn't gracefully handle null field values | |
| Status: | Closed |
| Project: | Genjava |
| Component/s: | gj-csv |
| Affects Version/s: | csv-1.0 |
| Fix Version/s: | csv-1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Trejkaz | Assignee: | Henri Yandell |
| Resolution: | Fixed | ||
| Environment: | |||
| Description |
| If a null is written into a field of the CsvWriter, a NullPointerException is thrown. This is easy enough to work around in the caller, however I think it's something which the library could handle quietly by leaving the cell empty.
|
| Comment by trejkaz [ Wed, 17 Jan 2007 21:26:17 -0800 (PST) ] |
| Patch to fix the issue. |
| Comment by bayard [ Tue, 26 Feb 2008 03:02:24 -0800 (PST) ] |
| Fixed in r2029; also for Csv and CsvReader. |