commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SANDBOX-209) NullPointerException in CSVPrinter.print()/println()
Date Mon, 05 Mar 2012 23:43:57 GMT

     [ https://issues.apache.org/jira/browse/SANDBOX-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg resolved SANDBOX-209.
------------------------------------

    Resolution: Fixed

I changed CSVPrinter.print() to handle null values as empty strings. I also removed the print
method in CSVUtils that was writing the "null" string on null values.
                
> NullPointerException in CSVPrinter.print()/println()
> ----------------------------------------------------
>
>                 Key: SANDBOX-209
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-209
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: CSV
>    Affects Versions: Nightly Builds
>            Reporter: Andriy Sholokh
>             Fix For: CSV 1.0
>
>
> If
> public void print(String value) method of CSVPrinter class gets null parameter it throws
NullPointerException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message