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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Kenneth Kalmer, 1 year ago
the number of constructors during runtime and compile time for groovy.lang.DelegatingMetaClass do not match. Expected -1 but got 2
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.(AttributeAccessingMetaClass.groovy:24)
at geb.transform.AttributeAccessingMetaClassRegistrar.registerFor(AttributeAccessingMetaClassRegistrar.groovy:22)
at geb.navigator.NonEmptyNavigator.(NonEmptyNavigator.groovy:42)
at geb.navigator.factory.DefaultInnerNavigatorFactory.createNavigator(DefaultInnerNavigatorFactory.groovy:39)
at geb.navigator.factory.AbstractNavigatorFactory.createFromWebElements(AbstractNavigatorFactory.groovy:43)
at geb.navigator.factory.BrowserBackedNavigatorFactory.createBase(BrowserBackedNavigatorFactory.groovy:33)
at geb.navigator.factory.BrowserBackedNavigatorFactory.getBase(BrowserBackedNavigatorFactory.groovy:39)
at geb.content.NavigableSupport.getBase(NavigableSupport.groovy:31)
at geb.content.NavigableSupport.$(NavigableSupport.groovy:111)
at geb.content.PageContentTemplateFactoryDelegate.$(PageContentTemplateFactoryDelegate.groovy:142)
at pages.LoginPage$__clinit__closure2_closure3.doCall(LoginPage.groovy:10)
at geb.content.PageContentTemplate.invokeFactory(PageContentTemplate.groovy:97)
at geb.content.PageContentTemplate$_create_closure1.doCall(PageContentTemplate.groovy:59)
at geb.content.PageContentTemplate.create(PageContentTemplate.groovy:82)
at geb.content.PageContentTemplate.get(PageContentTemplate.groovy:54)
at geb.content.PageContentSupport.getContent(PageContentSupport.groovy:43)
at geb.content.PageContentSupport.propertyMissing(PageContentSupport.groovy:59)
at geb.Page.propertyMissing(Page.groovy:77)
at pages.LoginPage.login(LoginPage.groovy:18)
at undefined.LoginTest.testLoginFailure(LoginTest.groovy:11)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.