On Fri, Dec 14, 2012 at 7:17 AM, Dawid Weiss <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
