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

Dave Brosius updated CASSANDRA-1796:
------------------------------------

    Attachment: avoid_npes.diff

> [patch] avoid npes when parsing potentially null strings->Integers
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-1796
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1796
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: ubuntu 10.10 jdk 1.6.17 ant1.8
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: avoid_npes.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> code potentially performs Integer.parseInt(null) which throws NPEs, patch 
> guards against this, and returns 0 instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to