[
https://issues.apache.org/jira/browse/PHOENIX-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alicia Ying Shu reassigned PHOENIX-1230:
----------------------------------------
Assignee: Alicia Ying Shu
> 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
> Assignee: Alicia Ying Shu
> 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)