ava.lang.VerifyError: (class: org/springframework/ldap/support/LdapUtils, method: convertLdapException signature: (Ljavax/naming/NamingException;)Lorg/springframework/ldap/NamingException;) Wrong return type in function

Spring JIRA | Vladimir Djurovic | 9 years ago
  1. 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
  2. 0

    LDAP-98: java.lang.VerifyError in class org.springframework.ldap.support.LdapUtils

    GitHub | 9 years ago | spring-issuemaster
    ava.lang.VerifyError: (class: org/springframework/ldap/support/LdapUtils, method: convertLdapException signature: (Ljavax/naming/NamingException;)Lorg/springframework/ldap/NamingException;) Wrong return type in function
  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

      (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()
    2. spring-ldap-core
      AbstractContextSource.createContext
      1. org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:235)
      1 frame
    3. spring-security-ldap
      DefaultSpringSecurityContextSource.getReadWriteContext
      1. org.springframework.security.ldap.DefaultSpringSecurityContextSource.getReadWriteContext(DefaultSpringSecurityContextSource.java:80)
      1 frame
    4. org.springframework.security
      BindAuthenticator$BindWithSpecificDnContextSource.getReadOnlyContext
      1. org.springframework.security.providers.ldap.authenticator.BindAuthenticator$BindWithSpecificDnContextSource.getReadOnlyContext(BindAuthenticator.java:134)
      1 frame
    5. spring-ldap-core
      LdapTemplate.executeReadOnly
      1. org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:770)
      1 frame