You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Dom Gibson (JIRA)" <ji...@apache.org> on 2019/04/05 12:44:00 UTC

[jira] [Comment Edited] (DIRAPI-337) ClosedSelectorException while searching through LDAP

    [ https://issues.apache.org/jira/browse/DIRAPI-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810769#comment-16810769 ] 

Dom Gibson edited comment on DIRAPI-337 at 4/5/19 12:43 PM:
------------------------------------------------------------

It's connecting to our internal windows AD controller.

This is the only output related to the error and it appears multiple times throughout the search. There's no other errors or stacktraces in the log:

2019-04-05 04:07:54.372 WARN 4984 — [NioProcessor-43] o.a.mina.util.DefaultExceptionMonitor : Unexpected exception.

java.nio.channels.ClosedSelectorException: null

at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source) ~[na:1.8.0_171]

at sun.nio.ch.SelectorImpl.select(Unknown Source) ~[na:1.8.0_171]

at org.apache.mina.transport.socket.nio.NioProcessor.select(NioProcessor.java:98) ~[mina-core-2.0.16.jar!/:na]

at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1075) ~[mina-core-2.0.16.jar!/:na]

at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.16.jar!/:na]

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_171]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_171]

at java.lang.Thread.run(Unknown Source) [na:1.8.0_171]


was (Author: dom.gibson):
It's connecting to our internal windows AD controller.

This is the only output related to the error. There's no other errors or stacktraces in the log:


2019-04-05 04:07:54.372 WARN 4984 --- [NioProcessor-43] o.a.mina.util.DefaultExceptionMonitor : Unexpected exception.

java.nio.channels.ClosedSelectorException: null

at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source) ~[na:1.8.0_171]

at sun.nio.ch.SelectorImpl.select(Unknown Source) ~[na:1.8.0_171]

at org.apache.mina.transport.socket.nio.NioProcessor.select(NioProcessor.java:98) ~[mina-core-2.0.16.jar!/:na]

at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1075) ~[mina-core-2.0.16.jar!/:na]

at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.16.jar!/:na]

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_171]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_171]

at java.lang.Thread.run(Unknown Source) [na:1.8.0_171]

> ClosedSelectorException while searching through LDAP
> ----------------------------------------------------
>
>                 Key: DIRAPI-337
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-337
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Dom Gibson
>            Priority: Major
>
> Getting the below stack trace several times randomly while searching through LDAP.
>  
> java.nio.channels.ClosedSelectorException: null
> at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source) ~[na:1.8.0_171]
> at sun.nio.ch.SelectorImpl.select(Unknown Source) ~[na:1.8.0_171]
> at org.apache.mina.transport.socket.nio.NioProcessor.select(NioProcessor.java:98) ~[mina-core-2.0.16.jar!/:na]
> at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1075) ~[mina-core-2.0.16.jar!/:na]
> at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.16.jar!/:na]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_171]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_171]
> at java.lang.Thread.run(Unknown Source) [na:1.8.0_171]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)