java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for geb.navigator.SearchContextBasedBasicLocator do not match. Expected -1 but got 2

Google Groups | Mohammad Ali | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    geb.navigator.SearchContextBasedBasicLocator do not match. Expected -1 but got 2

    Google Groups | 1 year ago | Mohammad Ali
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for geb.navigator.SearchContextBasedBasicLocator do not match. Expected -1 but got 2

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      the number of constructors during runtime and compile time for geb.navigator.SearchContextBasedBasicLocator do not match. Expected -1 but got 2

      at geb.navigator.SearchContextBasedBasicLocator.<init>()
    2. Geb Core
      Browser.go
      1. geb.navigator.SearchContextBasedBasicLocator.<init>(SearchContextBasedBasicLocator.groovy:37)
      2. geb.navigator.factory.BrowserBackedNavigatorFactory.<init>(BrowserBackedNavigatorFactory.groovy:35)
      3. geb.Configuration.createNavigatorFactory(Configuration.groovy:417)
      4. geb.Browser.createNavigatorFactory(Browser.groovy:131)
      5. geb.Browser.getNavigatorFactory(Browser.groovy:119)
      6. geb.Page.init(Page.groovy:131)
      7. geb.Browser.createPage(Browser.groovy:862)
      8. geb.Browser.page(Browser.groovy:239)
      9. geb.Browser.go(Browser.groovy:510)
      10. geb.Browser.go(Browser.groovy:491)
      10 frames
    3. ahpra
      AhpraTests$_testSomething_closure1.doCall
      1. ahpra.AhpraTests$_testSomething_closure1.doCall(AhpraTests.groovy:23)
      1 frame
    4. Geb Core
      Browser.drive
      1. geb.Browser.drive(Browser.groovy:1049)
      2. geb.Browser.drive(Browser.groovy:1019)
      2 frames
    5. ahpra
      AhpraTests.testSomething
      1. ahpra.AhpraTests.testSomething(AhpraTests.groovy:22)
      1 frame