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
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

    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