Ted Yu created PHOENIX-1230:
-------------------------------

             Summary: Potential null pointer reference in 
GroupedAggregateRegionObserver#scanUnordered()
                 Key: PHOENIX-1230
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1230
             Project: Phoenix
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is related code: 
{code}
 IndexUtil.wrapResultUsingOffset(results, offset, dataColumns, tupleProjector, 
dataRegion, indexMaintainers == null ? null : indexMaintainers.get(0), 
{code}
If null is passed (as the 6th parameter to IndexUtil.wrapResultUsingOffset), it 
would get dereferenced here: 
{code}
 byte[] dataRowKey = indexMaintainer.buildDataRowKey(ptr, viewConstants); {code}



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

Reply via email to