Hi Josh,
This one seems weird however, and this time is not my mistake with 99%
certainty :-)
When I wrote my code like this:
while (scanner.iterator().hasNext()) { // call scanner.iterator().next()
somewhere }
The hasNext() somehow never got evaluated to true. Then I changed the code
becomes:
for (Map.Entry<Key, Value> entry : scanner) { // do something with entry var
}
It works fine. I'd think both should behave same, right?
Thanks,
Z
--
View this message in context:
http://apache-accumulo.1065345.n5.nabble.com/hasNext-throws-weird-exception-tp15586p15598.html
Sent from the Developers mailing list archive at Nabble.com.