commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SANDBOX-209) NullPointerException in CSVPrinter.print()/println()
Date Thu, 10 Nov 2011 01:33:51 GMT

    [ https://issues.apache.org/jira/browse/SANDBOX-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147425#comment-13147425
] 

Emmanuel Bourg commented on SANDBOX-209:
----------------------------------------

I found the null handling a bit dubious as well. Turning null values into empty strings makes
sense. A format parameter can still be introduced later to transform the empty strings into
null when parsing.
                
> 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