giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Presta (JIRA)" <>
Subject [jira] [Updated] (GIRAPH-433) Vertex#initialize() shouldn't be called with null edges
Date Mon, 19 Nov 2012 18:39:58 GMT


Alessandro Presta updated GIRAPH-433:

    Attachment: GIRAPH-433.patch

Also fixing some code paths that could lead to NPE in VertexResolver. This class will need
a good redesign at some point soon (see GIRAPH-419).
> Vertex#initialize() shouldn't be called with null edges
> -------------------------------------------------------
>                 Key: GIRAPH-433
>                 URL:
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Alessandro Presta
>            Assignee: Alessandro Presta
>         Attachments: GIRAPH-433.patch
> VertexResolver calls Vertex#initialize() with edges=null, and this causes problems for
implementations that don't check for null (see HashMapVertex).
> As we have another initialize() that assumes no edges, that should be called instead.
> I'm also removing the null check in EdgeListVertex since a null should never be passed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message