Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-462

Potential null dereference of serializer in CassandraSubColumn#getFieldValue()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6.1
    • 0.7
    • None
    • None

    Description

      Here is related code:

            ListSerializer<?> serializer = ListSerializer.get(fieldSchema.getElementType());
            List<?> genericArray = serializer.fromByteBuffer(byteBuffer);
      

      Null check should be performed on serializer to prevent potential NPE.

      Attachments

        Activity

          People

            lewismc Lewis John McGibbney
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: