Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentModificationException with RecursiveComponentFinder 'found' collection. #18

Open
GoogleCodeExporter opened this issue Mar 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

We're using Window Licker quite heavily at the moment, and found the following 
during one of our overnight tests:

java.util.ConcurrentModificationException
    at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
    at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
    at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
    at java.util.ArrayList.<init>(ArrayList.java:131)
    at com.objogate.wl.swing.probe.RecursiveComponentFinder.components(RecursiveComponentFinder.java:34)
    at com.objogate.wl.swing.probe.SingleComponentFinder.components(SingleComponentFinder.java:23)
    at com.objogate.wl.swing.probe.RecursiveComponentFinder.probe(RecursiveComponentFinder.java:41)
    at com.objogate.wl.swing.probe.SingleComponentFinder.probe(SingleComponentFinder.java:31)
    at com.objogate.wl.swing.probe.RecursiveComponentFinder.probe(RecursiveComponentFinder.java:38)
    at com.objogate.wl.swing.probe.SingleComponentFinder.probe(SingleComponentFinder.java:31)
    at com.objogate.wl.swing.probe.RecursiveComponentFinder.probe(RecursiveComponentFinder.java:38)
    at com.objogate.wl.swing.probe.SingleComponentFinder.probe(SingleComponentFinder.java:31)
    at aquila.administrator.endtoendtest.drivers.DialogueButtonPanelDriver.clickTheTestButtonIfPresent(DialogueButtonPanelDriver.java:54)
    at aquila.administrator.endtoendtest.drivers.DialogueFrameDriver.captureCurrentScreenState(DialogueFrameDriver.java:147)
    at aquila.administrator.endtoendtest.drivers.DialogueDriver.captureCurrentScreenState(DialogueDriver.java:1)
    at aquila.administrator.endtoendtest.scripts.BasicUIFunctionalRegressionTest.ppTrancheMatrixAndGrids(BasicUIFunctionalRegressionTest.java:485)
    at aquila.administrator.endtoendtest.scripts.BasicUIFunctionalRegressionTest.startBasicUIFunctionalRegressionTest(BasicUIFunctionalRegressionTest.java:85)

It's an intermittent issue, but we've hit this in a few places now, and clearly 
the potential is there. The enclosed patch solves the problem for us, so 
hopefully it can be accepted into Window Licker. We'll probably have more 
patches, and more to contribute in general, so it'd be great if we could join 
the project properly.

Original issue reported on code.google.com by [email protected] on 29 Sep 2011 at 9:27

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant