java.lang.VerifyError: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function

Atlassian JIRA | Nick Pellow [Atlassian] | 7 years 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

    When certain grover instrumented classes are loaded, the following error occurs at runtime. Attached is the ContentRepositoryService class. Error executing script TestApp: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function java.lang.VerifyError: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredField(Class.java:1880) at _PluginDependencies_groovy$_run_closure8_closure70.doCall(_PluginDependencies_groovy:616) at _PluginDependencies_groovy$_run_closure8_closure70.doCall(_PluginDependencies_groovy) at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:287) at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy) at _PluginDependencies_groovy$_run_closure8.doCall(_PluginDependencies_groovy:596) at _GrailsBootstrap_groovy$_run_closure1.doCall(_GrailsBootstrap_groovy:69) at _GrailsBootstrap_groovy$_run_closure6.doCall(_GrailsBootstrap_groovy:136) at _GrailsTest_groovy$_run_closure9.doCall(_GrailsTest_groovy:309) at _GrailsTest_groovy$_run_closure9.doCall(_GrailsTest_groovy) at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:193) at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:171) at TestApp$_run_closure1.doCall(TestApp.groovy:102) at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:344) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:334) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.processTargets(Gant.groovy:495) at gant.Gant.processTargets(Gant.groovy:480) Error executing script TestApp: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function

    Atlassian JIRA | 7 years ago | Nick Pellow [Atlassian]
    java.lang.VerifyError: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function
  2. 0

    When certain grover instrumented classes are loaded, the following error occurs at runtime. Attached is the ContentRepositoryService class. Error executing script TestApp: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function java.lang.VerifyError: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredField(Class.java:1880) at _PluginDependencies_groovy$_run_closure8_closure70.doCall(_PluginDependencies_groovy:616) at _PluginDependencies_groovy$_run_closure8_closure70.doCall(_PluginDependencies_groovy) at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:287) at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy) at _PluginDependencies_groovy$_run_closure8.doCall(_PluginDependencies_groovy:596) at _GrailsBootstrap_groovy$_run_closure1.doCall(_GrailsBootstrap_groovy:69) at _GrailsBootstrap_groovy$_run_closure6.doCall(_GrailsBootstrap_groovy:136) at _GrailsTest_groovy$_run_closure9.doCall(_GrailsTest_groovy:309) at _GrailsTest_groovy$_run_closure9.doCall(_GrailsTest_groovy) at _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:193) at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:171) at TestApp$_run_closure1.doCall(TestApp.groovy:102) at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:344) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:334) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.processTargets(Gant.groovy:495) at gant.Gant.processTargets(Gant.groovy:480) Error executing script TestApp: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function

    Atlassian JIRA | 7 years ago | Nick Pellow [Atlassian]
    java.lang.VerifyError: (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function
  3. 0

    Can't run JUnit tests with @NotNull instrumentation enabled

    YouTrack | 7 years ago
    java.lang.VerifyError: (class: com/electriccloud/commander/EntityType, method: <init> signature: (Ljava/lang/String;ILjava/lang/Class;ZLcom/electriccloud/commander/server/ErrorCode;Lcom/electriccloud/commander/server/ErrorCode;[Ljava/lang/Class;)V) Register 4 contains wrong type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Startup crash from flimflam enchant and CodeChickenCore friendly creeper explosions

    GitHub | 2 years ago | Viper-7
    cpw.mods.fml.common.LoaderException: java.lang.VerifyError: Bad type on operand stack Exception Details: Location: net/minecraft/entity/monster/EntityCreeper.func_146077_cc()V @31: invokestatic Reason: Type 'net/minecraft/entity/monster/EntityCreeper' (current frame, stack[0]) is not assignable to 'net/minecraft/world/World' Current Frame: bci: @31 flags: { } locals: { 'net/minecraft/entity/monster/EntityCreeper', integer } stack: { 'net/minecraft/entity/monster/EntityCreeper', 'java/lang/String' } Bytecode: 0x0000000: 2ab4 013d b401 5d9a 0059 b201 69bb 016b 0x0000010: 592a b701 6cb6 0172 5703 3c2a 1301 74b8 0x0000020: 017a b401 3d2a 2ab4 0141 2ab4 0146 2ab4 0x0000030: 0149 2ab4 0012 0568 861b b601 7e57 a700 0x0000040: 1e00 0000 0000 0000 0000 0000 0000 0000 0x0000050: 0000 0000 0000 0000 0000 00bf 2ab6 0183 0x0000060: b1 Stackmap Table: full_frame(@65,{},{Object[#384]}) append_frame(@92,Object[#2],Integer) chop_frame(@96,1)
  6. 0

    Creating Proxy from Interface with Setter Method with a Primative Parameter Doesn't Work

    GitHub | 2 years ago | saden1
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: test/ProxyedInterface_Proxy_T3rJCc0Y.setPrimitive(JLjava/lang/String;)V @33: aastore Reason: Type long_2nd (current frame, stack[7]) is not assignable to 'java/lang/Object' Current Frame: bci: @33 flags: { } locals: { 'test/ProxyedInterface_Proxy_T3rJCc0Y', long, long_2nd, 'java/lang/String' } stack: { 'java/lang/reflect/InvocationHandler', 'test/ProxyedInterface_Proxy_T3rJCc0Y', 'java/lang/reflect/Method', '[Ljava/lang/Object;', '[Ljava/lang/Object;', integer, long, long_2nd } Bytecode: 0x0000000: b200 102a 1206 1222 05bd 0013 5903 b200 0x0000010: 2653 5904 1229 53b6 0019 05bd 0004 5903 0x0000020: 1f53 5904 2d53 b900 1f04 0057 b1

    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

      (class: org/weceem/services/ContentRepositoryService, method: getAncestors signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Wrong return type in function

      at java.lang.Class.getDeclaredFields0()
    2. Java RT
      Class.getDeclaredField
      1. java.lang.Class.getDeclaredFields0(Native Method)
      2. java.lang.Class.privateGetDeclaredFields(Class.java:2291)
      3. java.lang.Class.getDeclaredField(Class.java:1880)
      3 frames
    3. Unknown
      TestApp$_run_closure1.doCall
      1. _PluginDependencies_groovy$_run_closure8_closure70.doCall(_PluginDependencies_groovy:616)
      2. _PluginDependencies_groovy$_run_closure8_closure70.doCall(_PluginDependencies_groovy)
      3. _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:287)
      4. _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
      5. _PluginDependencies_groovy$_run_closure8.doCall(_PluginDependencies_groovy:596)
      6. _GrailsBootstrap_groovy$_run_closure1.doCall(_GrailsBootstrap_groovy:69)
      7. _GrailsBootstrap_groovy$_run_closure6.doCall(_GrailsBootstrap_groovy:136)
      8. _GrailsTest_groovy$_run_closure9.doCall(_GrailsTest_groovy:309)
      9. _GrailsTest_groovy$_run_closure9.doCall(_GrailsTest_groovy)
      10. _GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:193)
      11. _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:171)
      12. TestApp$_run_closure1.doCall(TestApp.groovy:102)
      12 frames
    4. gant
      Gant.processTargets
      1. gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
      2. gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
      3. gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
      4. gant.Gant.withBuildListeners(Gant.groovy:344)
      5. gant.Gant.this$2$withBuildListeners(Gant.groovy)
      6. gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
      7. gant.Gant.dispatch(Gant.groovy:334)
      8. gant.Gant.this$2$dispatch(Gant.groovy)
      9. gant.Gant.invokeMethod(Gant.groovy)
      10. gant.Gant.processTargets(Gant.groovy:495)
      11. gant.Gant.processTargets(Gant.groovy:480)
      11 frames