You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2009/09/21 19:01:16 UTC

[jira] Assigned: (THRIFT-588) Generated .equals method throws NPE for thrift object

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

Bryan Duxbury reassigned THRIFT-588:
------------------------------------

    Assignee: Bryan Duxbury

> Generated .equals method throws NPE for thrift object
> -----------------------------------------------------
>
>                 Key: THRIFT-588
>                 URL: https://issues.apache.org/jira/browse/THRIFT-588
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Java)
>            Reporter: Manish Shah
>            Assignee: Bryan Duxbury
>         Attachments: thrift-588.patch
>
>
> In the generated code for thrift objects, the .equals(Tbase other) method can throw a NullPointerException if other is null.  This happens if other is null or a field accessed in other is null.

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