Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-978

ClosedSelectorException handling in AbstractPollingIoProcessor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.7
    • Fix Version/s: 2.0.8
    • Component/s: Core
    • Labels:
      None

      Description

      If a NioProcessor catches a ClosedSelectorException while a connected Session is in processing the Processor quietly shuts down and any clean up-code cannot be run (as the exceptionCaught() function is not called).
      At least some logging in case of that exception would be nice.

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -

        I have added calls to exceptionCaught() when the ClosedSelectorException occurs.

        Show
        elecharny Emmanuel Lecharny added a comment - I have added calls to exceptionCaught() when the ClosedSelectorException occurs.
        Hide
        tins T. Schmidt added a comment -

        http://bugs.java.com/view_bug.do?bug_id=6645197 may have been the reason for the exception.

        Show
        tins T. Schmidt added a comment - http://bugs.java.com/view_bug.do?bug_id=6645197 may have been the reason for the exception.

          People

          • Assignee:
            Unassigned
            Reporter:
            tins T. Schmidt
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development