[
https://issues.apache.org/jira/browse/PHOENIX-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14274112#comment-14274112
]
James Taylor commented on PHOENIX-1562:
---------------------------------------
[~samarthjain] - would you mind verifying this fix for [~maryannxue]?
> NPE in ServerCacheClient
> ------------------------
>
> Key: PHOENIX-1562
> URL: https://issues.apache.org/jira/browse/PHOENIX-1562
> Project: Phoenix
> Issue Type: Bug
> Reporter: Samarth Jain
> Attachments: 1562.patch
>
>
> I keep getting intermittent NPEs when running SubqueryUsingSortMergeJoinIT.
> {code}
> java.lang.NullPointerException: null
> at
> org.apache.phoenix.cache.ServerCacheClient.removeServerCache(ServerCacheClient.java:285)
> at
> org.apache.phoenix.cache.ServerCacheClient.access$000(ServerCacheClient.java:80)
> at
> org.apache.phoenix.cache.ServerCacheClient$ServerCache.close(ServerCacheClient.java:140)
> at
> org.apache.phoenix.util.SQLCloseables.closeAllQuietly(SQLCloseables.java:53)
> at org.apache.phoenix.util.SQLCloseables.closeAll(SQLCloseables.java:43)
> at
> org.apache.phoenix.execute.BaseQueryPlan$1.close(BaseQueryPlan.java:235)
> at
> org.apache.phoenix.iterate.DelegateResultIterator.close(DelegateResultIterator.java:39)
> at
> org.apache.phoenix.execute.SortMergeJoinPlan$SemiAntiJoinIterator.close(SortMergeJoinPlan.java:419)
> at
> org.apache.phoenix.jdbc.PhoenixResultSet.close(PhoenixResultSet.java:153)
> at
> org.apache.phoenix.util.SQLCloseables.closeAllQuietly(SQLCloseables.java:53)
> at org.apache.phoenix.util.SQLCloseables.closeAll(SQLCloseables.java:43)
> at
> org.apache.phoenix.jdbc.PhoenixStatement.close(PhoenixStatement.java:964)
> at
> org.apache.phoenix.util.SQLCloseables.closeAllQuietly(SQLCloseables.java:53)
> at org.apache.phoenix.util.SQLCloseables.closeAll(SQLCloseables.java:43)
> at
> org.apache.phoenix.jdbc.PhoenixConnection.closeStatements(PhoenixConnection.java:386)
> at
> org.apache.phoenix.jdbc.PhoenixConnection.close(PhoenixConnection.java:400)
> at
> org.apache.phoenix.end2end.SubqueryUsingSortMergeJoinIT.testComparisonSubquery(SubqueryUsingSortMergeJoinIT.java:822)
> {code}
> [~maryannxue] - Do you mind taking a look? Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)