Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-161

NioPipeSink/SourceChannel.resumeWrites/Reads throws IllegalArgumentException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.0.Beta5
    • None
    • nio-impl
    • None

      If a resumeWrites operation is performed on the right (sink) channel of a half duplex channel pipe, the following exception is thrown:

      java.lang.IllegalArgumentException: No thread configured
      at org.xnio.nio.AbstractNioStreamSinkChannel.resumeWrites(AbstractNioStreamSinkChannel.java:92)
      at org.xnio.nio.test.AbstractNioChannelPipeTest$11.handleEvent(AbstractNioChannelPipeTest.java:441)
      ... 4 more

      The same happens if a resumeReads operation is performed on the left (source) channel of the same channel pipe.

            dlloyd@redhat.com David Lloyd
            flaviarnn Flavia Rainone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: