You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/01/15 18:08:39 UTC

[jira] [Created] (GORA-462) Potential null dereference of serializer in CassandraSubColumn#getFieldValue()

Ted Yu created GORA-462:
---------------------------

             Summary: Potential null dereference of serializer in CassandraSubColumn#getFieldValue()
                 Key: GORA-462
                 URL: https://issues.apache.org/jira/browse/GORA-462
             Project: Apache Gora
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is related code:
{code}
      ListSerializer<?> serializer = ListSerializer.get(fieldSchema.getElementType());
      List<?> genericArray = serializer.fromByteBuffer(byteBuffer);
{code}
Null check should be performed on serializer to prevent potential NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)