lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <>
Subject Re: NoSuchElement exc from randomizedtesting onSlaveIdle ...
Date Fri, 14 Dec 2012 12:17:16 GMT
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(
[junit4:junit4]         at java.util.ArrayDeque.pop(
[junit4:junit4]         at

this ArrayDeque is used from a block of code that does this:

          if (stealingQueue.isEmpty()) {
          } else {
            String suiteName = stealingQueue.pop();

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message