hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18921) Result.current() throws ArrayIndexOutOfBoundsException after calling advance()
Date Fri, 06 Oct 2017 11:16:03 GMT

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

Chia-Ping Tsai commented on HBASE-18921:
----------------------------------------

{{TestResult}} extends the {{TestCase}}, hence the {{Test}} annotation is not necessary. Pardon.
I didn’t notice the inheritance.

> Result.current() throws ArrayIndexOutOfBoundsException after calling advance()
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-18921
>                 URL: https://issues.apache.org/jira/browse/HBASE-18921
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Maytee Chinavanichkit
>            Assignee: Maytee Chinavanichkit
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
>         Attachments: HBASE-18921.master.001.patch, HBASE-18921.master.002.patch, master.patch
>
>
> On a Result object, if current() method is called after advance() returns false, this
throws an ArrayIndexOutOfBoundsException. The expectation here is that it should return a
null value. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message