Jetty
  1. Jetty
  2. JETTY-1296

Select set change throwing error is not cleared

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.26
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      If an Error is thrown from handling a change in the select set, then the change list is never cleared and the selector loops.

      eg

      java.lang.Error: java.net.SocketException: Socket operation on non-socket
      at sun.nio.ch.Net.localAddress(Net.java:128)
      at sun.nio.ch.SocketChannelImpl.localAddress(SocketChannelImpl.java:430)
      at sun.nio.ch.SocketAdaptor.getLocalAddress(SocketAdaptor.java:147)
      at java.net.Socket.getLocalSocketAddress(Socket.java:717)
      at org.mortbay.io.nio.ChannelEndPoint.<init>(ChannelEndPoint.java:57)
      at org.mortbay.io.nio.SelectChannelEndPoint.<init>(SelectChannelEndPoint.java:61)
      at org.mortbay.jetty.nio.SelectChannelConnector$ConnectorEndPoint.<init>(SelectChannelConnector.java:348)
      at org.mortbay.jetty.nio.SelectChannelConnector.newEndPoint(SelectChannelConnector.java:332)
      at org.mortbay.jetty.nio.SelectChannelConnector$1.newEndPoint(SelectChannelConnector.java:108)
      at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:416)

        Activity

        Jan Bartel made changes -
        Field Original Value New Value
        Assignee Greg Wilkins [ gregw ]
        Greg Wilkins made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Greg Wilkins
            Reporter:
            Greg Wilkins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: