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 | 11 months ago
  1. 0

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

    Google Groups | 11 months 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
  2. 0

    Gradle exception for cargo plugin

    Stack Overflow | 2 years ago | Priya
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for com.bmuschko.gradle.cargo.property.PropertyDataType do not match. Expected -1 but got 2
  3. 0

    restassured 2.9.0 installed via grape (@Grab in groovy) works only with groovy 2.4.4, old restassured 1.7 works fine with many different groovy versions

    GitHub | 6 months ago | luv
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for com.jayway.restassured.internal.RequestSpecificationImpl$EncodingTarget do not match. Expected -1 but got 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error using Rest Assured RequestSpecification with testng

    Stack Overflow | 2 years ago | Praveen
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for com.jayway.restassured.internal.RequestSpecificationImpl$EncodingTarget do not match. Expected -1 but got 2
  6. 0

    Could not initialize class geb.navigator.NonEmptyNavigator

    Google Groups | 1 year ago | Kenneth Kalmer
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for groovy.lang.DelegatingMetaClass do not match. Expected -1 but got 2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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