You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2018/03/21 20:28:00 UTC

[jira] [Commented] (PHOENIX-4662) NullPointerException in TableResultIterator.java on cache resend

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

Josh Elser commented on PHOENIX-4662:
-------------------------------------

Looks pretty straightforward -- we have a constructor which can set {{caches}} to null :)

Will run some tests locally and commit.

> NullPointerException in TableResultIterator.java on cache resend
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-4662
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4662
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.12.0
>            Reporter: Csaba Skrabak
>            Assignee: Csaba Skrabak
>            Priority: Major
>             Fix For: 4.14.0, 5.0.0
>
>         Attachments: PHOENIX-4662.patch
>
>
> In the fix for PHOENIX-4010, there is a potential null dereference. Turned out when we ran a previous version of HashJoinIT with PHOENIX-4010 backported.
> The caches field is initialized to null and may be dereferenced after "Retrying when Hash Join cache is not found on the server ,by sending the cache again".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)