Johan Ovlinger writes: > It's been a long time since I looked at the code, but I suspect that > what is happening is that Ed is forgetting to call elements() to get > an Enumeration to use with nextElement() and hasMoreElements(). This > error can happen if the Enumeration is implemented by the same class > as the List. Arguably this shouldn't be the case, but I seem to > recall that is how it is. Yes... and it's all Johan's fault! :) > Inner classes would be the way to go, but > until then. make sure to call elements() to get the enumeration. Yep. Just pretend like the nextElement and hasMoreElements methods don't exist on the repetition classes, because you're not supposed to call them. But they have to be public in order to implement the Enumeration interface.