tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gokul Gunasekaran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TEPHRA-221) If the invalid list is empty, we hit an ArrayIndexOutOfBoundsException when printing an info message
Date Tue, 30 May 2017 16:12:04 GMT

     [ https://issues.apache.org/jira/browse/TEPHRA-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gokul Gunasekaran updated TEPHRA-221:
-------------------------------------
    Fix Version/s:     (was: 0.12.0-incubating)
                   0.13.0-incubating

> If the invalid list is empty, we hit an ArrayIndexOutOfBoundsException when printing
an info message
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TEPHRA-221
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-221
>             Project: Tephra
>          Issue Type: Bug
>    Affects Versions: 0.11.0-incubating
>            Reporter: Gokul Gunasekaran
>            Assignee: Poorna Chandra
>             Fix For: 0.13.0-incubating
>
>
> I see the following stack trace when the tx invalid list is empty.
> {code}
> 2017-02-17 01:11:55,412 - ERROR [tephra-pruning-thread:o.a.t.t.TransactionPruningRunnable@121]
- Got exception during invalid list prune run
> java.lang.ArrayIndexOutOfBoundsException: 0
>         at org.apache.tephra.txprune.TransactionPruningRunnable.run(TransactionPruningRunnable.java:96)
~[org.apache.tephra.tephra-core-0.11.0-incubating-SNAPSHOT.jar:0.11.0-incubating-SNAPSHOT]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_75]
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_75]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
[na:1.7.0_75]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[na:1.7.0_75]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_75]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_75]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message