Uploaded image for project: 'Apache AWF'
  1. Apache AWF
  2. AWF-16

IOLoop.start() may throw CancelledKeyException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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)?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: