Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2237

Application opens but can't 'Open Connection' - IllegalArgumentException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0.AM26
    • Component/s: None
    • Labels:
      None

      Description

      On ubuntu bionic I get :

       

      Error while opening connection
       - java.lang.IllegalArgumentException
      org.apache.directory.api.ldap.model.exception.LdapException: java.lang.IllegalArgumentException
          at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1723)
          at org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1614)
          at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:447)
          at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1269)
          at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:460)
          at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:306)
          at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:114)
          at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:109)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: java.lang.IllegalArgumentException
          at java.base/javax.security.auth.login.AppConfigurationEntry.<init>(AppConfigurationEntry.java:84)
          at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$InnerConfiguration.getAppConfigurationEntry(DirectoryApiConnectionWrapper.java:1316)
          at java.base/javax.security.auth.login.LoginContext.init(LoginContext.java:248)
          at java.base/javax.security.auth.login.LoginContext.<init>(LoginContext.java:412)
          at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1707)
          ... 8 more

      java.lang.IllegalArgumentException

       

      Version: 2.0.0.v20170904-M13

      $ java --version
      openjdk 10.0.1 2018-04-17
      OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
      OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)

       

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arthurlogilab Arthur Lutz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: