You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tephra.apache.org by "Gokul Gunasekaran (JIRA)" <ji...@apache.org> on 2017/05/30 16:12:04 UTC
[jira] [Updated] (TEPHRA-221) If the invalid list is empty, we hit
an ArrayIndexOutOfBoundsException when printing an info message
[ 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)