This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[GJC-34] CsvWriter doesn't gracefully handle null field values
Created: Wed, 17 Jan 2007 21:24:12 -0800 (PST)  Updated: Tue, 26 Feb 2008 03:02:24 -0800 (PST)

Status:Closed
Project:Genjava
Component/s:gj-csv
Affects Version/s:csv-1.0
Fix Version/s:csv-1.1

Type:BugPriority: Major
Reporter:TrejkazAssignee: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.