Re: NoSuchElement exc from randomizedtesting onSlaveIdle ...
Don't know what caused it -- but is seems impossible from Java centric point of view: [junit4:junit4] Caused by: java.util.NoSuchElementException [junit4:junit4] at java.util.ArrayDeque.removeFirst(ArrayDeque.java:289) [junit4:junit4] at java.util.ArrayDeque.pop(ArrayDeque.java:518) [junit4:junit4] at com.carrotsearch.ant.tasks.junit4.JUnit4$1.onSlaveIdle(JUnit4.java:800) this ArrayDeque is used from a block of code that does this: if (stealingQueue.isEmpty()) { slave.finished(); } else { String suiteName = stealingQueue.pop(); slave.newSuite(suiteName); } Nothing else is removing elements from the queue. The code is (theoretically) a critical section (it's guava's eventbus) so the error above should never occur. Go figure. Dawid - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
Re: NoSuchElement exc from randomizedtesting onSlaveIdle ...
On Fri, Dec 14, 2012 at 7:17 AM, Dawid Weiss dawid.we...@cs.put.poznan.pl wrote: Don't know what caused it -- but is seems impossible from Java centric point of view: [junit4:junit4] Caused by: java.util.NoSuchElementException [junit4:junit4] at java.util.ArrayDeque.removeFirst(ArrayDeque.java:289) [junit4:junit4] at java.util.ArrayDeque.pop(ArrayDeque.java:518) [junit4:junit4] at com.carrotsearch.ant.tasks.junit4.JUnit4$1.onSlaveIdle(JUnit4.java:800) this ArrayDeque is used from a block of code that does this: if (stealingQueue.isEmpty()) { slave.finished(); } else { String suiteName = stealingQueue.pop(); slave.newSuite(suiteName); } Nothing else is removing elements from the queue. The code is (theoretically) a critical section (it's guava's eventbus) so the error above should never occur. Go figure. OK thanks Dawid. This sounds like a J9 issue! Craziness... Mike McCandless http://blog.mikemccandless.com - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
Re: NoSuchElement exc from randomizedtesting onSlaveIdle ...
OK thanks Dawid. This sounds like a J9 issue! Craziness... Unless there's a bug in Google guava... I'd have to check and maybe stress test. Dawid - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org