ava.lang.VerifyError: Expecting a stackmap frame at branch target 7 Exception Details: Location: com/codepine/api/testrail/model/Project.____isAssignableFrom0(Ljava/lang/Class;)Z @0: ldc Reason: Expected stackmap frame at this location. Bytecode: 0000000: 12bc 2ab6 00c1 ac12 c4ac Exception Handler Table: bci [0, 7] => handler: 7

Jenkins JIRA | Alex Java | 1 year ago
  1. 0

    I have the following settings in my build.gradle file: // Jenkins 1.580+ still uses Java 7, not Java 8. sourceCompatibility = 1.7 targetCompatibility = 1.7 then I run "gradle jpi" on this plugin note: the default Java available to Gradle during the build was Java 8. then I upload the plugin to a Jenkins server that is running on Java 7. I suspect the plugin build ignored "targetCompatibility" because the plugin execution failed in Jenkins: {quote} ava.lang.VerifyError: Expecting a stackmap frame at branch target 7 Exception Details: Location: com/codepine/api/testrail/model/Project.____isAssignableFrom0(Ljava/lang/Class;)Z @0: ldc Reason: Expected stackmap frame at this location. Bytecode: 0000000: 12bc 2ab6 00c1 ac12 c4ac Exception Handler Table: bci [0, 7] => handler: 7 at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2499) at java.lang.Class.getDeclaredFields(Class.java:1811) at com.fasterxml.jackson.databind.introspect.AnnotatedClass._findFields(AnnotatedClass.java:683) at com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveFields(AnnotatedClass.java:470) at com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:282) at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:380) at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collect(POJOPropertiesCollector.java:233) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:142) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:81) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:11) at com.fasterxml.jackson.databind.DeserializationConfig.introspect(DeserializationConfig.java:547) at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:325) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:263) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:243) at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:144) at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:366) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:150) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:23) at com.fasterxml.jackson.databind.DeserializationContext.handleSecondaryContextualization(DeserializationContext.java:572) at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:386) at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3095) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2989) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2151) at com.codepine.api.testrail.Request.execute(Request.java:164) at org.jenkinsci.plugin.trp.TestRailClient.getProjectId(TestRailClient.java:104) at org.jenkinsci.plugin.trp.BuildRunListener.processBuildCompletedNotification(BuildRunListener.java:59) at org.jenkinsci.plugin.trp.BuildRunListener.onCompleted(BuildRunListener.java:39) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:201) at hudson.model.Run.execute(Run.java:1786) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) {quote}

    Jenkins JIRA | 1 year ago | Alex Java
    ava.lang.VerifyError: Expecting a stackmap frame at branch target 7 Exception Details: Location: com/codepine/api/testrail/model/Project.____isAssignableFrom0(Ljava/lang/Class;)Z @0: ldc Reason: Expected stackmap frame at this location. Bytecode: 0000000: 12bc 2ab6 00c1 ac12 c4ac Exception Handler Table: bci [0, 7] => handler: 7
  2. 0

    I have the following settings in my build.gradle file: // Jenkins 1.580+ still uses Java 7, not Java 8. sourceCompatibility = 1.7 targetCompatibility = 1.7 then I run "gradle jpi" on this plugin note: the default Java available to Gradle during the build was Java 8. then I upload the plugin to a Jenkins server that is running on Java 7. I suspect the plugin build ignored "targetCompatibility" because the plugin execution failed in Jenkins: {quote} ava.lang.VerifyError: Expecting a stackmap frame at branch target 7 Exception Details: Location: com/codepine/api/testrail/model/Project.____isAssignableFrom0(Ljava/lang/Class;)Z @0: ldc Reason: Expected stackmap frame at this location. Bytecode: 0000000: 12bc 2ab6 00c1 ac12 c4ac Exception Handler Table: bci [0, 7] => handler: 7 at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2499) at java.lang.Class.getDeclaredFields(Class.java:1811) at com.fasterxml.jackson.databind.introspect.AnnotatedClass._findFields(AnnotatedClass.java:683) at com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveFields(AnnotatedClass.java:470) at com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:282) at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:380) at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collect(POJOPropertiesCollector.java:233) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:142) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:81) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:11) at com.fasterxml.jackson.databind.DeserializationConfig.introspect(DeserializationConfig.java:547) at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:325) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:263) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:243) at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:144) at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:366) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:150) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:23) at com.fasterxml.jackson.databind.DeserializationContext.handleSecondaryContextualization(DeserializationContext.java:572) at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:386) at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3095) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2989) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2151) at com.codepine.api.testrail.Request.execute(Request.java:164) at org.jenkinsci.plugin.trp.TestRailClient.getProjectId(TestRailClient.java:104) at org.jenkinsci.plugin.trp.BuildRunListener.processBuildCompletedNotification(BuildRunListener.java:59) at org.jenkinsci.plugin.trp.BuildRunListener.onCompleted(BuildRunListener.java:39) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:201) at hudson.model.Run.execute(Run.java:1786) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) {quote}

    Jenkins JIRA | 1 year ago | Alex Java
    ava.lang.VerifyError: Expecting a stackmap frame at branch target 7 Exception Details: Location: com/codepine/api/testrail/model/Project.____isAssignableFrom0(Ljava/lang/Class;)Z @0: ldc Reason: Expected stackmap frame at this location. Bytecode: 0000000: 12bc 2ab6 00c1 ac12 c4ac Exception Handler Table: bci [0, 7] => handler: 7
  3. 0

    When trying to use Spring LDAP 1.2.1 with new Acegi namespace-based configuration, I get the following error: ava.lang.VerifyError: (class: org/springframework/ldap/support/LdapUtils, method: convertLdapException signature: (Ljavax/naming/NamingException;)Lorg/springframework/ldap/NamingException;) Wrong return type in function at org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:235) at org.springframework.security.ldap.DefaultSpringSecurityContextSource.getReadWriteContext(DefaultSpringSecurityContextSource.java:80) at org.springframework.security.providers.ldap.authenticator.BindAuthenticator$BindWithSpecificDnContextSource.getReadOnlyContext(BindAuthenticator.java:134) at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:770) and so on. Looking at sources, I can find the following possible reason: class org.springframework.ldap.core.support.AbstractContextSource imports javax.naming.NamingException, while class org.springframework.ldap.support.LdapUtils imports org.springframework.ldap.NamingException. Now, in AbstractContextSource, method createContext() catches javax.naming.NamingException and rethrows it (line 235). But instead, method LdapUtils.convertLdapException(0 returns org.springframework.ldap.supportNamingException, thus leading to verification error. Can somebody please verify this?

    Spring JIRA | 9 years ago | Vladimir Djurovic
    ava.lang.VerifyError: (class: org/springframework/ldap/support/LdapUtils, method: convertLdapException signature: (Ljavax/naming/NamingException;)Lorg/springframework/ldap/NamingException;) Wrong return type in function
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Olap4j 1.0 execute MDX SQL Server 2008 error

    olap4j | 5 years ago | karnet
    ava.lang.VerifyError: (class: org/olap4j/driver/xmla/XmlaOlap4jCube$RawMetadataReader, method: lookupMemberByUniqueName signature: (Ljava/lang/String;)Lorg/olap4j/driver/xmla/XmlaOlap4jMember;) Incompatible argument to function
  6. 0

    GitHub comment 5#208409097

    GitHub | 8 months ago | vahidhedayati
    ava.lang.VerifyError: (class: grails/plugin/remotessh/RsshService, method: executeCommand signature: (Lch/ethz/ssh2/Session;Lch/ethz/ssh2/Connection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;) Expecting to find integer on stack

    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. ava.lang.VerifyError

      Expecting a stackmap frame at branch target 7 Exception Details: Location: com/codepine/api/testrail/model/Project.____isAssignableFrom0(Ljava/lang/Class;)Z @0: ldc Reason: Expected stackmap frame at this location. Bytecode: 0000000: 12bc 2ab6 00c1 ac12 c4ac Exception Handler Table: bci [0, 7] => handler: 7

      at java.lang.Class.getDeclaredFields0()
    2. Java RT
      Class.getDeclaredFields
      1. java.lang.Class.getDeclaredFields0(Native Method)
      2. java.lang.Class.privateGetDeclaredFields(Class.java:2499)
      3. java.lang.Class.getDeclaredFields(Class.java:1811)
      3 frames
    3. Jackson
      ObjectMapper.readValue
      1. com.fasterxml.jackson.databind.introspect.AnnotatedClass._findFields(AnnotatedClass.java:683)
      2. com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveFields(AnnotatedClass.java:470)
      3. com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:282)
      4. com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:380)
      5. com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collect(POJOPropertiesCollector.java:233)
      6. com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:142)
      7. com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:81)
      8. com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:11)
      9. com.fasterxml.jackson.databind.DeserializationConfig.introspect(DeserializationConfig.java:547)
      10. com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:325)
      11. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:263)
      12. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:243)
      13. com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:144)
      14. com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:366)
      15. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:150)
      16. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:23)
      17. com.fasterxml.jackson.databind.DeserializationContext.handleSecondaryContextualization(DeserializationContext.java:572)
      18. com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:386)
      19. com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3095)
      20. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2989)
      21. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2151)
      21 frames
    4. com.codepine.api
      Request.execute
      1. com.codepine.api.testrail.Request.execute(Request.java:164)
      1 frame
    5. org.jenkinsci.plugin
      BuildRunListener.onCompleted
      1. org.jenkinsci.plugin.trp.TestRailClient.getProjectId(TestRailClient.java:104)
      2. org.jenkinsci.plugin.trp.BuildRunListener.processBuildCompletedNotification(BuildRunListener.java:59)
      3. org.jenkinsci.plugin.trp.BuildRunListener.onCompleted(BuildRunListener.java:39)
      3 frames
    6. Hudson
      Run.execute
      1. hudson.model.listeners.RunListener.fireCompleted(RunListener.java:201)
      2. hudson.model.Run.execute(Run.java:1786)
      2 frames
    7. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:381)
      2 frames