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: 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]})

Google Groups | Dang Viet Ha | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error exists in the bytecode when running test on ChromeDriver/MacOSX

    Google Groups | 11 months ago | Dang Viet Ha
    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: 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]})
  2. 0

    Ratpack Forum - Tests failing in IntelliJ

    ratpack.io | 2 years ago
    java.lang.VerifyError: Bad <init> method call from inside of a branch Exception Details:   Location:     ratpack/examples/book/fixture/ExampleBooksApplicationUnderTest.<init>()V @33: invokespecial   Reason:     Error exists in the bytecode   Bytecode:     0x0000000: b800 164c b800 1c9a 0006 a700 1d2a 2b12     0x0000010: 1d32 1202 b900 2302 0012 25b8 002b c000     0x0000020: 25b7 002e a700 0a2a b800 32b7 002e 2ab6     0x0000030: 0036 4d2c 2a5f b500 382c 57b1             Stackmap Table:     append_frame(@13,Object[#60])     same_frame(@39)     full_frame(@46,{Object[#2],Object[#60]},{})
  3. 0

    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.

    Apache's JIRA Issue Tracker | 3 years ago | Andres Almiray
    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]})
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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.

    Apache's JIRA Issue Tracker | 3 years ago | Andres Almiray
    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]})
  6. 0

    Custom types fail to parse

    GitHub | 2 years ago | smartrics
    com.google.common.util.concurrent.ExecutionError: java.lang.VerifyError: Bad <init> method call from inside of a branch Exception Details: Location: com/github/tonybaines/gestalt/ConfigurationException.<init>([Ljava/lang/String;)V @99: invokespecial Reason: Error exists in the bytecode Bytecode: 0000000: b800 164d 04bd 0029 5903 2c12 6f32 2b12 0000010: 71b9 0075 0300 5359 10ff 1204 b800 4a2a 0000020: 5fab 0000 0000 00b0 0000 0005 8794 83a0 0000030: 0000 0033 aad3 b1ff 0000 0048 c783 a456 0000040: 0000 005b f0c1 c756 0000 0088 0000 9b75 0000050: 0000 00a7 5f5a 5903 3212 4cb8 0050 c000 0000060: 4c5f 57b7 0053 a700 755f 5a59 0332 b800 0000070: 3fc0 0032 5f57 b700 56a7 0062 5f5a 5903 0000080: 32b8 003f c000 325f 5904 3212 4cb8 0050 0000090: c000 4c5f 5905 32b8 005c 5f59 0632 b800 00000a0: 5c5f 57b7 005f a700 355f 5a59 0332 b800 00000b0: 3fc0 0032 5f59 0432 124c b800 50c0 004c 00000c0: 5f57 b700 18a7 0016 5f5a 57b7 0062 a700 00000d0: 0dbb 0064 5912 66b7 0067 bf57 2ab6 001c 00000e0: 4e2d 2a5f b500 1e2d 57b1 Stackmap Table: full_frame(@84,{UninitializedThis,Object[#120],Object[#107]},{Object[#109],UninitializedThis}) full_frame(@105,{UninitializedThis,Object[#120],Object[#107]},{Object[#109],UninitializedThis}) full_frame(@124,{UninitializedThis,Object[#120],Object[#107]},{Object[#109],UninitializedThis}) full_frame(@169,{UninitializedThis,Object[#120],Object[#107]},{Object[#109],UninitializedThis}) full_frame(@200,{UninitializedThis,Object[#120],Object[#107]},{Object[#109],UninitializedThis}) full_frame(@209,{UninitializedThis,Object[#120],Object[#107]},{Object[#109],UninitializedThis}) full_frame(@219,{Object[#2],Object[#120],Object[#107]},{Object[#109]})

    5 unregistered visitors
    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.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: 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()
    2. Java RT
      Class.getDeclaredConstructors
      1. java.lang.Class.privateGetDeclaredConstructors(Class.java:2658)
      2. java.lang.Class.getDeclaredConstructors(Class.java:2007)
      2 frames
    3. Groovy
      LazyReference.get
      1. org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
      2. org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
      2 frames
    4. Geb Core
      Browser.propertyMissing
      1. geb.navigator.factory.BrowserBackedNavigatorFactory.<init>(BrowserBackedNavigatorFactory.groovy:35)
      2. geb.Configuration.createNavigatorFactory(Configuration.groovy:417)
      3. geb.Browser.createNavigatorFactory(Browser.groovy:131)
      4. geb.Browser.getNavigatorFactory(Browser.groovy:119)
      5. geb.Page.init(Page.groovy:131)
      6. geb.Browser.createPage(Browser.groovy:860)
      7. geb.Browser.getPage(Browser.groovy:88)
      8. geb.Browser.propertyMissing(Browser.groovy:214)
      8 frames
    5. Geb for Spock
      GebSpec.propertyMissing
      1. geb.spock.GebSpec.propertyMissing(GebSpec.groovy:60)
      1 frame