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

IOLoop.start() may throw CancelledKeyException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 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

            jmeehan Johnathan Meehan
            niklas Niklas Therning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: