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

Google Groups | Kenneth Kalmer | 1 year ago
  1. 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
  2. 0

    Error in JAVA 7 IncompatibleClassChangeError:

    GitHub | 1 year ago | johanhaleby
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for com.jayway.restassured.internal.RequestSpecificationImpl$PathType do not match. Expected -1 but got 2
  3. 0

    Exception in thread "main" java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for com.jayway.restassured.internal.RequestSpecificationImpl$PathType do not match. Expected -1 but got 2

    Google Groups | 3 years ago | Malini Rajamanickam
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for com.jayway.restassured.internal.RequestSpecificationImpl$PathType do not match. Expected -1 but got 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to add logback to gradle project

    Stack Overflow | 6 months ago | khris
    java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for ch.qos.logback.classic.gaffer.NestingType do not match. Expected -1 but got 2
  6. 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

    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 groovy.lang.DelegatingMetaClass do not match. Expected -1 but got 2

      at geb.navigator.AttributeAccessingMetaClass.<init>()
    2. Geb Core
      AttributeAccessingMetaClass.<init>
      1. geb.navigator.AttributeAccessingMetaClass.<init>(AttributeAccessingMetaClass.groovy:24)
      1 frame
    3. Geb AST
      AttributeAccessingMetaClassRegistrar.registerFor
      1. geb.transform.AttributeAccessingMetaClassRegistrar.registerFor(AttributeAccessingMetaClassRegistrar.groovy:22)
      1 frame
    4. Geb Core
      PageContentTemplateFactoryDelegate.$
      1. geb.navigator.NonEmptyNavigator.<clinit>(NonEmptyNavigator.groovy:42)
      2. geb.navigator.factory.DefaultInnerNavigatorFactory.createNavigator(DefaultInnerNavigatorFactory.groovy:39)
      3. geb.navigator.factory.AbstractNavigatorFactory.createFromWebElements(AbstractNavigatorFactory.groovy:43)
      4. geb.navigator.factory.BrowserBackedNavigatorFactory.createBase(BrowserBackedNavigatorFactory.groovy:33)
      5. geb.navigator.factory.BrowserBackedNavigatorFactory.getBase(BrowserBackedNavigatorFactory.groovy:39)
      6. geb.content.NavigableSupport.getBase(NavigableSupport.groovy:31)
      7. geb.content.NavigableSupport.$(NavigableSupport.groovy:111)
      8. geb.content.PageContentTemplateFactoryDelegate.$(PageContentTemplateFactoryDelegate.groovy:142)
      8 frames
    5. pages
      LoginPage$__clinit__closure2_closure3.doCall
      1. pages.LoginPage$__clinit__closure2_closure3.doCall(LoginPage.groovy:10)
      1 frame
    6. Geb Core
      Page.propertyMissing
      1. geb.content.PageContentTemplate.invokeFactory(PageContentTemplate.groovy:97)
      2. geb.content.PageContentTemplate$_create_closure1.doCall(PageContentTemplate.groovy:59)
      3. geb.content.PageContentTemplate.create(PageContentTemplate.groovy:82)
      4. geb.content.PageContentTemplate.get(PageContentTemplate.groovy:54)
      5. geb.content.PageContentSupport.getContent(PageContentSupport.groovy:43)
      6. geb.content.PageContentSupport.propertyMissing(PageContentSupport.groovy:59)
      7. geb.Page.propertyMissing(Page.groovy:77)
      7 frames
    7. pages
      LoginPage.login
      1. pages.LoginPage.login(LoginPage.groovy:18)
      1 frame
    8. Unknown
      LoginTest.testLoginFailure
      1. LoginTest.testLoginFailure(LoginTest.groovy:11)
      1 frame