cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1796) [patch] avoid npes when parsing potentially null strings->Integers
Date Wed, 01 Dec 2010 14:52:11 GMT

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

Jonathan Ellis updated CASSANDRA-1796:
--------------------------------------

             Reviewer: urandom
          Component/s: API
    Affects Version/s: 0.8
        Fix Version/s: 0.8
             Assignee: Dave Brosius

> [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
>          Components: API
>    Affects Versions: 0.8
>         Environment: ubuntu 10.10 jdk 1.6.17 ant1.8
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 0.8
>
>         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.


Mime
View raw message