Apache AWF
  1. Apache AWF
  2. AWF-16

IOLoop.start() may throw CancelledKeyException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      Exception in thread "I/O-LOOP" java.nio.channels.CancelledKeyException
      at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
      at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69)
      at java.nio.channels.SelectionKey.isAcceptable(SelectionKey.java:342)
      at org.deftserver.io.IOLoop.start(IOLoop.java:77)

      Would it be a reasonable solution to change the catch clause from catch(IOException e) to catch(Exception e)?

        Activity

          People

          • Assignee:
            Johnathan Meehan
            Reporter:
            Niklas Gustavsson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development