Skip to content

Instantly share code, notes, and snippets.

@gschueler
Created October 21, 2015 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gschueler/7f14ab424294286eb677 to your computer and use it in GitHub Desktop.
Save gschueler/7f14ab424294286eb677 to your computer and use it in GitHub Desktop.
Geb grails functional test error
| Failure: edit page(domain.scheduledExecution.JobEditSpec)
| java.lang.VerifyError: Bad <init> method call from inside of a branch
Exception Details:
Location:
geb/navigator/SearchContextBasedBasicLocator.<init>(Lorg/openqa/selenium/SearchContext;Lgeb/navigator/factory/NavigatorFactory;)V @91: invokespecial
Reason:
Error exists in the bytecode
Bytecode:
0000000: b800 214e 05bd 0004 5903 04bd 0004 5903
0000010: 2b53 b800 2753 5904 2c53 5910 ff12 02b8
0000020: 002b 2a5f ab00 0000 0000 005e 0000 0002
0000030: a8a2 5e9a 0000 001c aca6 0f60 0000 003d
0000040: 5f5a 5903 3212 2db8 0031 c000 2d5f 5904
0000050: 3212 33b8 0031 c000 335f 57b7 0036 a700
0000060: 2e5f 5a59 0332 1238 b800 31c0 0038 5f59
0000070: 0432 1233 b800 31c0 0033 5f57 b700 3aa7
0000080: 000d bb00 3c59 123e b700 41bf 57b1
Stackmap Table:
full_frame(@64,{UninitializedThis,Object[#56],Object[#51],Object[#71]},{Object[#73],UninitializedThis})
full_frame(@97,{UninitializedThis,Object[#56],Object[#51],Object[#71]},{Object[#73],UninitializedThis})
full_frame(@130,{UninitializedThis,Object[#56],Object[#51],Object[#71]},{Object[#73],UninitializedThis})
full_frame(@140,{Object[#2],Object[#56],Object[#51],Object[#71]},{Object[#73]})
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
at java.lang.Class.getDeclaredConstructors(Class.java:1906)
at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
at geb.navigator.factory.BrowserBackedNavigatorFactory.<init>(BrowserBackedNavigatorFactory.groovy:35)
at geb.Configuration.createNavigatorFactory(Configuration.groovy:417)
at geb.Browser.createNavigatorFactory(Browser.groovy:131)
at geb.Browser.getNavigatorFactory(Browser.groovy:119)
at geb.Page.init(Page.groovy:131)
at geb.Browser.createPage(Browser.groovy:860)
at geb.Browser.page(Browser.groovy:239)
at geb.Browser.go(Browser.groovy:508)
at geb.Browser.go(Browser.groovy:489)
at geb.spock.GebSpec.methodMissing(GebSpec.groovy:56)
at domain.scheduledExecution.JobEditSpec.edit page(JobEditSpec.groovy:14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment