Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9497

LargeLdapProviderTest: InvocationTargetException: LDAP connection has been closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.22.8
    • 1.42.0
    • auth-ldap
    • None

    Description

      With Mac OS 11.4 I run into the following exception when executing the test phase in Maven

      [ERROR] org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest  Time elapsed: 1.939 s  <<< ERROR!
      java.lang.reflect.InvocationTargetException
      Caused by: javax.naming.NamingException: LDAP connection has been closed
      

      I can reproduce reliably on my computer

      This happens with

      Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
      Maven home: /usr/local/Cellar/maven/3.8.1/libexec
      Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
      Default locale: en_DE, platform encoding: UTF-8
      OS name: "mac os x", version: "11.4", arch: "x86_64", family: "mac"
      

      I tried with JDK 8 (1.8.0_292) as well with the same exception.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: