[ 
https://issues.apache.org/jira/browse/GORA-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171233#comment-15171233
 ] 

Hudson commented on GORA-462:
-----------------------------

FAILURE: Integrated in gora-trunk #1639 (See 
[https://builds.apache.org/job/gora-trunk/1639/])
GORA-462 Potential null dereference of serializer in (lewis.j.mcgibbney: rev 
3977e99b1ada20355acab444d4c60ec2186dac63)
* 
gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java


> 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
>    Affects Versions: 0.6.1
>            Reporter: Ted Yu
>            Assignee: Lewis John McGibbney
>            Priority: Minor
>             Fix For: 0.7
>
>
> 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)

Reply via email to