Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-972

Whenever I try opening a new ldap connection on Apache Directory Studio, I am getting error: The connection failed - Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M8 (2.0.0.v20130628)
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 7 - 64 bit, Using Java 6

      Description

      Whenever I try connecting to any of our ldap server's on Apache directory studio, I cannot connect, and get below error:
      The connection failed

      • Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null

      Complete error is as below:

      The connection failed

      • Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
        org.apache.mina.core.RuntimeIoException: Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
        at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:200)
        at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:125)
        at org.apache.mina.core.polling.AbstractPollingIoConnector.<init>(AbstractPollingIoConnector.java:114)
        at org.apache.mina.transport.socket.nio.NioSocketConnector.<init>(NioSocketConnector.java:66)
        at org.apache.directory.ldap.client.api.LdapNetworkConnection.connect(LdapNetworkConnection.java:504)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$1.run(DirectoryApiConnectionWrapper.java:228)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1175)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doConnect(DirectoryApiConnectionWrapper.java:257)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.connect(DirectoryApiConnectionWrapper.java:168)
        at org.apache.directory.studio.connection.core.jobs.CheckNetworkParameterRunnable.run(CheckNetworkParameterRunnable.java:80)
        at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:122)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
        Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:182)
        ... 11 more
        Caused by: org.apache.mina.core.RuntimeIoException: The connection failed
      • Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
        org.apache.mina.core.RuntimeIoException: Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
        at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:200)
        at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:125)
        at org.apache.mina.core.polling.AbstractPollingIoConnector.<init>(AbstractPollingIoConnector.java:114)
        at org.apache.mina.transport.socket.nio.NioSocketConnector.<init>(NioSocketConnector.java:66)
        at org.apache.directory.ldap.client.api.LdapNetworkConnection.connect(LdapNetworkConnection.java:504)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$1.run(DirectoryApiConnectionWrapper.java:228)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1175)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doConnect(DirectoryApiConnectionWrapper.java:257)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.connect(DirectoryApiConnectionWrapper.java:168)
        at org.apache.directory.studio.connection.core.jobs.CheckNetworkParameterRunnable.run(CheckNetworkParameterRunnable.java:80)
        at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:122)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
        Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:182)
        ... 11 more
        Caused by: org.apache.mina.core.RuntimeIoException: Failed to open a selector.
        at org.apache.mina.transport.socket.nio.NioProcessor.<init>(NioProcessor.java:61)
        ... 16 more
        Caused by: java.io.IOException: Unable to establish loopback connection
        at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.nio.ch.PipeImpl.<init>(Unknown Source)
        at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
        at java.nio.channels.Pipe.open(Unknown Source)
        at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
        at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
        at java.nio.channels.Selector.open(Unknown Source)
        at org.apache.mina.transport.socket.nio.NioProcessor.<init>(NioProcessor.java:59)
        ... 16 more
        Caused by: java.net.SocketException: Unrecognized Windows Sockets error: 87: socket
        at sun.nio.ch.Net.socket0(Native Method)
        at sun.nio.ch.Net.serverSocket(Unknown Source)
        at sun.nio.ch.ServerSocketChannelImpl.<init>(Unknown Source)
        at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(Unknown Source)
        at java.nio.channels.ServerSocketChannel.open(Unknown Source)
        ... 25 more

      Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null

      at org.apache.mina.transport.socket.nio.NioProcessor.<init>(NioProcessor.java:61)
      ... 16 more
      Caused by: java.io.IOException: Unable to establish loopback connection
      at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.nio.ch.PipeImpl.<init>(Unknown Source)
      at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
      at java.nio.channels.Pipe.open(Unknown Source)
      at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
      at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
      at java.nio.channels.Selector.open(Unknown Source)
      at org.apache.mina.transport.socket.nio.NioProcessor.<init>(NioProcessor.java:59)
      ... 16 more
      Caused by: java.net.SocketException: Unrecognized Windows Sockets error: 87: socket
      at sun.nio.ch.Net.socket0(Native Method)
      at sun.nio.ch.Net.serverSocket(Unknown Source)
      at sun.nio.ch.ServerSocketChannelImpl.<init>(Unknown Source)
      at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(Unknown Source)
      at java.nio.channels.ServerSocketChannel.open(Unknown Source)
      ... 25 more

      Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null

      I cannot connect to any of my ldap servers, and it is a blocker.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aryaneha1 Neha Arya
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: