java.lang.VerifyError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Ratpack Forum - Tests failing in IntelliJ
    via by Unknown author,
  • This error appears to not be Groovy specific as I was able to reproduce it with Groovy 2.2.1 up to 2.3.4 when JDK7u65 was in use. There's no error with JDK7u60. Stacktrace {code} java.lang.VerifyError: Bad <init> method call from inside of a branch Exception Details: Location: org/opendolphin/server/adapter/MockPrintWriter.<init>()V @126: invokespecial Reason: Error exists in the bytecode Bytecode: 0000000: b800 184c 04bd 001a 5903 121c 5359 10ff 0000010: 1204 b800 222a 5fab 0000 0138 0000 0009 0000020: 8355 379f 0000 0051 aad3 b1ff 0000 006d 0000030: d9ca eaf6 0000 0080 daf2 35d5 0000 009f 0000040: e925 fa09 0000 00b4 0a30 63a7 0000 00d1 0000050: 1030 b9ba 0000 00e6 3bdc c40d 0000 0107 0000060: 4ad1 f42c 0000 0123 5f5a 5903 3212 24b8 0000070: 0028 c000 245f 5904 32b8 002e 5f57 b700 0000080: 31a7 00d8 5f5a 5903 32b8 0037 c000 395f 0000090: 57b7 003c a700 c55f 5a59 0332 123e b800 00000a0: 28c0 003e 5f59 0432 b800 37c0 0039 5f57 00000b0: b700 41a7 00a6 5f5a 5903 3212 24b8 0028 00000c0: c000 245f 57b7 0044 a700 915f 5a59 0332 00000d0: b800 37c0 0039 5f59 0432 b800 37c0 0039 00000e0: 5f57 b700 47a7 0074 5f5a 5903 3212 49b8 00000f0: 0028 c000 495f 57b7 004c a700 5f5f 5a59 0000100: 0332 124e b800 28c0 004e 5f59 0432 123e 0000110: b800 28c0 003e 5f57 b700 51a7 003e 5f5a 0000120: 5903 3212 49b8 0028 c000 495f 5904 32b8 0000130: 002e 5f57 b700 54a7 0022 5f5a 5903 3212 0000140: 3eb8 0028 c000 3e5f 57b7 0057 a700 0dbb 0000150: 0059 5912 5bb7 005c bf57 2ab6 0060 4d2c 0000160: 2a5f b500 622c 57b1 Stackmap Table: full_frame(@104,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@132,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@151,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@182,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@203,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@232,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@253,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@286,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@314,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@335,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@345,{Object[#2],Object[#102]},{Object[#104]}) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532) at java.lang.Class.getDeclaredConstructors(Class.java:1901) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.opendolphin.server.adapter.InvalidationServletSpec.mockServlet_closure4(InvalidationServletSpec.groovy:41) at groovy.lang.Closure.call(Closure.java:423) at org.opendolphin.server.adapter.InvalidationServlet.doPost(InvalidationServlet.groovy:29) at org.opendolphin.server.adapter.InvalidationServletSpec.with 'invalidate' in the path info, the session should be invalidated(InvalidationServletSpec.groovy:18) {code} Steps to reproduce 1. clone the open-dolphin repository located at https://github.com/canoo/open-dolphin/ 2. switch to the 'update_gradle_build' branch 3. make sure you have JDK7u65 as your current JDK 4. gradlew test (subproject/server should have a failing test) Switch to JDK7u60 to see the error disappear.
    via by Andres Almiray,
  • This error appears to not be Groovy specific as I was able to reproduce it with Groovy 2.2.1 up to 2.3.4 when JDK7u65 was in use. There's no error with JDK7u60. Stacktrace {code} java.lang.VerifyError: Bad <init> method call from inside of a branch Exception Details: Location: org/opendolphin/server/adapter/MockPrintWriter.<init>()V @126: invokespecial Reason: Error exists in the bytecode Bytecode: 0000000: b800 184c 04bd 001a 5903 121c 5359 10ff 0000010: 1204 b800 222a 5fab 0000 0138 0000 0009 0000020: 8355 379f 0000 0051 aad3 b1ff 0000 006d 0000030: d9ca eaf6 0000 0080 daf2 35d5 0000 009f 0000040: e925 fa09 0000 00b4 0a30 63a7 0000 00d1 0000050: 1030 b9ba 0000 00e6 3bdc c40d 0000 0107 0000060: 4ad1 f42c 0000 0123 5f5a 5903 3212 24b8 0000070: 0028 c000 245f 5904 32b8 002e 5f57 b700 0000080: 31a7 00d8 5f5a 5903 32b8 0037 c000 395f 0000090: 57b7 003c a700 c55f 5a59 0332 123e b800 00000a0: 28c0 003e 5f59 0432 b800 37c0 0039 5f57 00000b0: b700 41a7 00a6 5f5a 5903 3212 24b8 0028 00000c0: c000 245f 57b7 0044 a700 915f 5a59 0332 00000d0: b800 37c0 0039 5f59 0432 b800 37c0 0039 00000e0: 5f57 b700 47a7 0074 5f5a 5903 3212 49b8 00000f0: 0028 c000 495f 57b7 004c a700 5f5f 5a59 0000100: 0332 124e b800 28c0 004e 5f59 0432 123e 0000110: b800 28c0 003e 5f57 b700 51a7 003e 5f5a 0000120: 5903 3212 49b8 0028 c000 495f 5904 32b8 0000130: 002e 5f57 b700 54a7 0022 5f5a 5903 3212 0000140: 3eb8 0028 c000 3e5f 57b7 0057 a700 0dbb 0000150: 0059 5912 5bb7 005c bf57 2ab6 0060 4d2c 0000160: 2a5f b500 622c 57b1 Stackmap Table: full_frame(@104,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@132,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@151,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@182,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@203,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@232,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@253,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@286,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@314,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@335,{UninitializedThis,Object[#102]},{Object[#104],UninitializedThis}) full_frame(@345,{Object[#2],Object[#102]},{Object[#104]}) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532) at java.lang.Class.getDeclaredConstructors(Class.java:1901) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.opendolphin.server.adapter.InvalidationServletSpec.mockServlet_closure4(InvalidationServletSpec.groovy:41) at groovy.lang.Closure.call(Closure.java:423) at org.opendolphin.server.adapter.InvalidationServlet.doPost(InvalidationServlet.groovy:29) at org.opendolphin.server.adapter.InvalidationServletSpec.with 'invalidate' in the path info, the session should be invalidated(InvalidationServletSpec.groovy:18) {code} Steps to reproduce 1. clone the open-dolphin repository located at https://github.com/canoo/open-dolphin/ 2. switch to the 'update_gradle_build' branch 3. make sure you have JDK7u65 as your current JDK 4. gradlew test (subproject/server should have a failing test) Switch to JDK7u60 to see the error disappear.
    via by Andres Almiray,
  • Custom types fail to parse
    via GitHub by smartrics
    ,
  • ratpack-hystrix:test hangs
    via GitHub by wmacgyver
    ,
  • Cannot run gremlin console
    via GitHub by mbroecheler
    ,
  • Issue with Java 8u20
    via GitHub by fabriziocucci
    ,
    • java.lang.VerifyError: Bad <init> method call from inside of a branch Exception Details: Location: geb
    • avigator/SearchContextBasedBasicLocator.<init>(Lorg/openqa/selenium/SearchContext;Lgeb
    • avigator/factory/NavigatorFactory;)V @91: invokespecial Reason: Error exists in the bytecode Bytecode: 0x0000000: b800 214e 05bd 0004 5903 04bd 0004 5903 0x0000010: 2b53 b800 2753 5904 2c53 5910 ff12 02b8 0x0000020: 002b 2a5f ab00 0000 0000 005e 0000 0002 0x0000030: a8a2 5e9a 0000 001c aca6 0f60 0000 003d 0x0000040: 5f5a 5903 3212 2db8 0031 c000 2d5f 5904 0x0000050: 3212 33b8 0031 c000 335f 57b7 0036 a700 0x0000060: 2e5f 5a59 0332 1238 b800 31c0 0038 5f59 0x0000070: 0432 1233 b800 31c0 0033 5f57 b700 3aa7 0x0000080: 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:2658) at java.lang.Class.getDeclaredConstructors(Class.java:2007) 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.getPage(Browser.groovy:88) at geb.Browser.propertyMissing(Browser.groovy:214) at geb.spock.GebSpec.propertyMissing(GebSpec.groovy:60)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,