Hi,
sometimes a test of mine fails with this stacktrace:
```
java.lang.NoClassDefFoundError: Could not initialize class
org.openqa.selenium.NotFoundException
at
org.openqa.selenium.support.ui.Select.findOptionsByValue(Select.java:287)
at
org.openqa.selenium.support.ui.Select.selectByValue(Select.java:190)
at
geb.navigator.DefaultNavigator.setSelectValue(DefaultNavigator.groovy:988)
at
geb.navigator.DefaultNavigator.setInputValue(DefaultNavigator.groovy:931)
at
geb.navigator.DefaultNavigator.setInputValues_closure56(DefaultNavigator.groovy:922)
at groovy.lang.Closure.call(Closure.java:412)
at
geb.navigator.DefaultNavigator.setInputValues(DefaultNavigator.groovy:921)
at geb.navigator.DefaultNavigator.value(DefaultNavigator.groovy:652)
at
geb.content.TemplateDerivedPageContent.value(TemplateDerivedPageContent.groovy:34)
at
geb.content.PageContentSupport.propertyMissing(PageContentSupport.groovy:54)
at geb.Page.propertyMissing(Page.groovy:110)
at geb.Browser.propertyMissing(Browser.groovy:239)
at geb.spock.GebSpec.propertyMissing(GebSpec.groovy:1)
at ...
```
The line in the spec is using the assignment operator, i.e. `myElement =
myValue` where `myElement` is a Geb navigator pointing to a HTML-Select
element.
Regardless of what the test does, I would like to understand how this
Exception can even happen. The class is present in my library list, it is
part of the selenium-api package, which (I assume) Geb depends on.
Thomas
--
You received this message because you are subscribed to the Google Groups "Geb
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/geb-user/ecd08d16-afcf-495e-93a3-c2a23b9b25een%40googlegroups.com.